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
50 inline void SetSecretId(
const char* value) { m_secretIdHasBeenSet =
true; m_secretId.assign(value); }
77 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
95 inline void SetRotationLambdaARN(
const char* value) { m_rotationLambdaARNHasBeenSet =
true; m_rotationLambdaARN.assign(value); }
127 inline void SetRotateImmediately(
bool value) { m_rotateImmediatelyHasBeenSet =
true; m_rotateImmediately = value; }
133 bool m_secretIdHasBeenSet =
false;
136 bool m_clientRequestTokenHasBeenSet =
false;
139 bool m_rotationLambdaARNHasBeenSet =
false;
142 bool m_rotationRulesHasBeenSet =
false;
144 bool m_rotateImmediately;
145 bool m_rotateImmediatelyHasBeenSet =
false;
void SetSecretId(const Aws::String &value)
void SetRotationLambdaARN(const Aws::String &value)
RotateSecretRequest & WithRotationRules(const RotationRulesType &value)
bool GetRotateImmediately() const
RotateSecretRequest & WithClientRequestToken(const char *value)
bool RotationLambdaARNHasBeenSet() const
RotateSecretRequest & WithRotationRules(RotationRulesType &&value)
void SetClientRequestToken(const Aws::String &value)
const RotationRulesType & GetRotationRules() const
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RotateSecretRequest & WithRotationLambdaARN(const char *value)
void SetClientRequestToken(const char *value)
void SetRotationRules(RotationRulesType &&value)
void SetSecretId(const char *value)
RotateSecretRequest & WithSecretId(const Aws::String &value)
RotateSecretRequest & WithClientRequestToken(const Aws::String &value)
AWS_SECRETSMANAGER_API RotateSecretRequest()
const Aws::String & GetRotationLambdaARN() const
void SetRotationLambdaARN(Aws::String &&value)
RotateSecretRequest & WithClientRequestToken(Aws::String &&value)
RotateSecretRequest & WithRotationLambdaARN(const Aws::String &value)
bool SecretIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetRotateImmediately(bool value)
void SetRotationRules(const RotationRulesType &value)
const Aws::String & GetClientRequestToken() const
bool RotateImmediatelyHasBeenSet() const
bool RotationRulesHasBeenSet() const
RotateSecretRequest & WithSecretId(Aws::String &&value)
RotateSecretRequest & WithSecretId(const char *value)
bool ClientRequestTokenHasBeenSet() const
RotateSecretRequest & WithRotationLambdaARN(Aws::String &&value)
void SetClientRequestToken(Aws::String &&value)
const Aws::String & GetSecretId() const
void SetRotationLambdaARN(const char *value)
AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override
void SetSecretId(Aws::String &&value)
RotateSecretRequest & WithRotateImmediately(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String