From 2fcf454a9893fd40cfe3de5aa929521ed7f1b370 Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation Associates the specified app block builder with the specified app
+ * block.See Also:
AWS
+ * API Reference
Associates the specified application with the specified fleet. This is only * supported for Elastic fleets.
Creates a URL to start a create app block builder streaming + * session.
Creates an application.
Applications are an Amazon AppStream 2.0 * resource that stores the details about how to launch applications on Elastic @@ -609,6 +686,32 @@ namespace AppStream return SubmitAsync(&AppStreamClient::DeleteAppBlock, request, handler, context); } + /** + *
Deletes an app block builder.
An app block builder can only be deleted + * when it has no association with an app block.
Deletes an application.
Retrieves a list that describes one or more app block builder + * associations.
Retrieves a list that describes one or more app block builders.
Retrieves a list that describes one or more app blocks.
Disassociates the specified application from the fleet.
An app block builder can only be started + * when it's associated with an app block.
Starting an app block builder + * starts a new instance, which is equivalent to an elastic fleet instance with + * application builder assistance functionality.
Starts the specified fleet.
Stops an app block builder.
Stopping an app block builder terminates + * the instance, and the instance state is not persisted.
Stops the specified fleet.
Updates an app block builder.
If the app block builder is in the
+ * STARTING
or STOPPING
state, you can't update it. If
+ * the app block builder is in the RUNNING
state, you can only update
+ * the DisplayName and Description. If the app block builder is in the
+ * STOPPED
state, you can update any attribute except the
+ * Name.
Updates the specified application.
The setup script details of the app block.
+ *The setup script details of the app block.
This only applies to app
+ * blocks with PackagingType CUSTOM
.
The setup script details of the app block.
+ *The setup script details of the app block.
This only applies to app
+ * blocks with PackagingType CUSTOM
.
The setup script details of the app block.
+ *The setup script details of the app block.
This only applies to app
+ * blocks with PackagingType CUSTOM
.
The setup script details of the app block.
+ *The setup script details of the app block.
This only applies to app
+ * blocks with PackagingType CUSTOM
.
The setup script details of the app block.
+ *The setup script details of the app block.
This only applies to app
+ * blocks with PackagingType CUSTOM
.
The setup script details of the app block.
+ *The setup script details of the app block.
This only applies to app
+ * blocks with PackagingType CUSTOM
.
The post setup script details of the app block.
This only applies to
+ * app blocks with PackagingType APPSTREAM2
.
The post setup script details of the app block.
This only applies to
+ * app blocks with PackagingType APPSTREAM2
.
The post setup script details of the app block.
This only applies to
+ * app blocks with PackagingType APPSTREAM2
.
The post setup script details of the app block.
This only applies to
+ * app blocks with PackagingType APPSTREAM2
.
The post setup script details of the app block.
This only applies to
+ * app blocks with PackagingType APPSTREAM2
.
The post setup script details of the app block.
This only applies to
+ * app blocks with PackagingType APPSTREAM2
.
The packaging type of the app block.
+ */ + inline const PackagingType& GetPackagingType() const{ return m_packagingType; } + + /** + *The packaging type of the app block.
+ */ + inline bool PackagingTypeHasBeenSet() const { return m_packagingTypeHasBeenSet; } + + /** + *The packaging type of the app block.
+ */ + inline void SetPackagingType(const PackagingType& value) { m_packagingTypeHasBeenSet = true; m_packagingType = value; } + + /** + *The packaging type of the app block.
+ */ + inline void SetPackagingType(PackagingType&& value) { m_packagingTypeHasBeenSet = true; m_packagingType = std::move(value); } + + /** + *The packaging type of the app block.
+ */ + inline AppBlock& WithPackagingType(const PackagingType& value) { SetPackagingType(value); return *this;} + + /** + *The packaging type of the app block.
+ */ + inline AppBlock& WithPackagingType(PackagingType&& value) { SetPackagingType(std::move(value)); return *this;} + + + /** + *The state of the app block.
An app block with AppStream 2.0 packaging
+ * will be in the INACTIVE
state if no application package (VHD) is
+ * assigned to it. After an application package (VHD) is created by an app block
+ * builder for an app block, it becomes ACTIVE
.
Custom app
+ * blocks are always in the ACTIVE
state and no action is required to
+ * use them.
The state of the app block.
An app block with AppStream 2.0 packaging
+ * will be in the INACTIVE
state if no application package (VHD) is
+ * assigned to it. After an application package (VHD) is created by an app block
+ * builder for an app block, it becomes ACTIVE
.
Custom app
+ * blocks are always in the ACTIVE
state and no action is required to
+ * use them.
The state of the app block.
An app block with AppStream 2.0 packaging
+ * will be in the INACTIVE
state if no application package (VHD) is
+ * assigned to it. After an application package (VHD) is created by an app block
+ * builder for an app block, it becomes ACTIVE
.
Custom app
+ * blocks are always in the ACTIVE
state and no action is required to
+ * use them.
The state of the app block.
An app block with AppStream 2.0 packaging
+ * will be in the INACTIVE
state if no application package (VHD) is
+ * assigned to it. After an application package (VHD) is created by an app block
+ * builder for an app block, it becomes ACTIVE
.
Custom app
+ * blocks are always in the ACTIVE
state and no action is required to
+ * use them.
The state of the app block.
An app block with AppStream 2.0 packaging
+ * will be in the INACTIVE
state if no application package (VHD) is
+ * assigned to it. After an application package (VHD) is created by an app block
+ * builder for an app block, it becomes ACTIVE
.
Custom app
+ * blocks are always in the ACTIVE
state and no action is required to
+ * use them.
The state of the app block.
An app block with AppStream 2.0 packaging
+ * will be in the INACTIVE
state if no application package (VHD) is
+ * assigned to it. After an application package (VHD) is created by an app block
+ * builder for an app block, it becomes ACTIVE
.
Custom app
+ * blocks are always in the ACTIVE
state and no action is required to
+ * use them.
The errors of the app block.
+ */ + inline const Aws::VectorThe errors of the app block.
+ */ + inline bool AppBlockErrorsHasBeenSet() const { return m_appBlockErrorsHasBeenSet; } + + /** + *The errors of the app block.
+ */ + inline void SetAppBlockErrors(const Aws::VectorThe errors of the app block.
+ */ + inline void SetAppBlockErrors(Aws::VectorThe errors of the app block.
+ */ + inline AppBlock& WithAppBlockErrors(const Aws::VectorThe errors of the app block.
+ */ + inline AppBlock& WithAppBlockErrors(Aws::VectorThe errors of the app block.
+ */ + inline AppBlock& AddAppBlockErrors(const ErrorDetails& value) { m_appBlockErrorsHasBeenSet = true; m_appBlockErrors.push_back(value); return *this; } + + /** + *The errors of the app block.
+ */ + inline AppBlock& AddAppBlockErrors(ErrorDetails&& value) { m_appBlockErrorsHasBeenSet = true; m_appBlockErrors.push_back(std::move(value)); return *this; } + private: Aws::String m_name; @@ -324,6 +504,18 @@ namespace Model Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; + + ScriptDetails m_postSetupScriptDetails; + bool m_postSetupScriptDetailsHasBeenSet = false; + + PackagingType m_packagingType; + bool m_packagingTypeHasBeenSet = false; + + AppBlockState m_state; + bool m_stateHasBeenSet = false; + + Aws::VectorDescribes an app block builder.
The ARN of the app block builder.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + + /** + *The ARN of the app block builder.
+ */ + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + + /** + *The ARN of the app block builder.
+ */ + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + + /** + *The ARN of the app block builder.
+ */ + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + + /** + *The ARN of the app block builder.
+ */ + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + + /** + *The ARN of the app block builder.
+ */ + inline AppBlockBuilder& WithArn(const Aws::String& value) { SetArn(value); return *this;} + + /** + *The ARN of the app block builder.
+ */ + inline AppBlockBuilder& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + + /** + *The ARN of the app block builder.
+ */ + inline AppBlockBuilder& WithArn(const char* value) { SetArn(value); return *this;} + + + /** + *The name of the app block builder.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of the app block builder.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *The name of the app block builder.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *The name of the app block builder.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *The name of the app block builder.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *The name of the app block builder.
+ */ + inline AppBlockBuilder& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of the app block builder.
+ */ + inline AppBlockBuilder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of the app block builder.
+ */ + inline AppBlockBuilder& WithName(const char* value) { SetName(value); return *this;} + + + /** + *The display name of the app block builder.
+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *The display name of the app block builder.
+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *The display name of the app block builder.
+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *The display name of the app block builder.
+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *The display name of the app block builder.
+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *The display name of the app block builder.
+ */ + inline AppBlockBuilder& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *The display name of the app block builder.
+ */ + inline AppBlockBuilder& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *The display name of the app block builder.
+ */ + inline AppBlockBuilder& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *The description of the app block builder.
+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *The description of the app block builder.
+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *The description of the app block builder.
+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *The description of the app block builder.
+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *The description of the app block builder.
+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *The description of the app block builder.
+ */ + inline AppBlockBuilder& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *The description of the app block builder.
+ */ + inline AppBlockBuilder& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *The description of the app block builder.
+ */ + inline AppBlockBuilder& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *The platform of the app block builder.
+ * WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
+ * WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
+ * WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
+ * WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
+ * WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
+ * WINDOWS_SERVER_2019
is the only valid value.
The instance type of the app block builder.
+ */ + inline const Aws::String& GetInstanceType() const{ return m_instanceType; } + + /** + *The instance type of the app block builder.
+ */ + inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } + + /** + *The instance type of the app block builder.
+ */ + inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } + + /** + *The instance type of the app block builder.
+ */ + inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } + + /** + *The instance type of the app block builder.
+ */ + inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } + + /** + *The instance type of the app block builder.
+ */ + inline AppBlockBuilder& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} + + /** + *The instance type of the app block builder.
+ */ + inline AppBlockBuilder& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} + + /** + *The instance type of the app block builder.
+ */ + inline AppBlockBuilder& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} + + + /** + *Indicates whether default internet access is enabled for the app block + * builder.
+ */ + inline bool GetEnableDefaultInternetAccess() const{ return m_enableDefaultInternetAccess; } + + /** + *Indicates whether default internet access is enabled for the app block + * builder.
+ */ + inline bool EnableDefaultInternetAccessHasBeenSet() const { return m_enableDefaultInternetAccessHasBeenSet; } + + /** + *Indicates whether default internet access is enabled for the app block + * builder.
+ */ + inline void SetEnableDefaultInternetAccess(bool value) { m_enableDefaultInternetAccessHasBeenSet = true; m_enableDefaultInternetAccess = value; } + + /** + *Indicates whether default internet access is enabled for the app block + * builder.
+ */ + inline AppBlockBuilder& WithEnableDefaultInternetAccess(bool value) { SetEnableDefaultInternetAccess(value); return *this;} + + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline AppBlockBuilder& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline AppBlockBuilder& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} + + /** + *The ARN of the IAM role that is applied to the app block builder.
+ */ + inline AppBlockBuilder& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} + + + /** + *The VPC configuration for the app block builder.
+ */ + inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } + + /** + *The VPC configuration for the app block builder.
+ */ + inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } + + /** + *The VPC configuration for the app block builder.
+ */ + inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } + + /** + *The VPC configuration for the app block builder.
+ */ + inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } + + /** + *The VPC configuration for the app block builder.
+ */ + inline AppBlockBuilder& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} + + /** + *The VPC configuration for the app block builder.
+ */ + inline AppBlockBuilder& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} + + + /** + *The state of the app block builder.
+ */ + inline const AppBlockBuilderState& GetState() const{ return m_state; } + + /** + *The state of the app block builder.
+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *The state of the app block builder.
+ */ + inline void SetState(const AppBlockBuilderState& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *The state of the app block builder.
+ */ + inline void SetState(AppBlockBuilderState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *The state of the app block builder.
+ */ + inline AppBlockBuilder& WithState(const AppBlockBuilderState& value) { SetState(value); return *this;} + + /** + *The state of the app block builder.
+ */ + inline AppBlockBuilder& WithState(AppBlockBuilderState&& value) { SetState(std::move(value)); return *this;} + + + /** + *The creation time of the app block builder.
+ */ + inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } + + /** + *The creation time of the app block builder.
+ */ + inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } + + /** + *The creation time of the app block builder.
+ */ + inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } + + /** + *The creation time of the app block builder.
+ */ + inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } + + /** + *The creation time of the app block builder.
+ */ + inline AppBlockBuilder& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} + + /** + *The creation time of the app block builder.
+ */ + inline AppBlockBuilder& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} + + + /** + *The app block builder errors.
+ */ + inline const Aws::VectorThe app block builder errors.
+ */ + inline bool AppBlockBuilderErrorsHasBeenSet() const { return m_appBlockBuilderErrorsHasBeenSet; } + + /** + *The app block builder errors.
+ */ + inline void SetAppBlockBuilderErrors(const Aws::VectorThe app block builder errors.
+ */ + inline void SetAppBlockBuilderErrors(Aws::Vector