7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/imagebuilder/model/Distribution.h>
14#include <aws/core/utils/UUID.h>
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
57 template<
typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
59 template<
typename DescriptionT = Aws::String>
69 template<
typename DistributionsT = Aws::Vector<Distribution>>
70 void SetDistributions(DistributionsT&& value) { m_distributionsHasBeenSet =
true; m_distributions = std::forward<DistributionsT>(value); }
71 template<
typename DistributionsT = Aws::Vector<Distribution>>
73 template<
typename DistributionsT = Distribution>
83 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
85 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
89 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
102 template<
typename ClientTokenT = Aws::String>
103 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
104 template<
typename ClientTokenT = Aws::String>
110 bool m_nameHasBeenSet =
false;
113 bool m_descriptionHasBeenSet =
false;
116 bool m_distributionsHasBeenSet =
false;
119 bool m_tagsHasBeenSet =
false;
122 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