7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ImageType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/imagebuilder/model/AdditionalInstanceConfiguration.h>
14#include <aws/imagebuilder/model/ComponentConfiguration.h>
15#include <aws/imagebuilder/model/InstanceBlockDeviceMapping.h>
54 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
55 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetType(
const ImageType& value) { m_typeHasBeenSet =
true; m_type = value; }
69 inline void SetType(
ImageType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
82 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
96 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
122 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
136 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
166 inline void SetParentImage(
const char* value) { m_parentImageHasBeenSet =
true; m_parentImage.assign(value); }
194 inline void SetDateCreated(
const char* value) { m_dateCreatedHasBeenSet =
true; m_dateCreated.assign(value); }
216 inline ImageRecipe&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
227 inline void SetWorkingDirectory(
const char* value) { m_workingDirectoryHasBeenSet =
true; m_workingDirectory.assign(value); }
250 bool m_arnHasBeenSet =
false;
253 bool m_typeHasBeenSet =
false;
256 bool m_nameHasBeenSet =
false;
259 bool m_descriptionHasBeenSet =
false;
262 bool m_platformHasBeenSet =
false;
265 bool m_ownerHasBeenSet =
false;
268 bool m_versionHasBeenSet =
false;
271 bool m_componentsHasBeenSet =
false;
274 bool m_parentImageHasBeenSet =
false;
277 bool m_blockDeviceMappingsHasBeenSet =
false;
280 bool m_dateCreatedHasBeenSet =
false;
283 bool m_tagsHasBeenSet =
false;
286 bool m_workingDirectoryHasBeenSet =
false;
289 bool m_additionalInstanceConfigurationHasBeenSet =
false;
bool ArnHasBeenSet() const
const Platform & GetPlatform() const
void SetOwner(const Aws::String &value)
void SetName(const Aws::String &value)
ImageRecipe & WithWorkingDirectory(const Aws::String &value)
ImageRecipe & WithOwner(Aws::String &&value)
ImageRecipe & WithAdditionalInstanceConfiguration(AdditionalInstanceConfiguration &&value)
void SetOwner(Aws::String &&value)
ImageRecipe & AddTags(const char *key, Aws::String &&value)
bool ComponentsHasBeenSet() const
ImageRecipe & WithVersion(const char *value)
ImageRecipe & WithBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
const Aws::String & GetVersion() const
ImageRecipe & WithComponents(Aws::Vector< ComponentConfiguration > &&value)
void SetType(ImageType &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< ComponentConfiguration > & GetComponents() const
void SetDescription(Aws::String &&value)
ImageRecipe & AddTags(Aws::String &&key, Aws::String &&value)
bool TagsHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetArn() const
ImageRecipe & AddComponents(const ComponentConfiguration &value)
void SetVersion(Aws::String &&value)
void SetDateCreated(Aws::String &&value)
void SetWorkingDirectory(const Aws::String &value)
ImageRecipe & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetName() const
ImageRecipe & WithDateCreated(Aws::String &&value)
ImageRecipe & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IMAGEBUILDER_API ImageRecipe(Aws::Utils::Json::JsonView jsonValue)
void SetPlatform(Platform &&value)
ImageRecipe & WithName(const char *value)
ImageRecipe & AddTags(const char *key, const char *value)
ImageRecipe & WithType(const ImageType &value)
ImageRecipe & WithWorkingDirectory(Aws::String &&value)
ImageRecipe & WithType(ImageType &&value)
const Aws::String & GetWorkingDirectory() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDateCreated() const
ImageRecipe & WithName(Aws::String &&value)
ImageRecipe & WithPlatform(const Platform &value)
const Aws::String & GetOwner() const
void SetVersion(const Aws::String &value)
void SetAdditionalInstanceConfiguration(AdditionalInstanceConfiguration &&value)
void SetArn(Aws::String &&value)
ImageRecipe & AddTags(Aws::String &&key, const Aws::String &value)
void SetParentImage(Aws::String &&value)
void SetWorkingDirectory(Aws::String &&value)
ImageRecipe & WithDateCreated(const Aws::String &value)
ImageRecipe & WithArn(Aws::String &&value)
ImageRecipe & WithDateCreated(const char *value)
bool NameHasBeenSet() const
ImageRecipe & WithArn(const char *value)
void SetComponents(Aws::Vector< ComponentConfiguration > &&value)
bool BlockDeviceMappingsHasBeenSet() const
ImageRecipe & WithParentImage(Aws::String &&value)
ImageRecipe & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
ImageRecipe & WithDescription(const Aws::String &value)
ImageRecipe & AddTags(const Aws::String &key, Aws::String &&value)
ImageRecipe & WithDescription(const char *value)
void SetName(const char *value)
ImageRecipe & WithWorkingDirectory(const char *value)
const Aws::String & GetParentImage() const
void SetDateCreated(const char *value)
ImageRecipe & WithOwner(const Aws::String &value)
ImageRecipe & AddBlockDeviceMappings(InstanceBlockDeviceMapping &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool PlatformHasBeenSet() const
ImageRecipe & WithAdditionalInstanceConfiguration(const AdditionalInstanceConfiguration &value)
bool ParentImageHasBeenSet() const
void SetParentImage(const char *value)
bool WorkingDirectoryHasBeenSet() const
ImageRecipe & WithVersion(const Aws::String &value)
ImageRecipe & WithVersion(Aws::String &&value)
void SetName(Aws::String &&value)
void SetType(const ImageType &value)
ImageRecipe & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ImageRecipe & WithPlatform(Platform &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetPlatform(const Platform &value)
void SetWorkingDirectory(const char *value)
ImageRecipe & WithOwner(const char *value)
ImageRecipe & AddBlockDeviceMappings(const InstanceBlockDeviceMapping &value)
ImageRecipe & AddTags(Aws::String &&key, const char *value)
void SetVersion(const char *value)
void SetComponents(const Aws::Vector< ComponentConfiguration > &value)
AWS_IMAGEBUILDER_API ImageRecipe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParentImage(const Aws::String &value)
void SetBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
const Aws::String & GetDescription() const
ImageRecipe & AddComponents(ComponentConfiguration &&value)
ImageRecipe & WithArn(const Aws::String &value)
bool AdditionalInstanceConfigurationHasBeenSet() const
const ImageType & GetType() const
void SetDescription(const Aws::String &value)
bool DateCreatedHasBeenSet() const
ImageRecipe & WithComponents(const Aws::Vector< ComponentConfiguration > &value)
void SetAdditionalInstanceConfiguration(const AdditionalInstanceConfiguration &value)
const Aws::Vector< InstanceBlockDeviceMapping > & GetBlockDeviceMappings() const
bool OwnerHasBeenSet() const
ImageRecipe & WithName(const Aws::String &value)
ImageRecipe & WithParentImage(const Aws::String &value)
void SetOwner(const char *value)
const AdditionalInstanceConfiguration & GetAdditionalInstanceConfiguration() const
void SetArn(const char *value)
AWS_IMAGEBUILDER_API ImageRecipe()
void SetDateCreated(const Aws::String &value)
ImageRecipe & WithBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImageRecipe & WithParentImage(const char *value)
void SetArn(const Aws::String &value)
void SetBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
bool VersionHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue