7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/ComponentStatus.h>
11#include <aws/imagebuilder/model/ComponentType.h>
12#include <aws/imagebuilder/model/Platform.h>
13#include <aws/imagebuilder/model/ProductCodeListItem.h>
24namespace imagebuilder {
54 template <
typename ArnT = Aws::String>
56 m_arnHasBeenSet =
true;
57 m_arn = std::forward<ArnT>(value);
59 template <
typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
72 template <
typename NameT = Aws::String>
74 m_nameHasBeenSet =
true;
75 m_name = std::forward<NameT>(value);
77 template <
typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
103 template <
typename VersionT = Aws::String>
105 m_versionHasBeenSet =
true;
106 m_version = std::forward<VersionT>(value);
108 template <
typename VersionT = Aws::String>
121 template <
typename DescriptionT = Aws::String>
123 m_descriptionHasBeenSet =
true;
124 m_description = std::forward<DescriptionT>(value);
126 template <
typename DescriptionT = Aws::String>
140 m_platformHasBeenSet =
true;
157 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
159 m_supportedOsVersionsHasBeenSet =
true;
160 m_supportedOsVersions = std::forward<SupportedOsVersionsT>(value);
162 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
167 template <
typename SupportedOsVersionsT = Aws::String>
169 m_supportedOsVersionsHasBeenSet =
true;
170 m_supportedOsVersions.emplace_back(std::forward<SupportedOsVersionsT>(value));
183 m_typeHasBeenSet =
true;
198 template <
typename OwnerT = Aws::String>
200 m_ownerHasBeenSet =
true;
201 m_owner = std::forward<OwnerT>(value);
203 template <
typename OwnerT = Aws::String>
205 SetOwner(std::forward<OwnerT>(value));
216 template <
typename DateCreatedT = Aws::String>
218 m_dateCreatedHasBeenSet =
true;
219 m_dateCreated = std::forward<DateCreatedT>(value);
221 template <
typename DateCreatedT = Aws::String>
235 m_statusHasBeenSet =
true;
251 template <
typename ProductCodesT = Aws::Vector<ProductCodeListItem>>
253 m_productCodesHasBeenSet =
true;
254 m_productCodes = std::forward<ProductCodesT>(value);
256 template <
typename ProductCodesT = Aws::Vector<ProductCodeListItem>>
261 template <
typename ProductCodesT = ProductCodeListItem>
263 m_productCodesHasBeenSet =
true;
264 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
290 bool m_arnHasBeenSet =
false;
291 bool m_nameHasBeenSet =
false;
292 bool m_versionHasBeenSet =
false;
293 bool m_descriptionHasBeenSet =
false;
294 bool m_platformHasBeenSet =
false;
295 bool m_supportedOsVersionsHasBeenSet =
false;
296 bool m_typeHasBeenSet =
false;
297 bool m_ownerHasBeenSet =
false;
298 bool m_dateCreatedHasBeenSet =
false;
299 bool m_statusHasBeenSet =
false;
300 bool m_productCodesHasBeenSet =
false;
ComponentVersion & WithProductCodes(ProductCodesT &&value)
const Aws::Vector< ProductCodeListItem > & GetProductCodes() const
bool StatusHasBeenSet() const
ComponentVersion & AddSupportedOsVersions(SupportedOsVersionsT &&value)
void SetOwner(OwnerT &&value)
ComponentStatus GetStatus() const
AWS_IMAGEBUILDER_API ComponentVersion()=default
void SetVersion(VersionT &&value)
void SetSupportedOsVersions(SupportedOsVersionsT &&value)
void SetPlatform(Platform value)
const Aws::String & GetOwner() const
const Aws::String & GetArn() const
ComponentVersion & WithDateCreated(DateCreatedT &&value)
void SetName(NameT &&value)
bool DateCreatedHasBeenSet() const
void SetType(ComponentType value)
bool TypeHasBeenSet() const
ComponentVersion & WithType(ComponentType value)
Platform GetPlatform() const
bool ArnHasBeenSet() const
bool SupportedOsVersionsHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDateCreated(DateCreatedT &&value)
ComponentVersion & WithDescription(DescriptionT &&value)
bool VersionHasBeenSet() const
void SetArn(ArnT &&value)
bool NameHasBeenSet() const
bool ProductCodesHasBeenSet() const
ComponentVersion & WithVersion(VersionT &&value)
AWS_IMAGEBUILDER_API ComponentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentVersion & WithStatus(ComponentStatus value)
ComponentType GetType() const
bool DescriptionHasBeenSet() const
ComponentVersion & WithOwner(OwnerT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetDateCreated() const
const Aws::String & GetName() const
const Aws::String & GetVersion() const
bool PlatformHasBeenSet() const
ComponentVersion & AddProductCodes(ProductCodesT &&value)
void SetStatus(ComponentStatus value)
bool OwnerHasBeenSet() const
ComponentVersion & WithName(NameT &&value)
ComponentVersion & WithPlatform(Platform value)
const Aws::Vector< Aws::String > & GetSupportedOsVersions() const
ComponentVersion & WithArn(ArnT &&value)
AWS_IMAGEBUILDER_API ComponentVersion(Aws::Utils::Json::JsonView jsonValue)
void SetProductCodes(ProductCodesT &&value)
ComponentVersion & WithSupportedOsVersions(SupportedOsVersionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue