7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/ImageState.h>
20namespace imagebuilder {
30 AWS_IMAGEBUILDER_API
Ami() =
default;
41 template <
typename RegionT = Aws::String>
43 m_regionHasBeenSet =
true;
44 m_region = std::forward<RegionT>(value);
46 template <
typename RegionT = Aws::String>
59 template <
typename ImageT = Aws::String>
61 m_imageHasBeenSet =
true;
62 m_image = std::forward<ImageT>(value);
64 template <
typename ImageT = Aws::String>
66 SetImage(std::forward<ImageT>(value));
77 template <
typename NameT = Aws::String>
79 m_nameHasBeenSet =
true;
80 m_name = std::forward<NameT>(value);
82 template <
typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
112 template <
typename StateT = ImageState>
114 m_stateHasBeenSet =
true;
115 m_state = std::forward<StateT>(value);
117 template <
typename StateT = ImageState>
119 SetState(std::forward<StateT>(value));
130 template <
typename AccountIdT = Aws::String>
132 m_accountIdHasBeenSet =
true;
133 m_accountId = std::forward<AccountIdT>(value);
135 template <
typename AccountIdT = Aws::String>
153 bool m_regionHasBeenSet =
false;
154 bool m_imageHasBeenSet =
false;
155 bool m_nameHasBeenSet =
false;
156 bool m_descriptionHasBeenSet =
false;
157 bool m_stateHasBeenSet =
false;
158 bool m_accountIdHasBeenSet =
false;
Ami & WithState(StateT &&value)
bool StateHasBeenSet() const
const Aws::String & GetImage() const
Ami & WithDescription(DescriptionT &&value)
bool AccountIdHasBeenSet() const
Ami & WithImage(ImageT &&value)
AWS_IMAGEBUILDER_API Ami & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RegionHasBeenSet() const
Ami & WithAccountId(AccountIdT &&value)
void SetAccountId(AccountIdT &&value)
void SetImage(ImageT &&value)
Ami & WithName(NameT &&value)
const Aws::String & GetRegion() const
Ami & WithRegion(RegionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetAccountId() const
AWS_IMAGEBUILDER_API Ami(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetState(StateT &&value)
const ImageState & GetState() const
void SetRegion(RegionT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ImageHasBeenSet() const
AWS_IMAGEBUILDER_API Ami()=default
const Aws::String & GetDescription() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue