7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/secretsmanager/SecretsManagerRequest.h>
11#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
16namespace SecretsManager {
44 template <
typename SecretIdT = Aws::String>
46 m_secretIdHasBeenSet =
true;
47 m_secretId = std::forward<SecretIdT>(value);
49 template <
typename SecretIdT = Aws::String>
75 template <
typename ClientRequestTokenT = Aws::String>
77 m_clientRequestTokenHasBeenSet =
true;
78 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
80 template <
typename ClientRequestTokenT = Aws::String>
93 template <
typename DescriptionT = Aws::String>
95 m_descriptionHasBeenSet =
true;
96 m_description = std::forward<DescriptionT>(value);
98 template <
typename DescriptionT = Aws::String>
133 template <
typename KmsKeyIdT = Aws::String>
135 m_kmsKeyIdHasBeenSet =
true;
136 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
138 template <
typename KmsKeyIdT = Aws::String>
158 template <
typename SecretBinaryT = Aws::Utils::CryptoBuffer>
160 m_secretBinaryHasBeenSet =
true;
161 m_secretBinary = std::forward<SecretBinaryT>(value);
163 template <
typename SecretBinaryT = Aws::Utils::CryptoBuffer>
182 template <
typename SecretStringT = Aws::String>
184 m_secretStringHasBeenSet =
true;
185 m_secretString = std::forward<SecretStringT>(value);
187 template <
typename SecretStringT = Aws::String>
203 template <
typename TypeT = Aws::String>
205 m_typeHasBeenSet =
true;
206 m_type = std::forward<TypeT>(value);
208 template <
typename TypeT = Aws::String>
210 SetType(std::forward<TypeT>(value));
228 bool m_secretIdHasBeenSet =
false;
229 bool m_clientRequestTokenHasBeenSet =
true;
230 bool m_descriptionHasBeenSet =
false;
231 bool m_kmsKeyIdHasBeenSet =
false;
232 bool m_secretBinaryHasBeenSet =
false;
233 bool m_secretStringHasBeenSet =
false;
234 bool m_typeHasBeenSet =
false;
void SetSecretId(SecretIdT &&value)
void SetDescription(DescriptionT &&value)
AWS_SECRETSMANAGER_API UpdateSecretRequest()=default
bool KmsKeyIdHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetDescription() const
UpdateSecretRequest & WithSecretId(SecretIdT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
UpdateSecretRequest & WithClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetType() const
void SetKmsKeyId(KmsKeyIdT &&value)
void SetSecretString(SecretStringT &&value)
const Aws::String & GetSecretId() const
const Aws::String & GetKmsKeyId() const
void SetSecretBinary(SecretBinaryT &&value)
const Aws::String & GetSecretString() const
void SetType(TypeT &&value)
UpdateSecretRequest & WithSecretString(SecretStringT &&value)
UpdateSecretRequest & WithDescription(DescriptionT &&value)
bool SecretBinaryHasBeenSet() const
const Aws::Utils::CryptoBuffer & GetSecretBinary() const
bool SecretStringHasBeenSet() const
bool DescriptionHasBeenSet() const
UpdateSecretRequest & WithSecretBinary(SecretBinaryT &&value)
AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override
UpdateSecretRequest & WithType(TypeT &&value)
bool ClientRequestTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientRequestToken() const
UpdateSecretRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool SecretIdHasBeenSet() const
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String