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/core/utils/Array.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/secretsmanager/model/Tag.h>
13#include <aws/secretsmanager/model/ReplicaRegionType.h>
15#include <aws/core/utils/UUID.h>
19namespace SecretsManager
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
93 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
107 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
133 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
175 inline void SetSecretString(
const char* value) { m_secretStringHasBeenSet =
true; m_secretString.assign(value); }
245 bool m_nameHasBeenSet =
false;
248 bool m_clientRequestTokenHasBeenSet =
false;
251 bool m_descriptionHasBeenSet =
false;
254 bool m_kmsKeyIdHasBeenSet =
false;
257 bool m_secretBinaryHasBeenSet =
false;
260 bool m_secretStringHasBeenSet =
false;
263 bool m_tagsHasBeenSet =
false;
266 bool m_addReplicaRegionsHasBeenSet =
false;
268 bool m_forceOverwriteReplicaSecret;
269 bool m_forceOverwriteReplicaSecretHasBeenSet =
false;
void SetClientRequestToken(Aws::String &&value)
void SetForceOverwriteReplicaSecret(bool value)
CreateSecretRequest & WithClientRequestToken(Aws::String &&value)
CreateSecretRequest & AddAddReplicaRegions(ReplicaRegionType &&value)
CreateSecretRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSecretBinary(const Aws::Utils::CryptoBuffer &value)
CreateSecretRequest & WithKmsKeyId(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
CreateSecretRequest & WithKmsKeyId(Aws::String &&value)
bool ClientRequestTokenHasBeenSet() const
CreateSecretRequest & WithName(const Aws::String &value)
void SetSecretString(const char *value)
const Aws::String & GetKmsKeyId() const
void SetName(const Aws::String &value)
void SetSecretString(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetSecretString() const
CreateSecretRequest & WithClientRequestToken(const char *value)
AWS_SECRETSMANAGER_API CreateSecretRequest()
bool ForceOverwriteReplicaSecretHasBeenSet() const
CreateSecretRequest & AddAddReplicaRegions(const ReplicaRegionType &value)
CreateSecretRequest & WithClientRequestToken(const Aws::String &value)
void SetName(const char *value)
CreateSecretRequest & WithAddReplicaRegions(const Aws::Vector< ReplicaRegionType > &value)
bool SecretBinaryHasBeenSet() const
void SetDescription(const char *value)
void SetName(Aws::String &&value)
CreateSecretRequest & WithName(Aws::String &&value)
const Aws::Utils::CryptoBuffer & GetSecretBinary() const
void SetSecretBinary(Aws::Utils::CryptoBuffer &&value)
const Aws::Vector< ReplicaRegionType > & GetAddReplicaRegions() const
bool NameHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
bool SecretStringHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateSecretRequest & WithSecretBinary(Aws::Utils::CryptoBuffer &&value)
void SetKmsKeyId(Aws::String &&value)
void SetClientRequestToken(const char *value)
virtual const char * GetServiceRequestName() const override
CreateSecretRequest & WithDescription(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
CreateSecretRequest & WithDescription(Aws::String &&value)
const Aws::String & GetClientRequestToken() const
bool GetForceOverwriteReplicaSecret() const
CreateSecretRequest & WithSecretString(Aws::String &&value)
bool AddReplicaRegionsHasBeenSet() const
CreateSecretRequest & WithSecretString(const char *value)
void SetDescription(Aws::String &&value)
CreateSecretRequest & WithSecretBinary(const Aws::Utils::CryptoBuffer &value)
void SetAddReplicaRegions(Aws::Vector< ReplicaRegionType > &&value)
AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override
void SetClientRequestToken(const Aws::String &value)
bool TagsHasBeenSet() const
CreateSecretRequest & WithDescription(const Aws::String &value)
CreateSecretRequest & WithForceOverwriteReplicaSecret(bool value)
bool KmsKeyIdHasBeenSet() const
CreateSecretRequest & AddTags(const Tag &value)
const Aws::String & GetName() const
CreateSecretRequest & WithName(const char *value)
void SetKmsKeyId(const char *value)
CreateSecretRequest & WithKmsKeyId(const char *value)
void SetAddReplicaRegions(const Aws::Vector< ReplicaRegionType > &value)
CreateSecretRequest & AddTags(Tag &&value)
CreateSecretRequest & WithTags(const Aws::Vector< Tag > &value)
CreateSecretRequest & WithSecretString(const Aws::String &value)
CreateSecretRequest & WithAddReplicaRegions(Aws::Vector< ReplicaRegionType > &&value)
void SetSecretString(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetDescription(const Aws::String &value)
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