/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace imagebuilder { namespace Model { /** */ class UpdateInfrastructureConfigurationRequest : public ImagebuilderRequest { public: AWS_IMAGEBUILDER_API UpdateInfrastructureConfigurationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateInfrastructureConfiguration"; } AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline const Aws::String& GetInfrastructureConfigurationArn() const{ return m_infrastructureConfigurationArn; } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline bool InfrastructureConfigurationArnHasBeenSet() const { return m_infrastructureConfigurationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline void SetInfrastructureConfigurationArn(const Aws::String& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = value; } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline void SetInfrastructureConfigurationArn(Aws::String&& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline void SetInfrastructureConfigurationArn(const char* value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline UpdateInfrastructureConfigurationRequest& WithInfrastructureConfigurationArn(const Aws::String& value) { SetInfrastructureConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline UpdateInfrastructureConfigurationRequest& WithInfrastructureConfigurationArn(Aws::String&& value) { SetInfrastructureConfigurationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that you * want to update.

*/ inline UpdateInfrastructureConfigurationRequest& WithInfrastructureConfigurationArn(const char* value) { SetInfrastructureConfigurationArn(value); return *this;} /** *

The description of the infrastructure configuration.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the infrastructure configuration.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the infrastructure configuration.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the infrastructure configuration.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the infrastructure configuration.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the infrastructure configuration.

*/ inline UpdateInfrastructureConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the infrastructure configuration.

*/ inline UpdateInfrastructureConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the infrastructure configuration.

*/ inline UpdateInfrastructureConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline const Aws::Vector& GetInstanceTypes() const{ return m_instanceTypes; } /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; } /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline void SetInstanceTypes(const Aws::Vector& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes = value; } /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline void SetInstanceTypes(Aws::Vector&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes = std::move(value); } /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline UpdateInfrastructureConfigurationRequest& WithInstanceTypes(const Aws::Vector& value) { SetInstanceTypes(value); return *this;} /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline UpdateInfrastructureConfigurationRequest& WithInstanceTypes(Aws::Vector&& value) { SetInstanceTypes(std::move(value)); return *this;} /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline UpdateInfrastructureConfigurationRequest& AddInstanceTypes(const Aws::String& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline UpdateInfrastructureConfigurationRequest& AddInstanceTypes(Aws::String&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(std::move(value)); return *this; } /** *

The instance types of the infrastructure configuration. You can specify one * or more instance types to use for this build. The service will pick one of these * instance types based on availability.

*/ inline UpdateInfrastructureConfigurationRequest& AddInstanceTypes(const char* value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline const Aws::String& GetInstanceProfileName() const{ return m_instanceProfileName; } /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline bool InstanceProfileNameHasBeenSet() const { return m_instanceProfileNameHasBeenSet; } /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline void SetInstanceProfileName(const Aws::String& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = value; } /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline void SetInstanceProfileName(Aws::String&& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = std::move(value); } /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline void SetInstanceProfileName(const char* value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName.assign(value); } /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& WithInstanceProfileName(const Aws::String& value) { SetInstanceProfileName(value); return *this;} /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& WithInstanceProfileName(Aws::String&& value) { SetInstanceProfileName(std::move(value)); return *this;} /** *

The instance profile to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& WithInstanceProfileName(const char* value) { SetInstanceProfileName(value); return *this;} /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *

The security group IDs to associate with the instance used to customize your * Amazon EC2 AMI.

*/ inline UpdateInfrastructureConfigurationRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline UpdateInfrastructureConfigurationRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline UpdateInfrastructureConfigurationRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *

The subnet ID to place the instance used to customize your Amazon EC2 AMI * in.

*/ inline UpdateInfrastructureConfigurationRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} /** *

The logging configuration of the infrastructure configuration.

*/ inline const Logging& GetLogging() const{ return m_logging; } /** *

The logging configuration of the infrastructure configuration.

*/ inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; } /** *

The logging configuration of the infrastructure configuration.

*/ inline void SetLogging(const Logging& value) { m_loggingHasBeenSet = true; m_logging = value; } /** *

The logging configuration of the infrastructure configuration.

*/ inline void SetLogging(Logging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); } /** *

The logging configuration of the infrastructure configuration.

*/ inline UpdateInfrastructureConfigurationRequest& WithLogging(const Logging& value) { SetLogging(value); return *this;} /** *

The logging configuration of the infrastructure configuration.

*/ inline UpdateInfrastructureConfigurationRequest& WithLogging(Logging&& value) { SetLogging(std::move(value)); return *this;} /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline const Aws::String& GetKeyPair() const{ return m_keyPair; } /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline bool KeyPairHasBeenSet() const { return m_keyPairHasBeenSet; } /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline void SetKeyPair(const Aws::String& value) { m_keyPairHasBeenSet = true; m_keyPair = value; } /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline void SetKeyPair(Aws::String&& value) { m_keyPairHasBeenSet = true; m_keyPair = std::move(value); } /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline void SetKeyPair(const char* value) { m_keyPairHasBeenSet = true; m_keyPair.assign(value); } /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline UpdateInfrastructureConfigurationRequest& WithKeyPair(const Aws::String& value) { SetKeyPair(value); return *this;} /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline UpdateInfrastructureConfigurationRequest& WithKeyPair(Aws::String&& value) { SetKeyPair(std::move(value)); return *this;} /** *

The key pair of the infrastructure configuration. You can use this to log on * to and debug the instance used to create your image.

*/ inline UpdateInfrastructureConfigurationRequest& WithKeyPair(const char* value) { SetKeyPair(value); return *this;} /** *

The terminate instance on failure setting of the infrastructure * configuration. Set to false if you want Image Builder to retain the instance * used to configure your AMI if the build or test phase of your workflow * fails.

*/ inline bool GetTerminateInstanceOnFailure() const{ return m_terminateInstanceOnFailure; } /** *

The terminate instance on failure setting of the infrastructure * configuration. Set to false if you want Image Builder to retain the instance * used to configure your AMI if the build or test phase of your workflow * fails.

*/ inline bool TerminateInstanceOnFailureHasBeenSet() const { return m_terminateInstanceOnFailureHasBeenSet; } /** *

The terminate instance on failure setting of the infrastructure * configuration. Set to false if you want Image Builder to retain the instance * used to configure your AMI if the build or test phase of your workflow * fails.

*/ inline void SetTerminateInstanceOnFailure(bool value) { m_terminateInstanceOnFailureHasBeenSet = true; m_terminateInstanceOnFailure = value; } /** *

The terminate instance on failure setting of the infrastructure * configuration. Set to false if you want Image Builder to retain the instance * used to configure your AMI if the build or test phase of your workflow * fails.

*/ inline UpdateInfrastructureConfigurationRequest& WithTerminateInstanceOnFailure(bool value) { SetTerminateInstanceOnFailure(value); return *this;} /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; } /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; } /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline UpdateInfrastructureConfigurationRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline UpdateInfrastructureConfigurationRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the SNS topic to which we send image build * event notifications.

EC2 Image Builder is unable to send * notifications to SNS topics that are encrypted using keys from other accounts. * The key that is used to encrypt the SNS topic must reside in the account that * the Image Builder service runs under.

*/ inline UpdateInfrastructureConfigurationRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;} /** *

The idempotency token used to make this request idempotent.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The idempotency token used to make this request idempotent.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

The idempotency token used to make this request idempotent.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

The idempotency token used to make this request idempotent.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

The idempotency token used to make this request idempotent.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

The idempotency token used to make this request idempotent.

*/ inline UpdateInfrastructureConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The idempotency token used to make this request idempotent.

*/ inline UpdateInfrastructureConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The idempotency token used to make this request idempotent.

*/ inline UpdateInfrastructureConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The tags attached to the resource created by Image Builder.

*/ inline const Aws::Map& GetResourceTags() const{ return m_resourceTags; } /** *

The tags attached to the resource created by Image Builder.

*/ inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; } /** *

The tags attached to the resource created by Image Builder.

*/ inline void SetResourceTags(const Aws::Map& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; } /** *

The tags attached to the resource created by Image Builder.

*/ inline void SetResourceTags(Aws::Map&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); } /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& WithResourceTags(const Aws::Map& value) { SetResourceTags(value); return *this;} /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& WithResourceTags(Aws::Map&& value) { SetResourceTags(std::move(value)); return *this;} /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& AddResourceTags(const Aws::String& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; } /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& AddResourceTags(Aws::String&& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; } /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& AddResourceTags(const Aws::String& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; } /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& AddResourceTags(Aws::String&& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& AddResourceTags(const char* key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; } /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& AddResourceTags(Aws::String&& key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; } /** *

The tags attached to the resource created by Image Builder.

*/ inline UpdateInfrastructureConfigurationRequest& AddResourceTags(const char* key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; } /** *

The instance metadata options that you can set for the HTTP requests that * pipeline builds use to launch EC2 build and test instances. For more information * about instance metadata options, see one of the following links:

*/ inline const InstanceMetadataOptions& GetInstanceMetadataOptions() const{ return m_instanceMetadataOptions; } /** *

The instance metadata options that you can set for the HTTP requests that * pipeline builds use to launch EC2 build and test instances. For more information * about instance metadata options, see one of the following links:

*/ inline bool InstanceMetadataOptionsHasBeenSet() const { return m_instanceMetadataOptionsHasBeenSet; } /** *

The instance metadata options that you can set for the HTTP requests that * pipeline builds use to launch EC2 build and test instances. For more information * about instance metadata options, see one of the following links:

*/ inline void SetInstanceMetadataOptions(const InstanceMetadataOptions& value) { m_instanceMetadataOptionsHasBeenSet = true; m_instanceMetadataOptions = value; } /** *

The instance metadata options that you can set for the HTTP requests that * pipeline builds use to launch EC2 build and test instances. For more information * about instance metadata options, see one of the following links:

*/ inline void SetInstanceMetadataOptions(InstanceMetadataOptions&& value) { m_instanceMetadataOptionsHasBeenSet = true; m_instanceMetadataOptions = std::move(value); } /** *

The instance metadata options that you can set for the HTTP requests that * pipeline builds use to launch EC2 build and test instances. For more information * about instance metadata options, see one of the following links:

*/ inline UpdateInfrastructureConfigurationRequest& WithInstanceMetadataOptions(const InstanceMetadataOptions& value) { SetInstanceMetadataOptions(value); return *this;} /** *

The instance metadata options that you can set for the HTTP requests that * pipeline builds use to launch EC2 build and test instances. For more information * about instance metadata options, see one of the following links:

*/ inline UpdateInfrastructureConfigurationRequest& WithInstanceMetadataOptions(InstanceMetadataOptions&& value) { SetInstanceMetadataOptions(std::move(value)); return *this;} private: Aws::String m_infrastructureConfigurationArn; bool m_infrastructureConfigurationArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_instanceTypes; bool m_instanceTypesHasBeenSet = false; Aws::String m_instanceProfileName; bool m_instanceProfileNameHasBeenSet = false; Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; Aws::String m_subnetId; bool m_subnetIdHasBeenSet = false; Logging m_logging; bool m_loggingHasBeenSet = false; Aws::String m_keyPair; bool m_keyPairHasBeenSet = false; bool m_terminateInstanceOnFailure; bool m_terminateInstanceOnFailureHasBeenSet = false; Aws::String m_snsTopicArn; bool m_snsTopicArnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Map m_resourceTags; bool m_resourceTagsHasBeenSet = false; InstanceMetadataOptions m_instanceMetadataOptions; bool m_instanceMetadataOptionsHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws