7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/secretsmanager/SecretsManagerRequest.h>
11#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
12#include <aws/secretsmanager/model/ExternalSecretRotationMetadataItem.h>
13#include <aws/secretsmanager/model/RotationRulesType.h>
18namespace SecretsManager {
46 template <
typename SecretIdT = Aws::String>
48 m_secretIdHasBeenSet =
true;
49 m_secretId = std::forward<SecretIdT>(value);
51 template <
typename SecretIdT = Aws::String>
77 template <
typename ClientRequestTokenT = Aws::String>
79 m_clientRequestTokenHasBeenSet =
true;
80 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
82 template <
typename ClientRequestTokenT = Aws::String>
99 template <
typename RotationLambdaARNT = Aws::String>
101 m_rotationLambdaARNHasBeenSet =
true;
102 m_rotationLambdaARN = std::forward<RotationLambdaARNT>(value);
104 template <
typename RotationLambdaARNT = Aws::String>
124 template <
typename RotationRulesT = RotationRulesType>
126 m_rotationRulesHasBeenSet =
true;
127 m_rotationRules = std::forward<RotationRulesT>(value);
129 template <
typename RotationRulesT = RotationRulesType>
145 return m_externalSecretRotationMetadata;
148 template <
typename ExternalSecretRotationMetadataT = Aws::Vector<ExternalSecretRotationMetadataItem>>
150 m_externalSecretRotationMetadataHasBeenSet =
true;
151 m_externalSecretRotationMetadata = std::forward<ExternalSecretRotationMetadataT>(value);
153 template <
typename ExternalSecretRotationMetadataT = Aws::Vector<ExternalSecretRotationMetadataItem>>
158 template <
typename ExternalSecretRotationMetadataT = ExternalSecretRotationMetadataItem>
160 m_externalSecretRotationMetadataHasBeenSet =
true;
161 m_externalSecretRotationMetadata.emplace_back(std::forward<ExternalSecretRotationMetadataT>(value));
175 template <
typename ExternalSecretRotationRoleArnT = Aws::String>
177 m_externalSecretRotationRoleArnHasBeenSet =
true;
178 m_externalSecretRotationRoleArn = std::forward<ExternalSecretRotationRoleArnT>(value);
180 template <
typename ExternalSecretRotationRoleArnT = Aws::String>
213 m_rotateImmediatelyHasBeenSet =
true;
214 m_rotateImmediately = value;
228 RotationRulesType m_rotationRules;
234 bool m_rotateImmediately{
false};
235 bool m_secretIdHasBeenSet =
false;
236 bool m_clientRequestTokenHasBeenSet =
true;
237 bool m_rotationLambdaARNHasBeenSet =
false;
238 bool m_rotationRulesHasBeenSet =
false;
239 bool m_externalSecretRotationMetadataHasBeenSet =
false;
240 bool m_externalSecretRotationRoleArnHasBeenSet =
false;
241 bool m_rotateImmediatelyHasBeenSet =
false;
void SetRotationRules(RotationRulesT &&value)
void SetSecretId(SecretIdT &&value)
RotateSecretRequest & WithExternalSecretRotationRoleArn(ExternalSecretRotationRoleArnT &&value)
bool GetRotateImmediately() const
RotateSecretRequest & WithExternalSecretRotationMetadata(ExternalSecretRotationMetadataT &&value)
RotateSecretRequest & AddExternalSecretRotationMetadata(ExternalSecretRotationMetadataT &&value)
bool RotationLambdaARNHasBeenSet() const
const RotationRulesType & GetRotationRules() const
void SetExternalSecretRotationRoleArn(ExternalSecretRotationRoleArnT &&value)
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ExternalSecretRotationRoleArnHasBeenSet() const
const Aws::String & GetRotationLambdaARN() const
bool ExternalSecretRotationMetadataHasBeenSet() 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 & GetExternalSecretRotationRoleArn() const
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
const Aws::Vector< ExternalSecretRotationMetadataItem > & GetExternalSecretRotationMetadata() const
void SetExternalSecretRotationMetadata(ExternalSecretRotationMetadataT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector