/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The infrastructure used when building Amazon EC2 AMIs.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the infrastructure configuration.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the infrastructure configuration.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the infrastructure configuration.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the infrastructure configuration.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the infrastructure configuration.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithName(const char* value) { SetName(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 InfrastructureConfigurationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The date on which the infrastructure configuration was created.
*/ inline const Aws::String& GetDateCreated() const{ return m_dateCreated; } /** *The date on which the infrastructure configuration was created.
*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *The date on which the infrastructure configuration was created.
*/ inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The date on which the infrastructure configuration was created.
*/ inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The date on which the infrastructure configuration was created.
*/ inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); } /** *The date on which the infrastructure configuration was created.
*/ inline InfrastructureConfigurationSummary& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;} /** *The date on which the infrastructure configuration was created.
*/ inline InfrastructureConfigurationSummary& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;} /** *The date on which the infrastructure configuration was created.
*/ inline InfrastructureConfigurationSummary& WithDateCreated(const char* value) { SetDateCreated(value); return *this;} /** *The date on which the infrastructure configuration was last updated.
*/ inline const Aws::String& GetDateUpdated() const{ return m_dateUpdated; } /** *The date on which the infrastructure configuration was last updated.
*/ inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; } /** *The date on which the infrastructure configuration was last updated.
*/ inline void SetDateUpdated(const Aws::String& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; } /** *The date on which the infrastructure configuration was last updated.
*/ inline void SetDateUpdated(Aws::String&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); } /** *The date on which the infrastructure configuration was last updated.
*/ inline void SetDateUpdated(const char* value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated.assign(value); } /** *The date on which the infrastructure configuration was last updated.
*/ inline InfrastructureConfigurationSummary& WithDateUpdated(const Aws::String& value) { SetDateUpdated(value); return *this;} /** *The date on which the infrastructure configuration was last updated.
*/ inline InfrastructureConfigurationSummary& WithDateUpdated(Aws::String&& value) { SetDateUpdated(std::move(value)); return *this;} /** *The date on which the infrastructure configuration was last updated.
*/ inline InfrastructureConfigurationSummary& WithDateUpdated(const char* value) { SetDateUpdated(value); return *this;} /** *The tags attached to the image created by Image Builder.
*/ inline const Aws::MapThe tags attached to the image created by Image Builder.
*/ inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; } /** *The tags attached to the image created by Image Builder.
*/ inline void SetResourceTags(const Aws::MapThe tags attached to the image created by Image Builder.
*/ inline void SetResourceTags(Aws::MapThe tags attached to the image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& WithResourceTags(const Aws::MapThe tags attached to the image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& WithResourceTags(Aws::MapThe tags attached to the image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& AddResourceTags(const Aws::String& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; } /** *The tags attached to the image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& 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 image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& 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 image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& 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 image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& AddResourceTags(const char* key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; } /** *The tags attached to the image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& AddResourceTags(Aws::String&& key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; } /** *The tags attached to the image created by Image Builder.
*/ inline InfrastructureConfigurationSummary& AddResourceTags(const char* key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; } /** *The tags of the infrastructure configuration.
*/ inline const Aws::MapThe tags of the infrastructure configuration.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags of the infrastructure configuration.
*/ inline void SetTags(const Aws::MapThe tags of the infrastructure configuration.
*/ inline void SetTags(Aws::MapThe tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithTags(const Aws::MapThe tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithTags(Aws::MapThe tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The instance types of the infrastructure configuration.
*/ inline const Aws::VectorThe instance types of the infrastructure configuration.
*/ inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; } /** *The instance types of the infrastructure configuration.
*/ inline void SetInstanceTypes(const Aws::VectorThe instance types of the infrastructure configuration.
*/ inline void SetInstanceTypes(Aws::VectorThe instance types of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithInstanceTypes(const Aws::VectorThe instance types of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithInstanceTypes(Aws::VectorThe instance types of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddInstanceTypes(const Aws::String& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } /** *The instance types of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddInstanceTypes(Aws::String&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(std::move(value)); return *this; } /** *The instance types of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& AddInstanceTypes(const char* value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } /** *The instance profile of the infrastructure configuration.
*/ inline const Aws::String& GetInstanceProfileName() const{ return m_instanceProfileName; } /** *The instance profile of the infrastructure configuration.
*/ inline bool InstanceProfileNameHasBeenSet() const { return m_instanceProfileNameHasBeenSet; } /** *The instance profile of the infrastructure configuration.
*/ inline void SetInstanceProfileName(const Aws::String& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = value; } /** *The instance profile of the infrastructure configuration.
*/ inline void SetInstanceProfileName(Aws::String&& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = std::move(value); } /** *The instance profile of the infrastructure configuration.
*/ inline void SetInstanceProfileName(const char* value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName.assign(value); } /** *The instance profile of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithInstanceProfileName(const Aws::String& value) { SetInstanceProfileName(value); return *this;} /** *The instance profile of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithInstanceProfileName(Aws::String&& value) { SetInstanceProfileName(std::move(value)); return *this;} /** *The instance profile of the infrastructure configuration.
*/ inline InfrastructureConfigurationSummary& WithInstanceProfileName(const char* value) { SetInstanceProfileName(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_dateCreated; bool m_dateCreatedHasBeenSet = false; Aws::String m_dateUpdated; bool m_dateUpdatedHasBeenSet = false; Aws::Map