7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ImageState.h>
35 AWS_IMAGEBUILDER_API
Ami() =
default;
47 template<
typename RegionT = Aws::String>
48 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
49 template<
typename RegionT = Aws::String>
59 template<
typename ImageT = Aws::String>
60 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
61 template<
typename ImageT = Aws::String>
71 template<
typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
73 template<
typename NameT = Aws::String>
84 template<
typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
86 template<
typename DescriptionT = Aws::String>
94 template<
typename StateT = ImageState>
95 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
96 template<
typename StateT = ImageState>
106 template<
typename AccountIdT = Aws::String>
107 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
108 template<
typename AccountIdT = Aws::String>
114 bool m_regionHasBeenSet =
false;
117 bool m_imageHasBeenSet =
false;
120 bool m_nameHasBeenSet =
false;
123 bool m_descriptionHasBeenSet =
false;
126 bool m_stateHasBeenSet =
false;
129 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