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>
55 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
56 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
70 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetType(
const ImageType& value) { m_typeHasBeenSet =
true; m_type = value; }
83 inline void SetType(
ImageType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
96 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
123 inline void SetOsVersion(
const char* value) { m_osVersionHasBeenSet =
true; m_osVersion.assign(value); }
149 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
163 inline void SetDateCreated(
const char* value) { m_dateCreatedHasBeenSet =
true; m_dateCreated.assign(value); }
198 inline ImageSummary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
252 inline void SetLifecycleExecutionId(
const char* value) { m_lifecycleExecutionIdHasBeenSet =
true; m_lifecycleExecutionId.assign(value); }
260 bool m_arnHasBeenSet =
false;
263 bool m_nameHasBeenSet =
false;
266 bool m_typeHasBeenSet =
false;
269 bool m_versionHasBeenSet =
false;
272 bool m_platformHasBeenSet =
false;
275 bool m_osVersionHasBeenSet =
false;
278 bool m_stateHasBeenSet =
false;
281 bool m_ownerHasBeenSet =
false;
284 bool m_dateCreatedHasBeenSet =
false;
287 bool m_outputResourcesHasBeenSet =
false;
290 bool m_tagsHasBeenSet =
false;
293 bool m_buildTypeHasBeenSet =
false;
296 bool m_imageSourceHasBeenSet =
false;
299 bool m_deprecationTimeHasBeenSet =
false;
302 bool m_lifecycleExecutionIdHasBeenSet =
false;
void SetOwner(const Aws::String &value)
ImageSummary & WithBuildType(const BuildType &value)
AWS_IMAGEBUILDER_API ImageSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDateCreated(Aws::String &&value)
ImageSummary & WithPlatform(Platform &&value)
const Aws::String & GetArn() const
ImageSummary & WithOsVersion(const char *value)
ImageSummary & WithLifecycleExecutionId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetImageSource(const ImageSource &value)
ImageSummary & WithDateCreated(Aws::String &&value)
ImageSummary & AddTags(const char *key, const char *value)
void SetVersion(const Aws::String &value)
void SetOsVersion(Aws::String &&value)
const BuildType & GetBuildType() const
bool BuildTypeHasBeenSet() const
void SetDeprecationTime(Aws::Utils::DateTime &&value)
const ImageType & GetType() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
bool TagsHasBeenSet() const
void SetBuildType(const BuildType &value)
ImageSummary & WithName(const char *value)
void SetOwner(Aws::String &&value)
void SetBuildType(BuildType &&value)
ImageSummary & WithArn(Aws::String &&value)
const Platform & GetPlatform() const
ImageSummary & WithBuildType(BuildType &&value)
ImageSummary & WithOwner(Aws::String &&value)
const Aws::String & GetOwner() const
bool OutputResourcesHasBeenSet() const
void SetLifecycleExecutionId(Aws::String &&value)
ImageSummary & WithDeprecationTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ImageSummary & WithType(const ImageType &value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetDeprecationTime() const
ImageSummary & WithName(const Aws::String &value)
ImageSummary & WithDateCreated(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetDateCreated() const
ImageSummary & WithDeprecationTime(Aws::Utils::DateTime &&value)
ImageSummary & WithState(ImageState &&value)
void SetDateCreated(const char *value)
void SetDateCreated(const Aws::String &value)
ImageSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetArn(const Aws::String &value)
bool DeprecationTimeHasBeenSet() const
void SetType(ImageType &&value)
void SetArn(Aws::String &&value)
const ImageSource & GetImageSource() const
bool PlatformHasBeenSet() const
void SetLifecycleExecutionId(const char *value)
bool LifecycleExecutionIdHasBeenSet() const
bool ImageSourceHasBeenSet() const
void SetOutputResources(OutputResources &&value)
const ImageState & GetState() const
void SetVersion(Aws::String &&value)
ImageSummary & WithLifecycleExecutionId(Aws::String &&value)
ImageSummary & WithName(Aws::String &&value)
ImageSummary & WithOutputResources(OutputResources &&value)
ImageSummary & WithOutputResources(const OutputResources &value)
void SetOwner(const char *value)
ImageSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ImageSummary & WithOwner(const char *value)
const Aws::String & GetLifecycleExecutionId() const
void SetType(const ImageType &value)
void SetDeprecationTime(const Aws::Utils::DateTime &value)
ImageSummary & AddTags(const Aws::String &key, Aws::String &&value)
ImageSummary & WithVersion(const char *value)
bool OsVersionHasBeenSet() const
ImageSummary & WithType(ImageType &&value)
ImageSummary & WithArn(const Aws::String &value)
ImageSummary & WithOsVersion(Aws::String &&value)
void SetState(ImageState &&value)
void SetOsVersion(const char *value)
ImageSummary & AddTags(const char *key, Aws::String &&value)
AWS_IMAGEBUILDER_API ImageSummary()
void SetPlatform(const Platform &value)
ImageSummary & WithVersion(const Aws::String &value)
void SetName(const Aws::String &value)
void SetPlatform(Platform &&value)
ImageSummary & AddTags(Aws::String &&key, Aws::String &&value)
ImageSummary & WithOwner(const Aws::String &value)
ImageSummary & WithDateCreated(const char *value)
ImageSummary & WithVersion(Aws::String &&value)
const Aws::String & GetVersion() const
AWS_IMAGEBUILDER_API ImageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOsVersion(const Aws::String &value)
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
ImageSummary & WithPlatform(const Platform &value)
bool ArnHasBeenSet() const
void SetLifecycleExecutionId(const Aws::String &value)
ImageSummary & AddTags(Aws::String &&key, const char *value)
void SetOutputResources(const OutputResources &value)
bool OwnerHasBeenSet() const
bool VersionHasBeenSet() const
ImageSummary & WithImageSource(ImageSource &&value)
void SetName(Aws::String &&value)
ImageSummary & WithOsVersion(const Aws::String &value)
bool DateCreatedHasBeenSet() const
void SetImageSource(ImageSource &&value)
ImageSummary & WithArn(const char *value)
ImageSummary & AddTags(Aws::String &&key, const Aws::String &value)
ImageSummary & WithState(const ImageState &value)
ImageSummary & WithImageSource(const ImageSource &value)
const OutputResources & GetOutputResources() const
ImageSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetState(const ImageState &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImageSummary & WithLifecycleExecutionId(const Aws::String &value)
void SetVersion(const char *value)
void SetArn(const char *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