7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/imagebuilder/ImagebuilderRequest.h>
12#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
13#include <aws/imagebuilder/model/Distribution.h>
18namespace imagebuilder {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
83 template <
typename DistributionsT = Aws::Vector<Distribution>>
85 m_distributionsHasBeenSet =
true;
86 m_distributions = std::forward<DistributionsT>(value);
88 template <
typename DistributionsT = Aws::Vector<Distribution>>
93 template <
typename DistributionsT = Distribution>
95 m_distributionsHasBeenSet =
true;
96 m_distributions.emplace_back(std::forward<DistributionsT>(value));
107 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 m_tagsHasBeenSet =
true;
110 m_tags = std::forward<TagsT>(value);
112 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 SetTags(std::forward<TagsT>(value));
117 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
119 m_tagsHasBeenSet =
true;
120 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
136 template <
typename ClientTokenT = Aws::String>
138 m_clientTokenHasBeenSet =
true;
139 m_clientToken = std::forward<ClientTokenT>(value);
141 template <
typename ClientTokenT = Aws::String>
157 m_dryRunHasBeenSet =
true;
176 bool m_dryRun{
false};
177 bool m_nameHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
179 bool m_distributionsHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
181 bool m_clientTokenHasBeenSet =
true;
182 bool m_dryRunHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
void SetClientToken(ClientTokenT &&value)
CreateDistributionConfigurationRequest & AddDistributions(DistributionsT &&value)
const Aws::String & GetDescription() const
void SetName(NameT &&value)
CreateDistributionConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool DistributionsHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Distribution > & GetDistributions() const
CreateDistributionConfigurationRequest & WithClientToken(ClientTokenT &&value)
CreateDistributionConfigurationRequest & WithDistributions(DistributionsT &&value)
CreateDistributionConfigurationRequest & WithDryRun(bool value)
void SetDistributions(DistributionsT &&value)
AWS_IMAGEBUILDER_API CreateDistributionConfigurationRequest()=default
bool TagsHasBeenSet() const
const Aws::String & GetClientToken() const
CreateDistributionConfigurationRequest & WithName(NameT &&value)
bool ClientTokenHasBeenSet() const
void SetTags(TagsT &&value)
CreateDistributionConfigurationRequest & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetDryRun(bool value)
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(DescriptionT &&value)
CreateDistributionConfigurationRequest & WithTags(TagsT &&value)
bool DryRunHasBeenSet() 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