/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An image recipe.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the image recipe.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the image recipe.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the image recipe.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the image recipe.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the image recipe.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the image recipe.
*/ inline ImageRecipe& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the image recipe.
*/ inline ImageRecipe& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the image recipe.
*/ inline ImageRecipe& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the image recipe.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the image recipe.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the image recipe.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the image recipe.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the image recipe.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the image recipe.
*/ inline ImageRecipe& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the image recipe.
*/ inline ImageRecipe& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the image recipe.
*/ inline ImageRecipe& WithName(const char* value) { SetName(value); return *this;} /** *The description of the image recipe.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the image recipe.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the image recipe.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the image recipe.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the image recipe.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the image recipe.
*/ inline ImageRecipe& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the image recipe.
*/ inline ImageRecipe& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the image recipe.
*/ inline ImageRecipe& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The platform of the image recipe.
*/ inline const Platform& GetPlatform() const{ return m_platform; } /** *The platform of the image recipe.
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The platform of the image recipe.
*/ inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The platform of the image recipe.
*/ inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The platform of the image recipe.
*/ inline ImageRecipe& WithPlatform(const Platform& value) { SetPlatform(value); return *this;} /** *The platform of the image recipe.
*/ inline ImageRecipe& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} /** *The owner of the image recipe.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The owner of the image recipe.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The owner of the image recipe.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The owner of the image recipe.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The owner of the image recipe.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The owner of the image recipe.
*/ inline ImageRecipe& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the image recipe.
*/ inline ImageRecipe& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the image recipe.
*/ inline ImageRecipe& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The version of the image recipe.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the image recipe.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the image recipe.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the image recipe.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the image recipe.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the image recipe.
*/ inline ImageRecipe& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the image recipe.
*/ inline ImageRecipe& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the image recipe.
*/ inline ImageRecipe& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The components of the image recipe.
*/ inline const Aws::VectorThe components of the image recipe.
*/ inline bool ComponentsHasBeenSet() const { return m_componentsHasBeenSet; } /** *The components of the image recipe.
*/ inline void SetComponents(const Aws::VectorThe components of the image recipe.
*/ inline void SetComponents(Aws::VectorThe components of the image recipe.
*/ inline ImageRecipe& WithComponents(const Aws::VectorThe components of the image recipe.
*/ inline ImageRecipe& WithComponents(Aws::VectorThe components of the image recipe.
*/ inline ImageRecipe& AddComponents(const ComponentConfiguration& value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; } /** *The components of the image recipe.
*/ inline ImageRecipe& AddComponents(ComponentConfiguration&& value) { m_componentsHasBeenSet = true; m_components.push_back(std::move(value)); return *this; } /** *The parent image of the image recipe.
*/ inline const Aws::String& GetParentImage() const{ return m_parentImage; } /** *The parent image of the image recipe.
*/ inline bool ParentImageHasBeenSet() const { return m_parentImageHasBeenSet; } /** *The parent image of the image recipe.
*/ inline void SetParentImage(const Aws::String& value) { m_parentImageHasBeenSet = true; m_parentImage = value; } /** *The parent image of the image recipe.
*/ inline void SetParentImage(Aws::String&& value) { m_parentImageHasBeenSet = true; m_parentImage = std::move(value); } /** *The parent image of the image recipe.
*/ inline void SetParentImage(const char* value) { m_parentImageHasBeenSet = true; m_parentImage.assign(value); } /** *The parent image of the image recipe.
*/ inline ImageRecipe& WithParentImage(const Aws::String& value) { SetParentImage(value); return *this;} /** *The parent image of the image recipe.
*/ inline ImageRecipe& WithParentImage(Aws::String&& value) { SetParentImage(std::move(value)); return *this;} /** *The parent image of the image recipe.
*/ inline ImageRecipe& WithParentImage(const char* value) { SetParentImage(value); return *this;} /** *The block device mappings to apply when creating images from this recipe.
*/ inline const Aws::VectorThe block device mappings to apply when creating images from this recipe.
*/ inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; } /** *The block device mappings to apply when creating images from this recipe.
*/ inline void SetBlockDeviceMappings(const Aws::VectorThe block device mappings to apply when creating images from this recipe.
*/ inline void SetBlockDeviceMappings(Aws::VectorThe block device mappings to apply when creating images from this recipe.
*/ inline ImageRecipe& WithBlockDeviceMappings(const Aws::VectorThe block device mappings to apply when creating images from this recipe.
*/ inline ImageRecipe& WithBlockDeviceMappings(Aws::VectorThe block device mappings to apply when creating images from this recipe.
*/ inline ImageRecipe& AddBlockDeviceMappings(const InstanceBlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; } /** *The block device mappings to apply when creating images from this recipe.
*/ inline ImageRecipe& AddBlockDeviceMappings(InstanceBlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; } /** *The date on which this image recipe was created.
*/ inline const Aws::String& GetDateCreated() const{ return m_dateCreated; } /** *The date on which this image recipe was created.
*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *The date on which this image recipe was created.
*/ inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The date on which this image recipe was created.
*/ inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The date on which this image recipe was created.
*/ inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); } /** *The date on which this image recipe was created.
*/ inline ImageRecipe& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;} /** *The date on which this image recipe was created.
*/ inline ImageRecipe& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;} /** *The date on which this image recipe was created.
*/ inline ImageRecipe& WithDateCreated(const char* value) { SetDateCreated(value); return *this;} /** *The tags of the image recipe.
*/ inline const Aws::MapThe tags of the image recipe.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags of the image recipe.
*/ inline void SetTags(const Aws::MapThe tags of the image recipe.
*/ inline void SetTags(Aws::MapThe tags of the image recipe.
*/ inline ImageRecipe& WithTags(const Aws::MapThe tags of the image recipe.
*/ inline ImageRecipe& WithTags(Aws::MapThe tags of the image recipe.
*/ inline ImageRecipe& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags of the image recipe.
*/ inline ImageRecipe& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the image recipe.
*/ inline ImageRecipe& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the image recipe.
*/ inline ImageRecipe& 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 image recipe.
*/ inline ImageRecipe& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of the image recipe.
*/ inline ImageRecipe& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of the image recipe.
*/ inline ImageRecipe& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The working directory to be used during build and test workflows.
*/ inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; } /** *The working directory to be used during build and test workflows.
*/ inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; } /** *The working directory to be used during build and test workflows.
*/ inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; } /** *The working directory to be used during build and test workflows.
*/ inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); } /** *The working directory to be used during build and test workflows.
*/ inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); } /** *The working directory to be used during build and test workflows.
*/ inline ImageRecipe& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;} /** *The working directory to be used during build and test workflows.
*/ inline ImageRecipe& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;} /** *The working directory to be used during build and test workflows.
*/ inline ImageRecipe& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Platform m_platform; bool m_platformHasBeenSet; Aws::String m_owner; bool m_ownerHasBeenSet; Aws::String m_version; bool m_versionHasBeenSet; Aws::Vector