7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/ComponentState.h>
12#include <aws/imagebuilder/model/ComponentType.h>
13#include <aws/imagebuilder/model/Platform.h>
24namespace imagebuilder {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename VersionT = Aws::String>
83 m_versionHasBeenSet =
true;
84 m_version = std::forward<VersionT>(value);
86 template <
typename VersionT = Aws::String>
100 m_platformHasBeenSet =
true;
117 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
119 m_supportedOsVersionsHasBeenSet =
true;
120 m_supportedOsVersions = std::forward<SupportedOsVersionsT>(value);
122 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
127 template <
typename SupportedOsVersionsT = Aws::String>
129 m_supportedOsVersionsHasBeenSet =
true;
130 m_supportedOsVersions.emplace_back(std::forward<SupportedOsVersionsT>(value));
141 template <
typename StateT = ComponentState>
143 m_stateHasBeenSet =
true;
144 m_state = std::forward<StateT>(value);
146 template <
typename StateT = ComponentState>
148 SetState(std::forward<StateT>(value));
161 m_typeHasBeenSet =
true;
176 template <
typename OwnerT = Aws::String>
178 m_ownerHasBeenSet =
true;
179 m_owner = std::forward<OwnerT>(value);
181 template <
typename OwnerT = Aws::String>
183 SetOwner(std::forward<OwnerT>(value));
194 template <
typename DescriptionT = Aws::String>
196 m_descriptionHasBeenSet =
true;
197 m_description = std::forward<DescriptionT>(value);
199 template <
typename DescriptionT = Aws::String>
212 template <
typename ChangeDescriptionT = Aws::String>
214 m_changeDescriptionHasBeenSet =
true;
215 m_changeDescription = std::forward<ChangeDescriptionT>(value);
217 template <
typename ChangeDescriptionT = Aws::String>
230 template <
typename DateCreatedT = Aws::String>
232 m_dateCreatedHasBeenSet =
true;
233 m_dateCreated = std::forward<DateCreatedT>(value);
235 template <
typename DateCreatedT = Aws::String>
248 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
250 m_tagsHasBeenSet =
true;
251 m_tags = std::forward<TagsT>(value);
253 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
255 SetTags(std::forward<TagsT>(value));
258 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
260 m_tagsHasBeenSet =
true;
261 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
273 template <
typename PublisherT = Aws::String>
275 m_publisherHasBeenSet =
true;
276 m_publisher = std::forward<PublisherT>(value);
278 template <
typename PublisherT = Aws::String>
293 m_obfuscateHasBeenSet =
true;
312 ComponentState m_state;
328 bool m_obfuscate{
false};
329 bool m_arnHasBeenSet =
false;
330 bool m_nameHasBeenSet =
false;
331 bool m_versionHasBeenSet =
false;
332 bool m_platformHasBeenSet =
false;
333 bool m_supportedOsVersionsHasBeenSet =
false;
334 bool m_stateHasBeenSet =
false;
335 bool m_typeHasBeenSet =
false;
336 bool m_ownerHasBeenSet =
false;
337 bool m_descriptionHasBeenSet =
false;
338 bool m_changeDescriptionHasBeenSet =
false;
339 bool m_dateCreatedHasBeenSet =
false;
340 bool m_tagsHasBeenSet =
false;
341 bool m_publisherHasBeenSet =
false;
342 bool m_obfuscateHasBeenSet =
false;
void SetName(NameT &&value)
void SetDateCreated(DateCreatedT &&value)
bool ObfuscateHasBeenSet() const
bool TypeHasBeenSet() const
bool PublisherHasBeenSet() const
ComponentType GetType() const
ComponentSummary & WithDateCreated(DateCreatedT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DateCreatedHasBeenSet() const
bool StateHasBeenSet() const
ComponentSummary & WithArn(ArnT &&value)
AWS_IMAGEBUILDER_API ComponentSummary()=default
ComponentSummary & WithOwner(OwnerT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetPublisher(PublisherT &&value)
const ComponentState & GetState() const
ComponentSummary & WithDescription(DescriptionT &&value)
ComponentSummary & AddSupportedOsVersions(SupportedOsVersionsT &&value)
ComponentSummary & WithVersion(VersionT &&value)
bool NameHasBeenSet() const
Platform GetPlatform() const
void SetChangeDescription(ChangeDescriptionT &&value)
void SetOwner(OwnerT &&value)
AWS_IMAGEBUILDER_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithObfuscate(bool value)
ComponentSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
ComponentSummary & WithPlatform(Platform value)
void SetState(StateT &&value)
const Aws::String & GetOwner() const
void SetPlatform(Platform value)
bool OwnerHasBeenSet() const
bool TagsHasBeenSet() const
ComponentSummary & WithState(StateT &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< Aws::String > & GetSupportedOsVersions() const
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetVersion() const
bool PlatformHasBeenSet() const
bool VersionHasBeenSet() const
void SetType(ComponentType value)
ComponentSummary & WithPublisher(PublisherT &&value)
void SetObfuscate(bool value)
ComponentSummary & WithChangeDescription(ChangeDescriptionT &&value)
const Aws::String & GetDateCreated() const
void SetSupportedOsVersions(SupportedOsVersionsT &&value)
void SetTags(TagsT &&value)
ComponentSummary & WithTags(TagsT &&value)
bool GetObfuscate() const
void SetVersion(VersionT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetChangeDescription() const
void SetDescription(DescriptionT &&value)
ComponentSummary & WithType(ComponentType value)
ComponentSummary & WithSupportedOsVersions(SupportedOsVersionsT &&value)
bool ChangeDescriptionHasBeenSet() const
const Aws::String & GetName() const
AWS_IMAGEBUILDER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithName(NameT &&value)
const Aws::String & GetDescription() const
bool SupportedOsVersionsHasBeenSet() const
const Aws::String & GetPublisher() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue