7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dsql/DSQLRequest.h>
10#include <aws/dsql/DSQL_EXPORTS.h>
36 template <
typename IdentifierT = Aws::String>
38 m_identifierHasBeenSet =
true;
39 m_identifier = std::forward<IdentifierT>(value);
41 template <
typename IdentifierT = Aws::String>
55 template <
typename PolicyT = Aws::String>
57 m_policyHasBeenSet =
true;
58 m_policy = std::forward<PolicyT>(value);
60 template <
typename PolicyT = Aws::String>
76 m_bypassPolicyLockoutSafetyCheckHasBeenSet =
true;
77 m_bypassPolicyLockoutSafetyCheck = value;
93 template <
typename ExpectedPolicyVersionT = Aws::String>
95 m_expectedPolicyVersionHasBeenSet =
true;
96 m_expectedPolicyVersion = std::forward<ExpectedPolicyVersionT>(value);
98 template <
typename ExpectedPolicyVersionT = Aws::String>
109 template <
typename ClientTokenT = Aws::String>
111 m_clientTokenHasBeenSet =
true;
112 m_clientToken = std::forward<ClientTokenT>(value);
114 template <
typename ClientTokenT = Aws::String>
125 bool m_bypassPolicyLockoutSafetyCheck{
false};
130 bool m_identifierHasBeenSet =
false;
131 bool m_policyHasBeenSet =
false;
132 bool m_bypassPolicyLockoutSafetyCheckHasBeenSet =
false;
133 bool m_expectedPolicyVersionHasBeenSet =
false;
134 bool m_clientTokenHasBeenSet =
true;
const Aws::String & GetPolicy() const
AWS_DSQL_API Aws::String SerializePayload() const override
bool GetBypassPolicyLockoutSafetyCheck() const
bool BypassPolicyLockoutSafetyCheckHasBeenSet() const
bool ExpectedPolicyVersionHasBeenSet() const
void SetBypassPolicyLockoutSafetyCheck(bool value)
const Aws::String & GetClientToken() const
void SetExpectedPolicyVersion(ExpectedPolicyVersionT &&value)
bool PolicyHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIdentifier() const
PutClusterPolicyRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetExpectedPolicyVersion() const
PutClusterPolicyRequest & WithExpectedPolicyVersion(ExpectedPolicyVersionT &&value)
PutClusterPolicyRequest & WithPolicy(PolicyT &&value)
bool IdentifierHasBeenSet() const
AWS_DSQL_API PutClusterPolicyRequest()=default
void SetPolicy(PolicyT &&value)
void SetIdentifier(IdentifierT &&value)
bool ClientTokenHasBeenSet() const
PutClusterPolicyRequest & WithIdentifier(IdentifierT &&value)
PutClusterPolicyRequest & WithBypassPolicyLockoutSafetyCheck(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String