7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/secretsmanager/SecretsManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/secretsmanager/model/RotationRulesType.h>
12#include <aws/core/utils/UUID.h>
16namespace SecretsManager
48 template<
typename SecretIdT = Aws::String>
49 void SetSecretId(SecretIdT&& value) { m_secretIdHasBeenSet =
true; m_secretId = std::forward<SecretIdT>(value); }
50 template<
typename SecretIdT = Aws::String>
73 template<
typename ClientRequestTokenT = Aws::String>
74 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
75 template<
typename ClientRequestTokenT = Aws::String>
89 template<
typename RotationLambdaARNT = Aws::String>
90 void SetRotationLambdaARN(RotationLambdaARNT&& value) { m_rotationLambdaARNHasBeenSet =
true; m_rotationLambdaARN = std::forward<RotationLambdaARNT>(value); }
91 template<
typename RotationLambdaARNT = Aws::String>
101 template<
typename RotationRulesT = RotationRulesType>
102 void SetRotationRules(RotationRulesT&& value) { m_rotationRulesHasBeenSet =
true; m_rotationRules = std::forward<RotationRulesT>(value); }
103 template<
typename RotationRulesT = RotationRulesType>
121 inline void SetRotateImmediately(
bool value) { m_rotateImmediatelyHasBeenSet =
true; m_rotateImmediately = value; }
127 bool m_secretIdHasBeenSet =
false;
130 bool m_clientRequestTokenHasBeenSet =
true;
133 bool m_rotationLambdaARNHasBeenSet =
false;
135 RotationRulesType m_rotationRules;
136 bool m_rotationRulesHasBeenSet =
false;
138 bool m_rotateImmediately{
false};
139 bool m_rotateImmediatelyHasBeenSet =
false;
void SetRotationRules(RotationRulesT &&value)
void SetSecretId(SecretIdT &&value)
bool GetRotateImmediately() const
bool RotationLambdaARNHasBeenSet() const
const RotationRulesType & GetRotationRules() const
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetRotationLambdaARN() const
bool SecretIdHasBeenSet() const
RotateSecretRequest & WithRotationLambdaARN(RotationLambdaARNT &&value)
virtual const char * GetServiceRequestName() const override
RotateSecretRequest & WithSecretId(SecretIdT &&value)
void SetRotateImmediately(bool value)
RotateSecretRequest & WithRotationRules(RotationRulesT &&value)
const Aws::String & GetClientRequestToken() const
void SetRotationLambdaARN(RotationLambdaARNT &&value)
bool RotateImmediatelyHasBeenSet() const
bool RotationRulesHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
AWS_SECRETSMANAGER_API RotateSecretRequest()=default
const Aws::String & GetSecretId() const
RotateSecretRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override
RotateSecretRequest & WithRotateImmediately(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String