7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ContainerType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/imagebuilder/model/InstanceConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/imagebuilder/model/TargetContainerRepository.h>
15#include <aws/imagebuilder/model/ComponentConfiguration.h>
62 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
63 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
89 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
103 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
129 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
156 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
202 inline void SetDockerfileTemplateData(
const char* value) { m_dockerfileTemplateDataHasBeenSet =
true; m_dockerfileTemplateData.assign(value); }
217 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
229 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
241 inline void SetParentImage(
const char* value) { m_parentImageHasBeenSet =
true; m_parentImage.assign(value); }
255 inline void SetDateCreated(
const char* value) { m_dateCreatedHasBeenSet =
true; m_dateCreated.assign(value); }
277 inline ContainerRecipe&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
288 inline void SetWorkingDirectory(
const char* value) { m_workingDirectoryHasBeenSet =
true; m_workingDirectory.assign(value); }
308 bool m_arnHasBeenSet =
false;
311 bool m_containerTypeHasBeenSet =
false;
314 bool m_nameHasBeenSet =
false;
317 bool m_descriptionHasBeenSet =
false;
320 bool m_platformHasBeenSet =
false;
323 bool m_ownerHasBeenSet =
false;
326 bool m_versionHasBeenSet =
false;
329 bool m_componentsHasBeenSet =
false;
332 bool m_instanceConfigurationHasBeenSet =
false;
335 bool m_dockerfileTemplateDataHasBeenSet =
false;
338 bool m_kmsKeyIdHasBeenSet =
false;
341 bool m_encryptedHasBeenSet =
false;
344 bool m_parentImageHasBeenSet =
false;
347 bool m_dateCreatedHasBeenSet =
false;
350 bool m_tagsHasBeenSet =
false;
353 bool m_workingDirectoryHasBeenSet =
false;
356 bool m_targetRepositoryHasBeenSet =
false;
ContainerRecipe & WithContainerType(ContainerType &&value)
bool TargetRepositoryHasBeenSet() const
AWS_IMAGEBUILDER_API ContainerRecipe(Aws::Utils::Json::JsonView jsonValue)
ContainerRecipe & WithDescription(const Aws::String &value)
ContainerRecipe & WithDockerfileTemplateData(const char *value)
void SetVersion(const Aws::String &value)
const InstanceConfiguration & GetInstanceConfiguration() const
bool TagsHasBeenSet() const
void SetOwner(const Aws::String &value)
ContainerRecipe & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(const Aws::String &value)
void SetParentImage(Aws::String &&value)
void SetArn(const char *value)
ContainerRecipe & WithArn(const Aws::String &value)
void SetOwner(const char *value)
bool ComponentsHasBeenSet() const
bool DockerfileTemplateDataHasBeenSet() const
void SetPlatform(const Platform &value)
void SetComponents(Aws::Vector< ComponentConfiguration > &&value)
ContainerRecipe & WithDockerfileTemplateData(const Aws::String &value)
ContainerRecipe & WithKmsKeyId(const Aws::String &value)
ContainerRecipe & AddTags(const char *key, Aws::String &&value)
ContainerRecipe & WithTargetRepository(const TargetContainerRepository &value)
bool NameHasBeenSet() const
ContainerRecipe & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
void SetTargetRepository(const TargetContainerRepository &value)
const Platform & GetPlatform() const
ContainerRecipe & WithDescription(const char *value)
void SetVersion(Aws::String &&value)
ContainerRecipe & WithWorkingDirectory(const Aws::String &value)
void SetOwner(Aws::String &&value)
const Aws::String & GetDescription() const
bool ArnHasBeenSet() const
ContainerRecipe & WithInstanceConfiguration(const InstanceConfiguration &value)
bool InstanceConfigurationHasBeenSet() const
ContainerRecipe & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ContainerRecipe & WithName(const char *value)
void SetWorkingDirectory(const Aws::String &value)
ContainerRecipe & WithVersion(const char *value)
ContainerRecipe & AddTags(Aws::String &&key, const Aws::String &value)
ContainerRecipe & WithKmsKeyId(const char *value)
void SetDockerfileTemplateData(Aws::String &&value)
ContainerRecipe & AddTags(const Aws::String &key, Aws::String &&value)
ContainerRecipe & AddTags(Aws::String &&key, const char *value)
void SetArn(Aws::String &&value)
ContainerRecipe & WithContainerType(const ContainerType &value)
const ContainerType & GetContainerType() const
AWS_IMAGEBUILDER_API ContainerRecipe()
void SetDescription(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetVersion(const char *value)
const Aws::String & GetOwner() const
ContainerRecipe & WithOwner(Aws::String &&value)
ContainerRecipe & WithOwner(const Aws::String &value)
bool ContainerTypeHasBeenSet() const
void SetDescription(Aws::String &&value)
ContainerRecipe & WithOwner(const char *value)
void SetName(const Aws::String &value)
void SetDateCreated(const Aws::String &value)
ContainerRecipe & WithDockerfileTemplateData(Aws::String &&value)
const TargetContainerRepository & GetTargetRepository() const
ContainerRecipe & AddTags(const char *key, const char *value)
void SetArn(const Aws::String &value)
void SetInstanceConfiguration(const InstanceConfiguration &value)
ContainerRecipe & WithPlatform(Platform &&value)
AWS_IMAGEBUILDER_API ContainerRecipe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceConfiguration(InstanceConfiguration &&value)
bool KmsKeyIdHasBeenSet() const
ContainerRecipe & WithDateCreated(const char *value)
void SetKmsKeyId(Aws::String &&value)
bool ParentImageHasBeenSet() const
bool VersionHasBeenSet() const
void SetContainerType(const ContainerType &value)
const Aws::String & GetKmsKeyId() const
ContainerRecipe & WithInstanceConfiguration(InstanceConfiguration &&value)
void SetParentImage(const Aws::String &value)
void SetKmsKeyId(const char *value)
const Aws::String & GetParentImage() const
const Aws::String & GetVersion() const
const Aws::String & GetDockerfileTemplateData() const
bool GetEncrypted() const
ContainerRecipe & WithParentImage(const Aws::String &value)
void SetEncrypted(bool value)
void SetWorkingDirectory(const char *value)
void SetName(const char *value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerRecipe & WithTargetRepository(TargetContainerRepository &&value)
ContainerRecipe & AddComponents(const ComponentConfiguration &value)
void SetName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ContainerRecipe & WithParentImage(const char *value)
ContainerRecipe & WithVersion(Aws::String &&value)
ContainerRecipe & WithVersion(const Aws::String &value)
const Aws::String & GetArn() const
void SetComponents(const Aws::Vector< ComponentConfiguration > &value)
ContainerRecipe & WithDateCreated(Aws::String &&value)
ContainerRecipe & WithEncrypted(bool value)
bool PlatformHasBeenSet() const
bool DateCreatedHasBeenSet() const
void SetParentImage(const char *value)
ContainerRecipe & WithWorkingDirectory(Aws::String &&value)
ContainerRecipe & AddComponents(ComponentConfiguration &&value)
bool EncryptedHasBeenSet() const
void SetContainerType(ContainerType &&value)
ContainerRecipe & WithParentImage(Aws::String &&value)
void SetDateCreated(const char *value)
void SetWorkingDirectory(Aws::String &&value)
ContainerRecipe & WithDateCreated(const Aws::String &value)
ContainerRecipe & WithComponents(Aws::Vector< ComponentConfiguration > &&value)
const Aws::String & GetWorkingDirectory() const
ContainerRecipe & WithArn(const char *value)
ContainerRecipe & WithName(const Aws::String &value)
void SetDockerfileTemplateData(const Aws::String &value)
void SetTargetRepository(TargetContainerRepository &&value)
const Aws::Vector< ComponentConfiguration > & GetComponents() const
ContainerRecipe & WithArn(Aws::String &&value)
bool WorkingDirectoryHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool OwnerHasBeenSet() const
void SetDockerfileTemplateData(const char *value)
ContainerRecipe & WithName(Aws::String &&value)
ContainerRecipe & AddTags(const Aws::String &key, const Aws::String &value)
void SetDateCreated(Aws::String &&value)
ContainerRecipe & AddTags(Aws::String &&key, Aws::String &&value)
ContainerRecipe & WithPlatform(const Platform &value)
ContainerRecipe & WithWorkingDirectory(const char *value)
bool DescriptionHasBeenSet() const
void SetPlatform(Platform &&value)
const Aws::String & GetDateCreated() const
void SetKmsKeyId(const Aws::String &value)
ContainerRecipe & WithComponents(const Aws::Vector< ComponentConfiguration > &value)
ContainerRecipe & WithKmsKeyId(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