/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace imagebuilder { namespace Model { /** */ class CreateContainerRecipeRequest : public ImagebuilderRequest { public: AWS_IMAGEBUILDER_API CreateContainerRecipeRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateContainerRecipe"; } AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override; /** *

The type of container to create.

*/ inline const ContainerType& GetContainerType() const{ return m_containerType; } /** *

The type of container to create.

*/ inline bool ContainerTypeHasBeenSet() const { return m_containerTypeHasBeenSet; } /** *

The type of container to create.

*/ inline void SetContainerType(const ContainerType& value) { m_containerTypeHasBeenSet = true; m_containerType = value; } /** *

The type of container to create.

*/ inline void SetContainerType(ContainerType&& value) { m_containerTypeHasBeenSet = true; m_containerType = std::move(value); } /** *

The type of container to create.

*/ inline CreateContainerRecipeRequest& WithContainerType(const ContainerType& value) { SetContainerType(value); return *this;} /** *

The type of container to create.

*/ inline CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the container recipe.

*/ inline CreateContainerRecipeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the container recipe.

*/ inline CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the container recipe.

*/ inline CreateContainerRecipeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the container recipe.

*/ inline CreateContainerRecipeRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; } /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; } /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = value; } /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::move(value); } /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline void SetSemanticVersion(const char* value) { m_semanticVersionHasBeenSet = true; m_semanticVersion.assign(value); } /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline CreateContainerRecipeRequest& WithSemanticVersion(const Aws::String& value) { SetSemanticVersion(value); return *this;} /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline CreateContainerRecipeRequest& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;} /** *

The semantic version of the container recipe. This version follows the * semantic version syntax.

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.

* */ inline CreateContainerRecipeRequest& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;} /** *

Components for build and test 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::Vector& GetComponents() const{ return m_components; } /** *

Components for build and test 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; } /** *

Components for build and test 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::Vector& value) { m_componentsHasBeenSet = true; m_components = value; } /** *

Components for build and test 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::Vector&& value) { m_componentsHasBeenSet = true; m_components = std::move(value); } /** *

Components for build and test 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 CreateContainerRecipeRequest& WithComponents(const Aws::Vector& value) { SetComponents(value); return *this;} /** *

Components for build and test 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 CreateContainerRecipeRequest& WithComponents(Aws::Vector&& value) { SetComponents(std::move(value)); return *this;} /** *

Components for build and test 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 CreateContainerRecipeRequest& AddComponents(const ComponentConfiguration& value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; } /** *

Components for build and test 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& WithInstanceConfiguration(InstanceConfiguration&& value) { SetInstanceConfiguration(std::move(value)); return *this;} /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline const Aws::String& GetDockerfileTemplateData() const{ return m_dockerfileTemplateData; } /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline bool DockerfileTemplateDataHasBeenSet() const { return m_dockerfileTemplateDataHasBeenSet; } /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline void SetDockerfileTemplateData(const Aws::String& value) { m_dockerfileTemplateDataHasBeenSet = true; m_dockerfileTemplateData = value; } /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline void SetDockerfileTemplateData(Aws::String&& value) { m_dockerfileTemplateDataHasBeenSet = true; m_dockerfileTemplateData = std::move(value); } /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline void SetDockerfileTemplateData(const char* value) { m_dockerfileTemplateDataHasBeenSet = true; m_dockerfileTemplateData.assign(value); } /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline CreateContainerRecipeRequest& WithDockerfileTemplateData(const Aws::String& value) { SetDockerfileTemplateData(value); return *this;} /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline CreateContainerRecipeRequest& WithDockerfileTemplateData(Aws::String&& value) { SetDockerfileTemplateData(std::move(value)); return *this;} /** *

The Dockerfile template used to build your image as an inline data blob.

*/ inline CreateContainerRecipeRequest& WithDockerfileTemplateData(const char* value) { SetDockerfileTemplateData(value); return *this;} /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline const Aws::String& GetDockerfileTemplateUri() const{ return m_dockerfileTemplateUri; } /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline bool DockerfileTemplateUriHasBeenSet() const { return m_dockerfileTemplateUriHasBeenSet; } /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline void SetDockerfileTemplateUri(const Aws::String& value) { m_dockerfileTemplateUriHasBeenSet = true; m_dockerfileTemplateUri = value; } /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline void SetDockerfileTemplateUri(Aws::String&& value) { m_dockerfileTemplateUriHasBeenSet = true; m_dockerfileTemplateUri = std::move(value); } /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline void SetDockerfileTemplateUri(const char* value) { m_dockerfileTemplateUriHasBeenSet = true; m_dockerfileTemplateUri.assign(value); } /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline CreateContainerRecipeRequest& WithDockerfileTemplateUri(const Aws::String& value) { SetDockerfileTemplateUri(value); return *this;} /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline CreateContainerRecipeRequest& WithDockerfileTemplateUri(Aws::String&& value) { SetDockerfileTemplateUri(std::move(value)); return *this;} /** *

The Amazon S3 URI for the Dockerfile that will be used to build your * container image.

*/ inline CreateContainerRecipeRequest& WithDockerfileTemplateUri(const char* value) { SetDockerfileTemplateUri(value); return *this;} /** *

Specifies the operating system platform when you use a custom base image.

*/ inline const Platform& GetPlatformOverride() const{ return m_platformOverride; } /** *

Specifies the operating system platform when you use a custom base image.

*/ inline bool PlatformOverrideHasBeenSet() const { return m_platformOverrideHasBeenSet; } /** *

Specifies the operating system platform when you use a custom base image.

*/ inline void SetPlatformOverride(const Platform& value) { m_platformOverrideHasBeenSet = true; m_platformOverride = value; } /** *

Specifies the operating system platform when you use a custom base image.

*/ inline void SetPlatformOverride(Platform&& value) { m_platformOverrideHasBeenSet = true; m_platformOverride = std::move(value); } /** *

Specifies the operating system platform when you use a custom base image.

*/ inline CreateContainerRecipeRequest& WithPlatformOverride(const Platform& value) { SetPlatformOverride(value); return *this;} /** *

Specifies the operating system platform when you use a custom base image.

*/ inline CreateContainerRecipeRequest& WithPlatformOverride(Platform&& value) { SetPlatformOverride(std::move(value)); return *this;} /** *

Specifies the operating system version for the base image.

*/ inline const Aws::String& GetImageOsVersionOverride() const{ return m_imageOsVersionOverride; } /** *

Specifies the operating system version for the base image.

*/ inline bool ImageOsVersionOverrideHasBeenSet() const { return m_imageOsVersionOverrideHasBeenSet; } /** *

Specifies the operating system version for the base image.

*/ inline void SetImageOsVersionOverride(const Aws::String& value) { m_imageOsVersionOverrideHasBeenSet = true; m_imageOsVersionOverride = value; } /** *

Specifies the operating system version for the base image.

*/ inline void SetImageOsVersionOverride(Aws::String&& value) { m_imageOsVersionOverrideHasBeenSet = true; m_imageOsVersionOverride = std::move(value); } /** *

Specifies the operating system version for the base image.

*/ inline void SetImageOsVersionOverride(const char* value) { m_imageOsVersionOverrideHasBeenSet = true; m_imageOsVersionOverride.assign(value); } /** *

Specifies the operating system version for the base image.

*/ inline CreateContainerRecipeRequest& WithImageOsVersionOverride(const Aws::String& value) { SetImageOsVersionOverride(value); return *this;} /** *

Specifies the operating system version for the base image.

*/ inline CreateContainerRecipeRequest& WithImageOsVersionOverride(Aws::String&& value) { SetImageOsVersionOverride(std::move(value)); return *this;} /** *

Specifies the operating system version for the base image.

*/ inline CreateContainerRecipeRequest& WithImageOsVersionOverride(const char* value) { SetImageOsVersionOverride(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 CreateContainerRecipeRequest& WithParentImage(const Aws::String& value) { SetParentImage(value); return *this;} /** *

The base image for the container recipe.

*/ inline CreateContainerRecipeRequest& WithParentImage(Aws::String&& value) { SetParentImage(std::move(value)); return *this;} /** *

The base image for the container recipe.

*/ inline CreateContainerRecipeRequest& WithParentImage(const char* value) { SetParentImage(value); return *this;} /** *

Tags that are attached to the container recipe.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags 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::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags that are attached to the container recipe.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags that are attached to the container recipe.

*/ inline CreateContainerRecipeRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags that are attached to the container recipe.

*/ inline CreateContainerRecipeRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags that are attached to the container recipe.

*/ inline CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;} /** *

The working directory for use during build and test workflows.

*/ inline CreateContainerRecipeRequest& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;} /** *

The working directory for use during build and test workflows.

*/ inline CreateContainerRecipeRequest& 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 CreateContainerRecipeRequest& WithTargetRepository(const TargetContainerRepository& value) { SetTargetRepository(value); return *this;} /** *

The destination repository for the container image.

*/ inline CreateContainerRecipeRequest& WithTargetRepository(TargetContainerRepository&& value) { SetTargetRepository(std::move(value)); return *this;} /** *

Identifies which KMS key is used to encrypt the container image.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

Identifies which KMS key is used to encrypt the container image.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

Identifies which KMS key is used to encrypt the container image.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

Identifies which KMS key is used to encrypt the container image.

*/ 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.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

Identifies which KMS key is used to encrypt the container image.

*/ inline CreateContainerRecipeRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

Identifies which KMS key is used to encrypt the container image.

*/ inline CreateContainerRecipeRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

Identifies which KMS key is used to encrypt the container image.

*/ inline CreateContainerRecipeRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

The client token used to make this request idempotent.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The client token used to make this request idempotent.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

The client token used to make this request idempotent.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

The client token used to make this request idempotent.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

The client token used to make this request idempotent.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

The client token used to make this request idempotent.

*/ inline CreateContainerRecipeRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The client token used to make this request idempotent.

*/ inline CreateContainerRecipeRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The client token used to make this request idempotent.

*/ inline CreateContainerRecipeRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: ContainerType m_containerType; bool m_containerTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_semanticVersion; bool m_semanticVersionHasBeenSet = false; Aws::Vector m_components; bool m_componentsHasBeenSet = false; InstanceConfiguration m_instanceConfiguration; bool m_instanceConfigurationHasBeenSet = false; Aws::String m_dockerfileTemplateData; bool m_dockerfileTemplateDataHasBeenSet = false; Aws::String m_dockerfileTemplateUri; bool m_dockerfileTemplateUriHasBeenSet = false; Platform m_platformOverride; bool m_platformOverrideHasBeenSet = false; Aws::String m_imageOsVersionOverride; bool m_imageOsVersionOverrideHasBeenSet = false; Aws::String m_parentImage; bool m_parentImageHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_workingDirectory; bool m_workingDirectoryHasBeenSet = false; TargetContainerRepository m_targetRepository; bool m_targetRepositoryHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws