/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An image summary.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the image.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the image.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the image.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the image.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the image.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the image.
*/ inline ImageSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the image.
*/ inline ImageSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the image.
*/ inline ImageSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the image.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the image.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the image.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the image.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the image.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the image.
*/ inline ImageSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the image.
*/ inline ImageSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the image.
*/ inline ImageSummary& WithName(const char* value) { SetName(value); return *this;} /** *Specifies whether this image produces an AMI or a container image.
*/ inline const ImageType& GetType() const{ return m_type; } /** *Specifies whether this image produces an AMI or a container image.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Specifies whether this image produces an AMI or a container image.
*/ inline void SetType(const ImageType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Specifies whether this image produces an AMI or a container image.
*/ inline void SetType(ImageType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Specifies whether this image produces an AMI or a container image.
*/ inline ImageSummary& WithType(const ImageType& value) { SetType(value); return *this;} /** *Specifies whether this image produces an AMI or a container image.
*/ inline ImageSummary& WithType(ImageType&& value) { SetType(std::move(value)); return *this;} /** *The version of the image.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the image.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the image.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the image.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the image.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the image.
*/ inline ImageSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the image.
*/ inline ImageSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the image.
*/ inline ImageSummary& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The image operating system platform, such as Linux or Windows.
*/ inline const Platform& GetPlatform() const{ return m_platform; } /** *The image operating system platform, such as Linux or Windows.
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The image operating system platform, such as Linux or Windows.
*/ inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The image operating system platform, such as Linux or Windows.
*/ inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The image operating system platform, such as Linux or Windows.
*/ inline ImageSummary& WithPlatform(const Platform& value) { SetPlatform(value); return *this;} /** *The image operating system platform, such as Linux or Windows.
*/ inline ImageSummary& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline const Aws::String& GetOsVersion() const{ return m_osVersion; } /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; } /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline void SetOsVersion(const Aws::String& value) { m_osVersionHasBeenSet = true; m_osVersion = value; } /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline void SetOsVersion(Aws::String&& value) { m_osVersionHasBeenSet = true; m_osVersion = std::move(value); } /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline void SetOsVersion(const char* value) { m_osVersionHasBeenSet = true; m_osVersion.assign(value); } /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline ImageSummary& WithOsVersion(const Aws::String& value) { SetOsVersion(value); return *this;} /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline ImageSummary& WithOsVersion(Aws::String&& value) { SetOsVersion(std::move(value)); return *this;} /** *The operating system version of the instances that launch from this image. * For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline ImageSummary& WithOsVersion(const char* value) { SetOsVersion(value); return *this;} /** *The state of the image.
*/ inline const ImageState& GetState() const{ return m_state; } /** *The state of the image.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the image.
*/ inline void SetState(const ImageState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the image.
*/ inline void SetState(ImageState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the image.
*/ inline ImageSummary& WithState(const ImageState& value) { SetState(value); return *this;} /** *The state of the image.
*/ inline ImageSummary& WithState(ImageState&& value) { SetState(std::move(value)); return *this;} /** *The owner of the image.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The owner of the image.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The owner of the image.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The owner of the image.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The owner of the image.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The owner of the image.
*/ inline ImageSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the image.
*/ inline ImageSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the image.
*/ inline ImageSummary& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The date on which Image Builder created this image.
*/ inline const Aws::String& GetDateCreated() const{ return m_dateCreated; } /** *The date on which Image Builder created this image.
*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *The date on which Image Builder created this image.
*/ inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The date on which Image Builder created this image.
*/ inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The date on which Image Builder created this image.
*/ inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); } /** *The date on which Image Builder created this image.
*/ inline ImageSummary& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;} /** *The date on which Image Builder created this image.
*/ inline ImageSummary& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;} /** *The date on which Image Builder created this image.
*/ inline ImageSummary& WithDateCreated(const char* value) { SetDateCreated(value); return *this;} /** *The output resources that Image Builder produced when it created this * image.
*/ inline const OutputResources& GetOutputResources() const{ return m_outputResources; } /** *The output resources that Image Builder produced when it created this * image.
*/ inline bool OutputResourcesHasBeenSet() const { return m_outputResourcesHasBeenSet; } /** *The output resources that Image Builder produced when it created this * image.
*/ inline void SetOutputResources(const OutputResources& value) { m_outputResourcesHasBeenSet = true; m_outputResources = value; } /** *The output resources that Image Builder produced when it created this * image.
*/ inline void SetOutputResources(OutputResources&& value) { m_outputResourcesHasBeenSet = true; m_outputResources = std::move(value); } /** *The output resources that Image Builder produced when it created this * image.
*/ inline ImageSummary& WithOutputResources(const OutputResources& value) { SetOutputResources(value); return *this;} /** *The output resources that Image Builder produced when it created this * image.
*/ inline ImageSummary& WithOutputResources(OutputResources&& value) { SetOutputResources(std::move(value)); return *this;} /** *The tags that apply to this image.
*/ inline const Aws::MapThe tags that apply to this image.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags that apply to this image.
*/ inline void SetTags(const Aws::MapThe tags that apply to this image.
*/ inline void SetTags(Aws::MapThe tags that apply to this image.
*/ inline ImageSummary& WithTags(const Aws::MapThe tags that apply to this image.
*/ inline ImageSummary& WithTags(Aws::MapThe tags that apply to this image.
*/ inline ImageSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags that apply to this image.
*/ inline ImageSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags that apply to this image.
*/ inline ImageSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags that apply to this image.
*/ inline ImageSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags that apply to this image.
*/ inline ImageSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags that apply to this image.
*/ inline ImageSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags that apply to this image.
*/ inline ImageSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Indicates the type of build that created this image. The build can be * initiated in the following ways:
USER_INITIATED – A * manual pipeline build request.
SCHEDULED – A pipeline * build initiated by a cron expression in the Image Builder pipeline, or from * EventBridge.
IMPORT – A VM import created the image to * use as the base image for the recipe.
Indicates the type of build that created this image. The build can be * initiated in the following ways:
USER_INITIATED – A * manual pipeline build request.
SCHEDULED – A pipeline * build initiated by a cron expression in the Image Builder pipeline, or from * EventBridge.
IMPORT – A VM import created the image to * use as the base image for the recipe.
Indicates the type of build that created this image. The build can be * initiated in the following ways:
USER_INITIATED – A * manual pipeline build request.
SCHEDULED – A pipeline * build initiated by a cron expression in the Image Builder pipeline, or from * EventBridge.
IMPORT – A VM import created the image to * use as the base image for the recipe.
Indicates the type of build that created this image. The build can be * initiated in the following ways:
USER_INITIATED – A * manual pipeline build request.
SCHEDULED – A pipeline * build initiated by a cron expression in the Image Builder pipeline, or from * EventBridge.
IMPORT – A VM import created the image to * use as the base image for the recipe.
Indicates the type of build that created this image. The build can be * initiated in the following ways:
USER_INITIATED – A * manual pipeline build request.
SCHEDULED – A pipeline * build initiated by a cron expression in the Image Builder pipeline, or from * EventBridge.
IMPORT – A VM import created the image to * use as the base image for the recipe.
Indicates the type of build that created this image. The build can be * initiated in the following ways:
USER_INITIATED – A * manual pipeline build request.
SCHEDULED – A pipeline * build initiated by a cron expression in the Image Builder pipeline, or from * EventBridge.
IMPORT – A VM import created the image to * use as the base image for the recipe.
The origin of the base image that Image Builder used to build this image.
*/ inline const ImageSource& GetImageSource() const{ return m_imageSource; } /** *The origin of the base image that Image Builder used to build this image.
*/ inline bool ImageSourceHasBeenSet() const { return m_imageSourceHasBeenSet; } /** *The origin of the base image that Image Builder used to build this image.
*/ inline void SetImageSource(const ImageSource& value) { m_imageSourceHasBeenSet = true; m_imageSource = value; } /** *The origin of the base image that Image Builder used to build this image.
*/ inline void SetImageSource(ImageSource&& value) { m_imageSourceHasBeenSet = true; m_imageSource = std::move(value); } /** *The origin of the base image that Image Builder used to build this image.
*/ inline ImageSummary& WithImageSource(const ImageSource& value) { SetImageSource(value); return *this;} /** *The origin of the base image that Image Builder used to build this image.
*/ inline ImageSummary& WithImageSource(ImageSource&& value) { SetImageSource(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ImageType m_type; bool m_typeHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Platform m_platform; bool m_platformHasBeenSet = false; Aws::String m_osVersion; bool m_osVersionHasBeenSet = false; ImageState m_state; bool m_stateHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::String m_dateCreated; bool m_dateCreatedHasBeenSet = false; OutputResources m_outputResources; bool m_outputResourcesHasBeenSet = false; Aws::Map