/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A container recipe.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
The Amazon Resource Name (ARN) of the container recipe.
*Semantic versioning is included in each object's Amazon Resource Name (ARN), * at the level that applies to that object as follows:
Versionless ARNs and Name ARNs do not include specific values in any of the * nodes. The nodes are either left off entirely, or they are specified as * wildcards, for example: x.x.x.
Version ARNs have only the * first three nodes: <major>.<minor>.<patch>
Build version ARNs have all four nodes, and point to a specific build for a * specific version of an object.
Specifies the type of container, such as Docker.
*/ inline const ContainerType& GetContainerType() const{ return m_containerType; } /** *Specifies the type of container, such as Docker.
*/ inline bool ContainerTypeHasBeenSet() const { return m_containerTypeHasBeenSet; } /** *Specifies the type of container, such as Docker.
*/ inline void SetContainerType(const ContainerType& value) { m_containerTypeHasBeenSet = true; m_containerType = value; } /** *Specifies the type of container, such as Docker.
*/ inline void SetContainerType(ContainerType&& value) { m_containerTypeHasBeenSet = true; m_containerType = std::move(value); } /** *Specifies the type of container, such as Docker.
*/ inline ContainerRecipe& WithContainerType(const ContainerType& value) { SetContainerType(value); return *this;} /** *Specifies the type of container, such as Docker.
*/ inline ContainerRecipe& WithContainerType(ContainerType&& value) { SetContainerType(std::move(value)); return *this;} /** *The name of the container recipe.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the container recipe.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the container recipe.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the container recipe.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the container recipe.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the container recipe.
*/ inline ContainerRecipe& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the container recipe.
*/ inline ContainerRecipe& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the container recipe.
*/ inline ContainerRecipe& WithName(const char* value) { SetName(value); return *this;} /** *The description of the container recipe.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the container recipe.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the container recipe.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the container recipe.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the container recipe.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the container recipe.
*/ inline ContainerRecipe& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the container recipe.
*/ inline ContainerRecipe& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the container recipe.
*/ inline ContainerRecipe& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The system platform for the container, such as Windows or Linux.
*/ inline const Platform& GetPlatform() const{ return m_platform; } /** *The system platform for the container, such as Windows or Linux.
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The system platform for the container, such as Windows or Linux.
*/ inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The system platform for the container, such as Windows or Linux.
*/ inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The system platform for the container, such as Windows or Linux.
*/ inline ContainerRecipe& WithPlatform(const Platform& value) { SetPlatform(value); return *this;} /** *The system platform for the container, such as Windows or Linux.
*/ inline ContainerRecipe& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} /** *The owner of the container recipe.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The owner of the container recipe.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The owner of the container recipe.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The owner of the container recipe.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The owner of the container recipe.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The owner of the container recipe.
*/ inline ContainerRecipe& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the container recipe.
*/ inline ContainerRecipe& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the container recipe.
*/ inline ContainerRecipe& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline ContainerRecipe& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline ContainerRecipe& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The semantic version of the container recipe.
The semantic * version has four nodes: <major>.<minor>.<patch>/<build>. * You can assign values for the first three, and can filter on all of them.
*Assignment: For the first three nodes you can assign any positive * integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for * each node. Image Builder automatically assigns the build number to the fourth * node.
Patterns: You can use any numeric pattern that adheres to * the assignment requirements for the nodes that you can assign. For example, you * might choose a software version pattern, such as 1.0.0, or a date, such as * 2021.01.01.
Filtering: With semantic versioning, you have the * flexibility to use wildcards (x) to specify the most recent versions or nodes * when selecting the base image or components for your recipe. When you use a * wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.
*/ inline ContainerRecipe& WithVersion(const char* value) { SetVersion(value); return *this;} /** *Build and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline const Aws::VectorBuild and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline bool ComponentsHasBeenSet() const { return m_componentsHasBeenSet; } /** *Build and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline void SetComponents(const Aws::VectorBuild and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline void SetComponents(Aws::VectorBuild and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline ContainerRecipe& WithComponents(const Aws::VectorBuild and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline ContainerRecipe& WithComponents(Aws::VectorBuild and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline ContainerRecipe& AddComponents(const ComponentConfiguration& value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; } /** *Build and test components that are included in the container recipe. Recipes * require a minimum of one build component, and can have a maximum of 20 build and * test components in any combination.
*/ inline ContainerRecipe& AddComponents(ComponentConfiguration&& value) { m_componentsHasBeenSet = true; m_components.push_back(std::move(value)); return *this; } /** *A group of options that can be used to configure an instance for building and * testing container images.
*/ inline const InstanceConfiguration& GetInstanceConfiguration() const{ return m_instanceConfiguration; } /** *A group of options that can be used to configure an instance for building and * testing container images.
*/ inline bool InstanceConfigurationHasBeenSet() const { return m_instanceConfigurationHasBeenSet; } /** *A group of options that can be used to configure an instance for building and * testing container images.
*/ inline void SetInstanceConfiguration(const InstanceConfiguration& value) { m_instanceConfigurationHasBeenSet = true; m_instanceConfiguration = value; } /** *A group of options that can be used to configure an instance for building and * testing container images.
*/ inline void SetInstanceConfiguration(InstanceConfiguration&& value) { m_instanceConfigurationHasBeenSet = true; m_instanceConfiguration = std::move(value); } /** *A group of options that can be used to configure an instance for building and * testing container images.
*/ inline ContainerRecipe& WithInstanceConfiguration(const InstanceConfiguration& value) { SetInstanceConfiguration(value); return *this;} /** *A group of options that can be used to configure an instance for building and * testing container images.
*/ inline ContainerRecipe& WithInstanceConfiguration(InstanceConfiguration&& value) { SetInstanceConfiguration(std::move(value)); return *this;} /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline const Aws::String& GetDockerfileTemplateData() const{ return m_dockerfileTemplateData; } /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline bool DockerfileTemplateDataHasBeenSet() const { return m_dockerfileTemplateDataHasBeenSet; } /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline void SetDockerfileTemplateData(const Aws::String& value) { m_dockerfileTemplateDataHasBeenSet = true; m_dockerfileTemplateData = value; } /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline void SetDockerfileTemplateData(Aws::String&& value) { m_dockerfileTemplateDataHasBeenSet = true; m_dockerfileTemplateData = std::move(value); } /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline void SetDockerfileTemplateData(const char* value) { m_dockerfileTemplateDataHasBeenSet = true; m_dockerfileTemplateData.assign(value); } /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline ContainerRecipe& WithDockerfileTemplateData(const Aws::String& value) { SetDockerfileTemplateData(value); return *this;} /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline ContainerRecipe& WithDockerfileTemplateData(Aws::String&& value) { SetDockerfileTemplateData(std::move(value)); return *this;} /** *Dockerfiles are text documents that are used to build Docker containers, and * ensure that they contain all of the elements required by the application running * inside. The template data consists of contextual variables where Image Builder * places build information or scripts, based on your container image recipe.
*/ inline ContainerRecipe& WithDockerfileTemplateData(const char* value) { SetDockerfileTemplateData(value); return *this;} /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline ContainerRecipe& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline ContainerRecipe& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *Identifies which KMS key is used to encrypt the container image for * distribution to the target Region.
*/ inline ContainerRecipe& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *A flag that indicates if the target container is encrypted.
*/ inline bool GetEncrypted() const{ return m_encrypted; } /** *A flag that indicates if the target container is encrypted.
*/ inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; } /** *A flag that indicates if the target container is encrypted.
*/ inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; } /** *A flag that indicates if the target container is encrypted.
*/ inline ContainerRecipe& WithEncrypted(bool value) { SetEncrypted(value); return *this;} /** *The base image for the container recipe.
*/ inline const Aws::String& GetParentImage() const{ return m_parentImage; } /** *The base image for the container recipe.
*/ inline bool ParentImageHasBeenSet() const { return m_parentImageHasBeenSet; } /** *The base image for the container recipe.
*/ inline void SetParentImage(const Aws::String& value) { m_parentImageHasBeenSet = true; m_parentImage = value; } /** *The base image for the container recipe.
*/ inline void SetParentImage(Aws::String&& value) { m_parentImageHasBeenSet = true; m_parentImage = std::move(value); } /** *The base image for the container recipe.
*/ inline void SetParentImage(const char* value) { m_parentImageHasBeenSet = true; m_parentImage.assign(value); } /** *The base image for the container recipe.
*/ inline ContainerRecipe& WithParentImage(const Aws::String& value) { SetParentImage(value); return *this;} /** *The base image for the container recipe.
*/ inline ContainerRecipe& WithParentImage(Aws::String&& value) { SetParentImage(std::move(value)); return *this;} /** *The base image for the container recipe.
*/ inline ContainerRecipe& WithParentImage(const char* value) { SetParentImage(value); return *this;} /** *The date when this container recipe was created.
*/ inline const Aws::String& GetDateCreated() const{ return m_dateCreated; } /** *The date when this container recipe was created.
*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *The date when this container recipe was created.
*/ inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The date when this container recipe was created.
*/ inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The date when this container recipe was created.
*/ inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); } /** *The date when this container recipe was created.
*/ inline ContainerRecipe& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;} /** *The date when this container recipe was created.
*/ inline ContainerRecipe& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;} /** *The date when this container recipe was created.
*/ inline ContainerRecipe& WithDateCreated(const char* value) { SetDateCreated(value); return *this;} /** *Tags that are attached to the container recipe.
*/ inline const Aws::MapTags that are attached to the container recipe.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Tags that are attached to the container recipe.
*/ inline void SetTags(const Aws::MapTags that are attached to the container recipe.
*/ inline void SetTags(Aws::MapTags that are attached to the container recipe.
*/ inline ContainerRecipe& WithTags(const Aws::MapTags that are attached to the container recipe.
*/ inline ContainerRecipe& WithTags(Aws::MapTags that are attached to the container recipe.
*/ inline ContainerRecipe& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Tags that are attached to the container recipe.
*/ inline ContainerRecipe& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Tags that are attached to the container recipe.
*/ inline ContainerRecipe& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Tags that are attached to the container recipe.
*/ inline ContainerRecipe& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *Tags that are attached to the container recipe.
*/ inline ContainerRecipe& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Tags that are attached to the container recipe.
*/ inline ContainerRecipe& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Tags that are attached to the container recipe.
*/ inline ContainerRecipe& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The working directory for use during build and test workflows.
*/ inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; } /** *The working directory for use during build and test workflows.
*/ inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; } /** *The working directory for use during build and test workflows.
*/ inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; } /** *The working directory for use during build and test workflows.
*/ inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); } /** *The working directory for use during build and test workflows.
*/ inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); } /** *The working directory for use during build and test workflows.
*/ inline ContainerRecipe& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;} /** *The working directory for use during build and test workflows.
*/ inline ContainerRecipe& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;} /** *The working directory for use during build and test workflows.
*/ inline ContainerRecipe& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;} /** *The destination repository for the container image.
*/ inline const TargetContainerRepository& GetTargetRepository() const{ return m_targetRepository; } /** *The destination repository for the container image.
*/ inline bool TargetRepositoryHasBeenSet() const { return m_targetRepositoryHasBeenSet; } /** *The destination repository for the container image.
*/ inline void SetTargetRepository(const TargetContainerRepository& value) { m_targetRepositoryHasBeenSet = true; m_targetRepository = value; } /** *The destination repository for the container image.
*/ inline void SetTargetRepository(TargetContainerRepository&& value) { m_targetRepositoryHasBeenSet = true; m_targetRepository = std::move(value); } /** *The destination repository for the container image.
*/ inline ContainerRecipe& WithTargetRepository(const TargetContainerRepository& value) { SetTargetRepository(value); return *this;} /** *The destination repository for the container image.
*/ inline ContainerRecipe& WithTargetRepository(TargetContainerRepository&& value) { SetTargetRepository(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; ContainerType m_containerType; bool m_containerTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Platform m_platform; bool m_platformHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Aws::Vector