7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/secretsmanager/model/RotationRulesType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/secretsmanager/model/Tag.h>
26namespace SecretsManager
56 inline void SetARN(
Aws::String&& value) { m_aRNHasBeenSet =
true; m_aRN = std::move(value); }
57 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
71 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
85 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
101 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
114 inline void SetRotationEnabled(
bool value) { m_rotationEnabledHasBeenSet =
true; m_rotationEnabled = value; }
130 inline void SetRotationLambdaARN(
const char* value) { m_rotationLambdaARNHasBeenSet =
true; m_rotationLambdaARN.assign(value); }
268 inline void SetOwningService(
const char* value) { m_owningServiceHasBeenSet =
true; m_owningService.assign(value); }
294 inline void SetPrimaryRegion(
const char* value) { m_primaryRegionHasBeenSet =
true; m_primaryRegion.assign(value); }
302 bool m_aRNHasBeenSet =
false;
305 bool m_nameHasBeenSet =
false;
308 bool m_descriptionHasBeenSet =
false;
311 bool m_kmsKeyIdHasBeenSet =
false;
313 bool m_rotationEnabled;
314 bool m_rotationEnabledHasBeenSet =
false;
317 bool m_rotationLambdaARNHasBeenSet =
false;
320 bool m_rotationRulesHasBeenSet =
false;
323 bool m_lastRotatedDateHasBeenSet =
false;
326 bool m_lastChangedDateHasBeenSet =
false;
329 bool m_lastAccessedDateHasBeenSet =
false;
332 bool m_deletedDateHasBeenSet =
false;
335 bool m_nextRotationDateHasBeenSet =
false;
338 bool m_tagsHasBeenSet =
false;
341 bool m_secretVersionsToStagesHasBeenSet =
false;
344 bool m_owningServiceHasBeenSet =
false;
347 bool m_createdDateHasBeenSet =
false;
350 bool m_primaryRegionHasBeenSet =
false;
void SetRotationEnabled(bool value)
void SetPrimaryRegion(const Aws::String &value)
bool NextRotationDateHasBeenSet() const
SecretListEntry & AddTags(const Tag &value)
SecretListEntry & WithLastRotatedDate(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
void SetRotationLambdaARN(const char *value)
SecretListEntry & WithARN(const char *value)
bool CreatedDateHasBeenSet() const
SecretListEntry & WithDescription(const char *value)
SecretListEntry & WithKmsKeyId(const char *value)
bool DeletedDateHasBeenSet() const
const Aws::String & GetName() const
SecretListEntry & WithKmsKeyId(Aws::String &&value)
SecretListEntry & WithSecretVersionsToStages(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
SecretListEntry & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetKmsKeyId(const char *value)
SecretListEntry & WithRotationRules(RotationRulesType &&value)
bool RotationRulesHasBeenSet() const
void SetDescription(Aws::String &&value)
SecretListEntry & WithCreatedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastRotatedDate() const
void SetTags(Aws::Vector< Tag > &&value)
bool TagsHasBeenSet() const
const RotationRulesType & GetRotationRules() const
void SetRotationRules(RotationRulesType &&value)
SecretListEntry & WithNextRotationDate(const Aws::Utils::DateTime &value)
SecretListEntry & WithRotationLambdaARN(const char *value)
void SetARN(Aws::String &&value)
SecretListEntry & WithName(const char *value)
void SetOwningService(Aws::String &&value)
bool LastAccessedDateHasBeenSet() const
SecretListEntry & WithTags(Aws::Vector< Tag > &&value)
void SetLastAccessedDate(const Aws::Utils::DateTime &value)
void SetDeletedDate(const Aws::Utils::DateTime &value)
bool RotationLambdaARNHasBeenSet() const
const Aws::String & GetRotationLambdaARN() const
SecretListEntry & WithDescription(Aws::String &&value)
AWS_SECRETSMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDeletedDate() const
SecretListEntry & WithOwningService(const char *value)
SecretListEntry & WithSecretVersionsToStages(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
SecretListEntry & AddSecretVersionsToStages(const char *key, Aws::Vector< Aws::String > &&value)
void SetDeletedDate(Aws::Utils::DateTime &&value)
void SetRotationLambdaARN(Aws::String &&value)
const Aws::String & GetOwningService() const
const Aws::Vector< Tag > & GetTags() const
SecretListEntry & WithRotationRules(const RotationRulesType &value)
void SetDescription(const char *value)
void SetLastRotatedDate(Aws::Utils::DateTime &&value)
SecretListEntry & WithLastAccessedDate(const Aws::Utils::DateTime &value)
SecretListEntry & WithOwningService(const Aws::String &value)
SecretListEntry & AddTags(Tag &&value)
SecretListEntry & WithTags(const Aws::Vector< Tag > &value)
bool DescriptionHasBeenSet() const
void SetOwningService(const Aws::String &value)
SecretListEntry & WithLastChangedDate(const Aws::Utils::DateTime &value)
SecretListEntry & WithPrimaryRegion(Aws::String &&value)
AWS_SECRETSMANAGER_API SecretListEntry(Aws::Utils::Json::JsonView jsonValue)
void SetNextRotationDate(const Aws::Utils::DateTime &value)
SecretListEntry & WithKmsKeyId(const Aws::String &value)
SecretListEntry & WithLastChangedDate(Aws::Utils::DateTime &&value)
bool ARNHasBeenSet() const
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
bool GetRotationEnabled() const
SecretListEntry & WithName(const Aws::String &value)
AWS_SECRETSMANAGER_API SecretListEntry()
const Aws::Utils::DateTime & GetLastChangedDate() const
const Aws::Utils::DateTime & GetNextRotationDate() const
void SetDescription(const Aws::String &value)
void SetLastRotatedDate(const Aws::Utils::DateTime &value)
void SetSecretVersionsToStages(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
SecretListEntry & WithPrimaryRegion(const Aws::String &value)
bool LastRotatedDateHasBeenSet() const
bool RotationEnabledHasBeenSet() const
void SetPrimaryRegion(Aws::String &&value)
SecretListEntry & WithName(Aws::String &&value)
SecretListEntry & WithRotationEnabled(bool value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetARN(const Aws::String &value)
void SetARN(const char *value)
SecretListEntry & WithPrimaryRegion(const char *value)
SecretListEntry & AddSecretVersionsToStages(const char *key, const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSecretVersionsToStages() const
SecretListEntry & AddSecretVersionsToStages(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetKmsKeyId(const Aws::String &value)
SecretListEntry & WithRotationLambdaARN(const Aws::String &value)
SecretListEntry & WithOwningService(Aws::String &&value)
const Aws::Utils::DateTime & GetLastAccessedDate() const
void SetNextRotationDate(Aws::Utils::DateTime &&value)
void SetKmsKeyId(Aws::String &&value)
void SetPrimaryRegion(const char *value)
SecretListEntry & WithARN(Aws::String &&value)
SecretListEntry & WithDescription(const Aws::String &value)
bool OwningServiceHasBeenSet() const
SecretListEntry & WithDeletedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
bool LastChangedDateHasBeenSet() const
SecretListEntry & WithRotationLambdaARN(Aws::String &&value)
SecretListEntry & AddSecretVersionsToStages(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AWS_SECRETSMANAGER_API SecretListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(Aws::Utils::DateTime &&value)
SecretListEntry & WithARN(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
SecretListEntry & WithDeletedDate(Aws::Utils::DateTime &&value)
SecretListEntry & AddSecretVersionsToStages(const Aws::String &key, Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetSecretVersionsToStages(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool PrimaryRegionHasBeenSet() const
void SetRotationLambdaARN(const Aws::String &value)
void SetLastChangedDate(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetARN() const
bool KmsKeyIdHasBeenSet() const
SecretListEntry & AddSecretVersionsToStages(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetLastChangedDate(const Aws::Utils::DateTime &value)
SecretListEntry & WithLastAccessedDate(Aws::Utils::DateTime &&value)
void SetLastAccessedDate(Aws::Utils::DateTime &&value)
void SetName(const char *value)
void SetOwningService(const char *value)
SecretListEntry & WithLastRotatedDate(Aws::Utils::DateTime &&value)
SecretListEntry & WithNextRotationDate(Aws::Utils::DateTime &&value)
bool SecretVersionsToStagesHasBeenSet() const
const Aws::String & GetPrimaryRegion() const
void SetRotationRules(const RotationRulesType &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue