7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/model/Logging.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/imagebuilder/model/InstanceMetadataOptions.h>
13#include <aws/imagebuilder/model/Placement.h>
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
110 inline void SetInstanceProfileName(
const char* value) { m_instanceProfileNameHasBeenSet =
true; m_instanceProfileName.assign(value); }
139 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
152 inline void SetLogging(
Logging&& value) { m_loggingHasBeenSet =
true; m_logging = std::move(value); }
165 inline void SetKeyPair(
const char* value) { m_keyPairHasBeenSet =
true; m_keyPair.assign(value); }
194 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
208 inline void SetDateCreated(
const char* value) { m_dateCreatedHasBeenSet =
true; m_dateCreated.assign(value); }
222 inline void SetDateUpdated(
const char* value) { m_dateUpdatedHasBeenSet =
true; m_dateUpdated.assign(value); }
294 bool m_arnHasBeenSet =
false;
297 bool m_nameHasBeenSet =
false;
300 bool m_descriptionHasBeenSet =
false;
303 bool m_instanceTypesHasBeenSet =
false;
306 bool m_instanceProfileNameHasBeenSet =
false;
309 bool m_securityGroupIdsHasBeenSet =
false;
312 bool m_subnetIdHasBeenSet =
false;
315 bool m_loggingHasBeenSet =
false;
318 bool m_keyPairHasBeenSet =
false;
320 bool m_terminateInstanceOnFailure;
321 bool m_terminateInstanceOnFailureHasBeenSet =
false;
324 bool m_snsTopicArnHasBeenSet =
false;
327 bool m_dateCreatedHasBeenSet =
false;
330 bool m_dateUpdatedHasBeenSet =
false;
333 bool m_resourceTagsHasBeenSet =
false;
336 bool m_instanceMetadataOptionsHasBeenSet =
false;
339 bool m_tagsHasBeenSet =
false;
342 bool m_placementHasBeenSet =
false;
InfrastructureConfiguration & WithSnsTopicArn(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
InfrastructureConfiguration & WithLogging(const Logging &value)
void SetInstanceTypes(const Aws::Vector< Aws::String > &value)
bool NameHasBeenSet() const
bool InstanceMetadataOptionsHasBeenSet() const
InfrastructureConfiguration & WithKeyPair(const char *value)
const Aws::String & GetName() const
InfrastructureConfiguration & WithLogging(Logging &&value)
InfrastructureConfiguration & AddInstanceTypes(const char *value)
const Aws::String & GetInstanceProfileName() const
InfrastructureConfiguration & WithSubnetId(Aws::String &&value)
InfrastructureConfiguration & WithSnsTopicArn(const Aws::String &value)
bool DescriptionHasBeenSet() const
InfrastructureConfiguration & WithDescription(const char *value)
AWS_IMAGEBUILDER_API InfrastructureConfiguration()
InfrastructureConfiguration & AddTags(Aws::String &&key, const char *value)
InfrastructureConfiguration & WithPlacement(const Placement &value)
InfrastructureConfiguration & WithTerminateInstanceOnFailure(bool value)
void SetInstanceProfileName(const Aws::String &value)
const InstanceMetadataOptions & GetInstanceMetadataOptions() const
InfrastructureConfiguration & WithName(Aws::String &&value)
void SetDateUpdated(const Aws::String &value)
InfrastructureConfiguration & WithPlacement(Placement &&value)
bool SnsTopicArnHasBeenSet() const
InfrastructureConfiguration & WithInstanceProfileName(const char *value)
InfrastructureConfiguration & WithDateUpdated(const Aws::String &value)
InfrastructureConfiguration & WithArn(const char *value)
InfrastructureConfiguration & WithInstanceTypes(const Aws::Vector< Aws::String > &value)
const Aws::String & GetArn() const
void SetName(const char *value)
InfrastructureConfiguration & WithResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetKeyPair(Aws::String &&value)
InfrastructureConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
InfrastructureConfiguration & WithSubnetId(const char *value)
const Logging & GetLogging() const
void SetResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLogging(const Logging &value)
InfrastructureConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
InfrastructureConfiguration & WithInstanceProfileName(Aws::String &&value)
bool DateCreatedHasBeenSet() const
InfrastructureConfiguration & WithInstanceMetadataOptions(const InstanceMetadataOptions &value)
InfrastructureConfiguration & WithDateUpdated(Aws::String &&value)
bool InstanceProfileNameHasBeenSet() const
bool TerminateInstanceOnFailureHasBeenSet() const
InfrastructureConfiguration & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
void SetInstanceMetadataOptions(const InstanceMetadataOptions &value)
void SetDescription(const char *value)
void SetSnsTopicArn(Aws::String &&value)
void SetResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
InfrastructureConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDateCreated(const char *value)
InfrastructureConfiguration & AddInstanceTypes(const Aws::String &value)
bool DateUpdatedHasBeenSet() const
void SetInstanceTypes(Aws::Vector< Aws::String > &&value)
const Placement & GetPlacement() const
void SetDescription(Aws::String &&value)
InfrastructureConfiguration & WithDescription(const Aws::String &value)
void SetDateUpdated(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetSnsTopicArn() const
InfrastructureConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetInstanceProfileName(const char *value)
void SetDateCreated(const Aws::String &value)
InfrastructureConfiguration & WithKeyPair(const Aws::String &value)
void SetName(Aws::String &&value)
void SetTerminateInstanceOnFailure(bool value)
bool TagsHasBeenSet() const
void SetSubnetId(Aws::String &&value)
void SetInstanceProfileName(Aws::String &&value)
InfrastructureConfiguration & WithDateCreated(const char *value)
void SetArn(const char *value)
void SetLogging(Logging &&value)
void SetDateCreated(Aws::String &&value)
void SetInstanceMetadataOptions(InstanceMetadataOptions &&value)
const Aws::String & GetKeyPair() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API InfrastructureConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InfrastructureConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
InfrastructureConfiguration & WithResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
InfrastructureConfiguration & AddResourceTags(const char *key, const char *value)
InfrastructureConfiguration & WithKeyPair(Aws::String &&value)
void SetSubnetId(const char *value)
bool LoggingHasBeenSet() const
InfrastructureConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetDescription() const
bool ResourceTagsHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
InfrastructureConfiguration & WithInstanceMetadataOptions(InstanceMetadataOptions &&value)
InfrastructureConfiguration & WithName(const char *value)
InfrastructureConfiguration & AddResourceTags(const Aws::String &key, Aws::String &&value)
InfrastructureConfiguration & AddTags(const char *key, Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
InfrastructureConfiguration & AddTags(const char *key, const char *value)
void SetArn(const Aws::String &value)
InfrastructureConfiguration & WithDescription(Aws::String &&value)
InfrastructureConfiguration & WithArn(const Aws::String &value)
InfrastructureConfiguration & WithInstanceTypes(Aws::Vector< Aws::String > &&value)
bool ArnHasBeenSet() const
bool PlacementHasBeenSet() const
InfrastructureConfiguration & AddSecurityGroupIds(Aws::String &&value)
void SetSnsTopicArn(const char *value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool SecurityGroupIdsHasBeenSet() const
bool KeyPairHasBeenSet() const
InfrastructureConfiguration & WithSnsTopicArn(const char *value)
void SetKeyPair(const char *value)
const Aws::String & GetDateUpdated() const
bool GetTerminateInstanceOnFailure() const
void SetArn(Aws::String &&value)
const Aws::String & GetDateCreated() const
const Aws::Vector< Aws::String > & GetInstanceTypes() const
void SetDateUpdated(Aws::String &&value)
InfrastructureConfiguration & WithDateUpdated(const char *value)
void SetSubnetId(const Aws::String &value)
bool SubnetIdHasBeenSet() const
AWS_IMAGEBUILDER_API InfrastructureConfiguration(Aws::Utils::Json::JsonView jsonValue)
InfrastructureConfiguration & WithDateCreated(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
InfrastructureConfiguration & AddResourceTags(Aws::String &&key, const char *value)
InfrastructureConfiguration & AddSecurityGroupIds(const Aws::String &value)
void SetName(const Aws::String &value)
bool InstanceTypesHasBeenSet() const
InfrastructureConfiguration & AddResourceTags(Aws::String &&key, const Aws::String &value)
InfrastructureConfiguration & AddInstanceTypes(Aws::String &&value)
InfrastructureConfiguration & WithInstanceProfileName(const Aws::String &value)
InfrastructureConfiguration & WithArn(Aws::String &&value)
void SetPlacement(Placement &&value)
void SetDescription(const Aws::String &value)
InfrastructureConfiguration & WithDateCreated(const Aws::String &value)
void SetPlacement(const Placement &value)
void SetSnsTopicArn(const Aws::String &value)
InfrastructureConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
InfrastructureConfiguration & AddResourceTags(Aws::String &&key, Aws::String &&value)
InfrastructureConfiguration & WithSubnetId(const Aws::String &value)
const Aws::String & GetSubnetId() const
InfrastructureConfiguration & AddSecurityGroupIds(const char *value)
void SetKeyPair(const Aws::String &value)
InfrastructureConfiguration & AddResourceTags(const Aws::String &key, const Aws::String &value)
InfrastructureConfiguration & AddResourceTags(const char *key, Aws::String &&value)
InfrastructureConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
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
Aws::Utils::Json::JsonValue JsonValue