7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/imagebuilder/model/Logging.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/imagebuilder/model/InstanceMetadataOptions.h>
14#include <aws/imagebuilder/model/Placement.h>
16#include <aws/core/utils/UUID.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateInfrastructureConfiguration"; }
64 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
96 inline void SetInstanceProfileName(
const char* value) { m_instanceProfileNameHasBeenSet =
true; m_instanceProfileName.assign(value); }
127 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
140 inline void SetLogging(
Logging&& value) { m_loggingHasBeenSet =
true; m_logging = std::move(value); }
154 inline void SetKeyPair(
const char* value) { m_keyPairHasBeenSet =
true; m_keyPair.assign(value); }
185 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
255 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
263 bool m_infrastructureConfigurationArnHasBeenSet =
false;
266 bool m_descriptionHasBeenSet =
false;
269 bool m_instanceTypesHasBeenSet =
false;
272 bool m_instanceProfileNameHasBeenSet =
false;
275 bool m_securityGroupIdsHasBeenSet =
false;
278 bool m_subnetIdHasBeenSet =
false;
281 bool m_loggingHasBeenSet =
false;
284 bool m_keyPairHasBeenSet =
false;
286 bool m_terminateInstanceOnFailure;
287 bool m_terminateInstanceOnFailureHasBeenSet =
false;
290 bool m_snsTopicArnHasBeenSet =
false;
293 bool m_resourceTagsHasBeenSet =
false;
296 bool m_instanceMetadataOptionsHasBeenSet =
false;
299 bool m_placementHasBeenSet =
false;
302 bool m_clientTokenHasBeenSet =
false;
void SetClientToken(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithInfrastructureConfigurationArn(const char *value)
bool InstanceProfileNameHasBeenSet() const
bool InstanceTypesHasBeenSet() const
UpdateInfrastructureConfigurationRequest & WithSnsTopicArn(Aws::String &&value)
void SetSubnetId(const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateInfrastructureConfigurationRequest & WithLogging(Logging &&value)
const Aws::String & GetClientToken() const
bool PlacementHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
UpdateInfrastructureConfigurationRequest & AddSecurityGroupIds(const Aws::String &value)
bool SubnetIdHasBeenSet() const
bool GetTerminateInstanceOnFailure() const
UpdateInfrastructureConfigurationRequest & WithSubnetId(const char *value)
void SetInfrastructureConfigurationArn(const char *value)
UpdateInfrastructureConfigurationRequest & AddResourceTags(Aws::String &&key, const char *value)
void SetKeyPair(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithDescription(const Aws::String &value)
void SetSnsTopicArn(const char *value)
bool LoggingHasBeenSet() const
UpdateInfrastructureConfigurationRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetDescription(Aws::String &&value)
const InstanceMetadataOptions & GetInstanceMetadataOptions() const
UpdateInfrastructureConfigurationRequest & WithSubnetId(const Aws::String &value)
bool KeyPairHasBeenSet() const
const Aws::String & GetDescription() const
void SetInstanceMetadataOptions(const InstanceMetadataOptions &value)
void SetInstanceProfileName(const Aws::String &value)
bool SnsTopicArnHasBeenSet() const
bool InstanceMetadataOptionsHasBeenSet() const
UpdateInfrastructureConfigurationRequest & WithInstanceProfileName(const char *value)
bool InfrastructureConfigurationArnHasBeenSet() const
UpdateInfrastructureConfigurationRequest & WithDescription(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & AddResourceTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
UpdateInfrastructureConfigurationRequest & AddInstanceTypes(const Aws::String &value)
UpdateInfrastructureConfigurationRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
UpdateInfrastructureConfigurationRequest & WithResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API UpdateInfrastructureConfigurationRequest()
const Aws::Vector< Aws::String > & GetInstanceTypes() const
void SetInstanceProfileName(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithInstanceMetadataOptions(const InstanceMetadataOptions &value)
void SetPlacement(const Placement &value)
bool TerminateInstanceOnFailureHasBeenSet() const
void SetInfrastructureConfigurationArn(const Aws::String &value)
const Logging & GetLogging() const
UpdateInfrastructureConfigurationRequest & WithClientToken(const Aws::String &value)
void SetKeyPair(const Aws::String &value)
UpdateInfrastructureConfigurationRequest & WithInstanceTypes(const Aws::Vector< Aws::String > &value)
UpdateInfrastructureConfigurationRequest & AddInstanceTypes(const char *value)
UpdateInfrastructureConfigurationRequest & AddResourceTags(const char *key, Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithPlacement(const Placement &value)
UpdateInfrastructureConfigurationRequest & WithKeyPair(const char *value)
void SetSubnetId(const char *value)
const Aws::String & GetSubnetId() const
void SetLogging(const Logging &value)
UpdateInfrastructureConfigurationRequest & AddResourceTags(Aws::String &&key, Aws::String &&value)
void SetKeyPair(const char *value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
UpdateInfrastructureConfigurationRequest & WithInstanceMetadataOptions(InstanceMetadataOptions &&value)
UpdateInfrastructureConfigurationRequest & AddResourceTags(const char *key, const char *value)
bool ResourceTagsHasBeenSet() const
void SetSnsTopicArn(const Aws::String &value)
UpdateInfrastructureConfigurationRequest & WithResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateInfrastructureConfigurationRequest & AddSecurityGroupIds(const char *value)
UpdateInfrastructureConfigurationRequest & WithSubnetId(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithClientToken(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithLogging(const Logging &value)
void SetSubnetId(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & AddResourceTags(const Aws::String &key, const Aws::String &value)
void SetInstanceTypes(Aws::Vector< Aws::String > &&value)
void SetInstanceProfileName(const char *value)
void SetInstanceMetadataOptions(InstanceMetadataOptions &&value)
UpdateInfrastructureConfigurationRequest & AddInstanceTypes(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithPlacement(Placement &&value)
void SetLogging(Logging &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateInfrastructureConfigurationRequest & AddResourceTags(const Aws::String &key, Aws::String &&value)
UpdateInfrastructureConfigurationRequest & WithInfrastructureConfigurationArn(const Aws::String &value)
UpdateInfrastructureConfigurationRequest & WithKeyPair(Aws::String &&value)
void SetSnsTopicArn(Aws::String &&value)
const Aws::String & GetInstanceProfileName() const
UpdateInfrastructureConfigurationRequest & WithInstanceProfileName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateInfrastructureConfigurationRequest & WithDescription(const char *value)
void SetDescription(const char *value)
bool ClientTokenHasBeenSet() const
bool DescriptionHasBeenSet() const
UpdateInfrastructureConfigurationRequest & WithSnsTopicArn(const Aws::String &value)
UpdateInfrastructureConfigurationRequest & WithKeyPair(const Aws::String &value)
UpdateInfrastructureConfigurationRequest & WithInstanceTypes(Aws::Vector< Aws::String > &&value)
void SetInstanceTypes(const Aws::Vector< Aws::String > &value)
const Aws::String & GetKeyPair() const
UpdateInfrastructureConfigurationRequest & WithInfrastructureConfigurationArn(Aws::String &&value)
UpdateInfrastructureConfigurationRequest & AddSecurityGroupIds(Aws::String &&value)
void SetTerminateInstanceOnFailure(bool value)
void SetDescription(const Aws::String &value)
bool SecurityGroupIdsHasBeenSet() const
void SetPlacement(Placement &&value)
UpdateInfrastructureConfigurationRequest & WithTerminateInstanceOnFailure(bool value)
const Aws::String & GetInfrastructureConfigurationArn() const
const Aws::String & GetSnsTopicArn() const
UpdateInfrastructureConfigurationRequest & WithSnsTopicArn(const char *value)
UpdateInfrastructureConfigurationRequest & WithClientToken(const char *value)
void SetInfrastructureConfigurationArn(Aws::String &&value)
void SetResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateInfrastructureConfigurationRequest & WithInstanceProfileName(const Aws::String &value)
void SetClientToken(const char *value)
const Placement & GetPlacement() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector