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/dsql/DSQLRequest.h>
12#include <aws/dsql/DSQL_EXPORTS.h>
13#include <aws/dsql/model/MetricGroupRequest.h>
14#include <aws/dsql/model/MultiRegionProperties.h>
44 m_deletionProtectionEnabledHasBeenSet =
true;
45 m_deletionProtectionEnabled = value;
61 template <
typename KmsEncryptionKeyT = Aws::String>
63 m_kmsEncryptionKeyHasBeenSet =
true;
64 m_kmsEncryptionKey = std::forward<KmsEncryptionKeyT>(value);
66 template <
typename KmsEncryptionKeyT = Aws::String>
79 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 m_tagsHasBeenSet =
true;
82 m_tags = std::forward<TagsT>(value);
84 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 SetTags(std::forward<TagsT>(value));
89 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
91 m_tagsHasBeenSet =
true;
92 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
109 template <
typename ClientTokenT = Aws::String>
111 m_clientTokenHasBeenSet =
true;
112 m_clientToken = std::forward<ClientTokenT>(value);
114 template <
typename ClientTokenT = Aws::String>
128 template <
typename MultiRegionPropertiesT = MultiRegionProperties>
130 m_multiRegionPropertiesHasBeenSet =
true;
131 m_multiRegionProperties = std::forward<MultiRegionPropertiesT>(value);
133 template <
typename MultiRegionPropertiesT = MultiRegionProperties>
147 template <
typename PolicyT = Aws::String>
149 m_policyHasBeenSet =
true;
150 m_policy = std::forward<PolicyT>(value);
152 template <
typename PolicyT = Aws::String>
168 template <
typename MetricGroupsT = Aws::Vector<MetricGroupRequest>>
170 m_metricGroupsHasBeenSet =
true;
171 m_metricGroups = std::forward<MetricGroupsT>(value);
173 template <
typename MetricGroupsT = Aws::Vector<MetricGroupRequest>>
178 template <
typename MetricGroupsT = MetricGroupRequest>
180 m_metricGroupsHasBeenSet =
true;
181 m_metricGroups.emplace_back(std::forward<MetricGroupsT>(value));
195 m_bypassPolicyLockoutSafetyCheckHasBeenSet =
true;
196 m_bypassPolicyLockoutSafetyCheck = value;
204 bool m_deletionProtectionEnabled{
false};
212 MultiRegionProperties m_multiRegionProperties;
218 bool m_bypassPolicyLockoutSafetyCheck{
false};
219 bool m_deletionProtectionEnabledHasBeenSet =
false;
220 bool m_kmsEncryptionKeyHasBeenSet =
false;
221 bool m_tagsHasBeenSet =
false;
222 bool m_clientTokenHasBeenSet =
true;
223 bool m_multiRegionPropertiesHasBeenSet =
false;
224 bool m_policyHasBeenSet =
false;
225 bool m_metricGroupsHasBeenSet =
false;
226 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
const Aws::String & GetClientToken() const
AWS_DSQL_API CreateClusterRequest()=default
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
CreateClusterRequest & WithBypassPolicyLockoutSafetyCheck(bool value)
bool MetricGroupsHasBeenSet() const
CreateClusterRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< MetricGroupRequest > & GetMetricGroups() const
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)
bool GetBypassPolicyLockoutSafetyCheck() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool KmsEncryptionKeyHasBeenSet() const
CreateClusterRequest & WithMultiRegionProperties(MultiRegionPropertiesT &&value)
CreateClusterRequest & WithPolicy(PolicyT &&value)
bool DeletionProtectionEnabledHasBeenSet() const
bool PolicyHasBeenSet() const
const Aws::String & GetPolicy() const
bool MultiRegionPropertiesHasBeenSet() const
void SetPolicy(PolicyT &&value)
bool TagsHasBeenSet() const
void SetBypassPolicyLockoutSafetyCheck(bool value)
CreateClusterRequest & WithMetricGroups(MetricGroupsT &&value)
CreateClusterRequest & WithTags(TagsT &&value)
CreateClusterRequest & AddMetricGroups(MetricGroupsT &&value)
void SetKmsEncryptionKey(KmsEncryptionKeyT &&value)
void SetMetricGroups(MetricGroupsT &&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
std::vector< T, Aws::Allocator< T > > Vector