7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/BuildType.h>
12#include <aws/imagebuilder/model/ImageLoggingConfiguration.h>
13#include <aws/imagebuilder/model/ImageSource.h>
14#include <aws/imagebuilder/model/ImageState.h>
15#include <aws/imagebuilder/model/ImageType.h>
16#include <aws/imagebuilder/model/OutputResources.h>
17#include <aws/imagebuilder/model/Platform.h>
28namespace imagebuilder {
49 template <
typename ArnT = Aws::String>
51 m_arnHasBeenSet =
true;
52 m_arn = std::forward<ArnT>(value);
54 template <
typename ArnT = Aws::String>
56 SetArn(std::forward<ArnT>(value));
67 template <
typename NameT = Aws::String>
69 m_nameHasBeenSet =
true;
70 m_name = std::forward<NameT>(value);
72 template <
typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
86 m_typeHasBeenSet =
true;
101 template <
typename VersionT = Aws::String>
103 m_versionHasBeenSet =
true;
104 m_version = std::forward<VersionT>(value);
106 template <
typename VersionT = Aws::String>
120 m_platformHasBeenSet =
true;
136 template <
typename OsVersionT = Aws::String>
138 m_osVersionHasBeenSet =
true;
139 m_osVersion = std::forward<OsVersionT>(value);
141 template <
typename OsVersionT = Aws::String>
154 template <
typename StateT = ImageState>
156 m_stateHasBeenSet =
true;
157 m_state = std::forward<StateT>(value);
159 template <
typename StateT = ImageState>
161 SetState(std::forward<StateT>(value));
172 template <
typename OwnerT = Aws::String>
174 m_ownerHasBeenSet =
true;
175 m_owner = std::forward<OwnerT>(value);
177 template <
typename OwnerT = Aws::String>
179 SetOwner(std::forward<OwnerT>(value));
190 template <
typename DateCreatedT = Aws::String>
192 m_dateCreatedHasBeenSet =
true;
193 m_dateCreated = std::forward<DateCreatedT>(value);
195 template <
typename DateCreatedT = Aws::String>
209 template <
typename OutputResourcesT = OutputResources>
211 m_outputResourcesHasBeenSet =
true;
212 m_outputResources = std::forward<OutputResourcesT>(value);
214 template <
typename OutputResourcesT = OutputResources>
227 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 m_tagsHasBeenSet =
true;
230 m_tags = std::forward<TagsT>(value);
232 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
234 SetTags(std::forward<TagsT>(value));
237 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
239 m_tagsHasBeenSet =
true;
240 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
258 m_buildTypeHasBeenSet =
true;
274 m_imageSourceHasBeenSet =
true;
275 m_imageSource = value;
290 template <
typename DeprecationTimeT = Aws::Utils::DateTime>
292 m_deprecationTimeHasBeenSet =
true;
293 m_deprecationTime = std::forward<DeprecationTimeT>(value);
295 template <
typename DeprecationTimeT = Aws::Utils::DateTime>
309 template <
typename LifecycleExecutionIdT = Aws::String>
311 m_lifecycleExecutionIdHasBeenSet =
true;
312 m_lifecycleExecutionId = std::forward<LifecycleExecutionIdT>(value);
314 template <
typename LifecycleExecutionIdT = Aws::String>
327 template <
typename LoggingConfigurationT = ImageLoggingConfiguration>
329 m_loggingConfigurationHasBeenSet =
true;
330 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
332 template <
typename LoggingConfigurationT = ImageLoggingConfiguration>
357 OutputResources m_outputResources;
369 ImageLoggingConfiguration m_loggingConfiguration;
370 bool m_arnHasBeenSet =
false;
371 bool m_nameHasBeenSet =
false;
372 bool m_typeHasBeenSet =
false;
373 bool m_versionHasBeenSet =
false;
374 bool m_platformHasBeenSet =
false;
375 bool m_osVersionHasBeenSet =
false;
376 bool m_stateHasBeenSet =
false;
377 bool m_ownerHasBeenSet =
false;
378 bool m_dateCreatedHasBeenSet =
false;
379 bool m_outputResourcesHasBeenSet =
false;
380 bool m_tagsHasBeenSet =
false;
381 bool m_buildTypeHasBeenSet =
false;
382 bool m_imageSourceHasBeenSet =
false;
383 bool m_deprecationTimeHasBeenSet =
false;
384 bool m_lifecycleExecutionIdHasBeenSet =
false;
385 bool m_loggingConfigurationHasBeenSet =
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)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
const ImageLoggingConfiguration & GetLoggingConfiguration() const
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 & WithLoggingConfiguration(LoggingConfigurationT &&value)
ImageSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetLifecycleExecutionId() const
ImageSummary & WithName(NameT &&value)
void SetBuildType(BuildType value)
bool LoggingConfigurationHasBeenSet() const
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