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/Distribution.h>
22namespace imagebuilder {
47 template <
typename ArnT = Aws::String>
49 m_arnHasBeenSet =
true;
50 m_arn = std::forward<ArnT>(value);
52 template <
typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
102 template <
typename DistributionsT = Aws::Vector<Distribution>>
104 m_distributionsHasBeenSet =
true;
105 m_distributions = std::forward<DistributionsT>(value);
107 template <
typename DistributionsT = Aws::Vector<Distribution>>
112 template <
typename DistributionsT = Distribution>
114 m_distributionsHasBeenSet =
true;
115 m_distributions.emplace_back(std::forward<DistributionsT>(value));
129 m_timeoutMinutesHasBeenSet =
true;
130 m_timeoutMinutes = value;
144 template <
typename DateCreatedT = Aws::String>
146 m_dateCreatedHasBeenSet =
true;
147 m_dateCreated = std::forward<DateCreatedT>(value);
149 template <
typename DateCreatedT = Aws::String>
162 template <
typename DateUpdatedT = Aws::String>
164 m_dateUpdatedHasBeenSet =
true;
165 m_dateUpdated = std::forward<DateUpdatedT>(value);
167 template <
typename DateUpdatedT = Aws::String>
180 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 m_tagsHasBeenSet =
true;
183 m_tags = std::forward<TagsT>(value);
185 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
187 SetTags(std::forward<TagsT>(value));
190 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
192 m_tagsHasBeenSet =
true;
193 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
206 int m_timeoutMinutes{0};
213 bool m_arnHasBeenSet =
false;
214 bool m_nameHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
216 bool m_distributionsHasBeenSet =
false;
217 bool m_timeoutMinutesHasBeenSet =
false;
218 bool m_dateCreatedHasBeenSet =
false;
219 bool m_dateUpdatedHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
DistributionConfiguration & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDateCreated() const
bool ArnHasBeenSet() const
int GetTimeoutMinutes() const
AWS_IMAGEBUILDER_API DistributionConfiguration()=default
DistributionConfiguration & AddDistributions(DistributionsT &&value)
bool DescriptionHasBeenSet() const
void SetArn(ArnT &&value)
void SetTimeoutMinutes(int value)
DistributionConfiguration & WithName(NameT &&value)
void SetTags(TagsT &&value)
DistributionConfiguration & WithDistributions(DistributionsT &&value)
DistributionConfiguration & WithTimeoutMinutes(int value)
const Aws::String & GetDescription() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IMAGEBUILDER_API DistributionConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool DateCreatedHasBeenSet() const
void SetDateCreated(DateCreatedT &&value)
const Aws::Vector< Distribution > & GetDistributions() const
bool NameHasBeenSet() const
DistributionConfiguration & WithArn(ArnT &&value)
bool DistributionsHasBeenSet() const
bool TimeoutMinutesHasBeenSet() const
const Aws::String & GetName() const
bool DateUpdatedHasBeenSet() const
DistributionConfiguration & WithDescription(DescriptionT &&value)
DistributionConfiguration & WithDateUpdated(DateUpdatedT &&value)
DistributionConfiguration & WithTags(TagsT &&value)
void SetDistributions(DistributionsT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
AWS_IMAGEBUILDER_API DistributionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDateUpdated(DateUpdatedT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDateUpdated() const
DistributionConfiguration & WithDateCreated(DateCreatedT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetArn() 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