7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/imagebuilder/model/Distribution.h>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
86 template<
typename DistributionsT = Aws::Vector<Distribution>>
87 void SetDistributions(DistributionsT&& value) { m_distributionsHasBeenSet =
true; m_distributions = std::forward<DistributionsT>(value); }
88 template<
typename DistributionsT = Aws::Vector<Distribution>>
90 template<
typename DistributionsT = Distribution>
100 inline void SetTimeoutMinutes(
int value) { m_timeoutMinutesHasBeenSet =
true; m_timeoutMinutes = value; }
110 template<
typename DateCreatedT = Aws::String>
111 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet =
true; m_dateCreated = std::forward<DateCreatedT>(value); }
112 template<
typename DateCreatedT = Aws::String>
122 template<
typename DateUpdatedT = Aws::String>
123 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet =
true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
124 template<
typename DateUpdatedT = Aws::String>
134 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
136 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
140 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
146 bool m_arnHasBeenSet =
false;
149 bool m_nameHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
155 bool m_distributionsHasBeenSet =
false;
157 int m_timeoutMinutes{0};
158 bool m_timeoutMinutesHasBeenSet =
false;
161 bool m_dateCreatedHasBeenSet =
false;
164 bool m_dateUpdatedHasBeenSet =
false;
167 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