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 {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename DistributionsT = Aws::Vector<Distribution>>
79 m_distributionsHasBeenSet =
true;
80 m_distributions = std::forward<DistributionsT>(value);
82 template <
typename DistributionsT = Aws::Vector<Distribution>>
87 template <
typename DistributionsT = Distribution>
89 m_distributionsHasBeenSet =
true;
90 m_distributions.emplace_back(std::forward<DistributionsT>(value));
101 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 m_tagsHasBeenSet =
true;
104 m_tags = std::forward<TagsT>(value);
106 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 SetTags(std::forward<TagsT>(value));
111 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
113 m_tagsHasBeenSet =
true;
114 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
128 template <
typename ClientTokenT = Aws::String>
130 m_clientTokenHasBeenSet =
true;
131 m_clientToken = std::forward<ClientTokenT>(value);
133 template <
typename ClientTokenT = Aws::String>
149 bool m_nameHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
151 bool m_distributionsHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
153 bool m_clientTokenHasBeenSet =
true;
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)
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
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(DescriptionT &&value)
CreateDistributionConfigurationRequest & WithTags(TagsT &&value)
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