7#include <aws/dsql/DSQL_EXPORTS.h>
8#include <aws/dsql/DSQLRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/dsql/model/MultiRegionProperties.h>
13#include <aws/core/utils/UUID.h>
57 template<
typename KmsEncryptionKeyT = Aws::String>
58 void SetKmsEncryptionKey(KmsEncryptionKeyT&& value) { m_kmsEncryptionKeyHasBeenSet =
true; m_kmsEncryptionKey = std::forward<KmsEncryptionKeyT>(value); }
59 template<
typename KmsEncryptionKeyT = Aws::String>
69 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
70 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
71 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
73 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
75 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
91 template<
typename ClientTokenT = Aws::String>
92 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
93 template<
typename ClientTokenT = Aws::String>
104 template<
typename MultiRegionPropertiesT = MultiRegionProperties>
105 void SetMultiRegionProperties(MultiRegionPropertiesT&& value) { m_multiRegionPropertiesHasBeenSet =
true; m_multiRegionProperties = std::forward<MultiRegionPropertiesT>(value); }
106 template<
typename MultiRegionPropertiesT = MultiRegionProperties>
111 bool m_deletionProtectionEnabled{
false};
112 bool m_deletionProtectionEnabledHasBeenSet =
false;
115 bool m_kmsEncryptionKeyHasBeenSet =
false;
118 bool m_tagsHasBeenSet =
false;
121 bool m_clientTokenHasBeenSet =
true;
123 MultiRegionProperties m_multiRegionProperties;
124 bool m_multiRegionPropertiesHasBeenSet =
false;
const Aws::String & GetClientToken() const
AWS_DSQL_API CreateClusterRequest()=default
void SetClientToken(ClientTokenT &&value)
CreateClusterRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsEncryptionKey() const
AWS_DSQL_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
CreateClusterRequest & WithDeletionProtectionEnabled(bool value)
bool GetDeletionProtectionEnabled() const
const MultiRegionProperties & GetMultiRegionProperties() const
CreateClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetDeletionProtectionEnabled(bool value)
void SetTags(TagsT &&value)
CreateClusterRequest & WithKmsEncryptionKey(KmsEncryptionKeyT &&value)
void SetMultiRegionProperties(MultiRegionPropertiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool KmsEncryptionKeyHasBeenSet() const
CreateClusterRequest & WithMultiRegionProperties(MultiRegionPropertiesT &&value)
bool DeletionProtectionEnabledHasBeenSet() const
bool MultiRegionPropertiesHasBeenSet() const
bool TagsHasBeenSet() const
CreateClusterRequest & WithTags(TagsT &&value)
void SetKmsEncryptionKey(KmsEncryptionKeyT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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