7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ImageType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/imagebuilder/model/ImageState.h>
12#include <aws/imagebuilder/model/OutputResources.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/imagebuilder/model/BuildType.h>
15#include <aws/imagebuilder/model/ImageSource.h>
16#include <aws/core/utils/DateTime.h>
54 template<
typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
56 template<
typename ArnT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
88 template<
typename VersionT = Aws::String>
89 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
90 template<
typename VersionT = Aws::String>
111 template<
typename OsVersionT = Aws::String>
112 void SetOsVersion(OsVersionT&& value) { m_osVersionHasBeenSet =
true; m_osVersion = std::forward<OsVersionT>(value); }
113 template<
typename OsVersionT = Aws::String>
123 template<
typename StateT = ImageState>
124 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
125 template<
typename StateT = ImageState>
135 template<
typename OwnerT = Aws::String>
136 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
137 template<
typename OwnerT = Aws::String>
147 template<
typename DateCreatedT = Aws::String>
148 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet =
true; m_dateCreated = std::forward<DateCreatedT>(value); }
149 template<
typename DateCreatedT = Aws::String>
160 template<
typename OutputResourcesT = OutputResources>
161 void SetOutputResources(OutputResourcesT&& value) { m_outputResourcesHasBeenSet =
true; m_outputResources = std::forward<OutputResourcesT>(value); }
162 template<
typename OutputResourcesT = OutputResources>
172 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
174 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
178 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
215 template<
typename DeprecationTimeT = Aws::Utils::DateTime>
216 void SetDeprecationTime(DeprecationTimeT&& value) { m_deprecationTimeHasBeenSet =
true; m_deprecationTime = std::forward<DeprecationTimeT>(value); }
217 template<
typename DeprecationTimeT = Aws::Utils::DateTime>
228 template<
typename LifecycleExecutionIdT = Aws::String>
229 void SetLifecycleExecutionId(LifecycleExecutionIdT&& value) { m_lifecycleExecutionIdHasBeenSet =
true; m_lifecycleExecutionId = std::forward<LifecycleExecutionIdT>(value); }
230 template<
typename LifecycleExecutionIdT = Aws::String>
236 bool m_arnHasBeenSet =
false;
239 bool m_nameHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
245 bool m_versionHasBeenSet =
false;
248 bool m_platformHasBeenSet =
false;
251 bool m_osVersionHasBeenSet =
false;
254 bool m_stateHasBeenSet =
false;
257 bool m_ownerHasBeenSet =
false;
260 bool m_dateCreatedHasBeenSet =
false;
262 OutputResources m_outputResources;
263 bool m_outputResourcesHasBeenSet =
false;
266 bool m_tagsHasBeenSet =
false;
269 bool m_buildTypeHasBeenSet =
false;
272 bool m_imageSourceHasBeenSet =
false;
275 bool m_deprecationTimeHasBeenSet =
false;
278 bool m_lifecycleExecutionIdHasBeenSet =
false;
AWS_IMAGEBUILDER_API ImageSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
ImageSource GetImageSource() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool BuildTypeHasBeenSet() const
void SetImageSource(ImageSource value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
bool TagsHasBeenSet() const
ImageSummary & WithDateCreated(DateCreatedT &&value)
ImageSummary & WithTags(TagsT &&value)
ImageSummary & WithOsVersion(OsVersionT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetOwner() const
bool OutputResourcesHasBeenSet() const
BuildType GetBuildType() const
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetDeprecationTime() const
ImageSummary & WithOutputResources(OutputResourcesT &&value)
void SetPlatform(Platform value)
void SetOutputResources(OutputResourcesT &&value)
const Aws::String & GetDateCreated() const
void SetVersion(VersionT &&value)
bool DeprecationTimeHasBeenSet() const
Platform GetPlatform() const
void SetName(NameT &&value)
void SetLifecycleExecutionId(LifecycleExecutionIdT &&value)
bool PlatformHasBeenSet() const
bool LifecycleExecutionIdHasBeenSet() const
void SetType(ImageType value)
bool ImageSourceHasBeenSet() const
const ImageState & GetState() const
ImageSummary & WithImageSource(ImageSource value)
ImageSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetLifecycleExecutionId() const
ImageSummary & WithName(NameT &&value)
void SetBuildType(BuildType value)
void SetOsVersion(OsVersionT &&value)
bool OsVersionHasBeenSet() const
ImageSummary & WithType(ImageType value)
void SetDateCreated(DateCreatedT &&value)
ImageSummary & WithArn(ArnT &&value)
ImageSummary & WithBuildType(BuildType value)
ImageSummary & WithLifecycleExecutionId(LifecycleExecutionIdT &&value)
const Aws::String & GetVersion() const
AWS_IMAGEBUILDER_API ImageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
bool ArnHasBeenSet() const
bool OwnerHasBeenSet() const
bool VersionHasBeenSet() const
AWS_IMAGEBUILDER_API ImageSummary()=default
bool DateCreatedHasBeenSet() const
ImageSummary & WithState(StateT &&value)
ImageSummary & WithVersion(VersionT &&value)
void SetDeprecationTime(DeprecationTimeT &&value)
ImageSummary & WithDeprecationTime(DeprecationTimeT &&value)
ImageSummary & WithPlatform(Platform value)
void SetState(StateT &&value)
const OutputResources & GetOutputResources() const
ImageType GetType() const
ImageSummary & WithOwner(OwnerT &&value)
void SetOwner(OwnerT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetOsVersion() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue