7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
23namespace SecretsManager
51 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
115 bool m_versionIdHasBeenSet =
false;
118 bool m_versionStagesHasBeenSet =
false;
121 bool m_lastAccessedDateHasBeenSet =
false;
124 bool m_createdDateHasBeenSet =
false;
127 bool m_kmsKeyIdsHasBeenSet =
false;
SecretVersionsListEntry & WithKmsKeyIds(Aws::Vector< Aws::String > &&value)
SecretVersionsListEntry & AddVersionStages(Aws::String &&value)
AWS_SECRETSMANAGER_API SecretVersionsListEntry()
const Aws::Vector< Aws::String > & GetVersionStages() const
bool VersionStagesHasBeenSet() const
SecretVersionsListEntry & AddVersionStages(const char *value)
SecretVersionsListEntry & AddKmsKeyIds(Aws::String &&value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
SecretVersionsListEntry & WithVersionId(const char *value)
void SetVersionStages(Aws::Vector< Aws::String > &&value)
void SetVersionId(const char *value)
const Aws::Utils::DateTime & GetLastAccessedDate() const
const Aws::Utils::DateTime & GetCreatedDate() const
SecretVersionsListEntry & AddVersionStages(const Aws::String &value)
SecretVersionsListEntry & WithVersionId(Aws::String &&value)
bool KmsKeyIdsHasBeenSet() const
SecretVersionsListEntry & WithCreatedDate(const Aws::Utils::DateTime &value)
SecretVersionsListEntry & WithLastAccessedDate(const Aws::Utils::DateTime &value)
void SetLastAccessedDate(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetKmsKeyIds() const
SecretVersionsListEntry & WithVersionId(const Aws::String &value)
void SetVersionId(Aws::String &&value)
void SetKmsKeyIds(const Aws::Vector< Aws::String > &value)
SecretVersionsListEntry & WithVersionStages(Aws::Vector< Aws::String > &&value)
AWS_SECRETSMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedDate(const Aws::Utils::DateTime &value)
bool CreatedDateHasBeenSet() const
void SetVersionId(const Aws::String &value)
SecretVersionsListEntry & WithKmsKeyIds(const Aws::Vector< Aws::String > &value)
SecretVersionsListEntry & AddKmsKeyIds(const Aws::String &value)
void SetLastAccessedDate(const Aws::Utils::DateTime &value)
SecretVersionsListEntry & WithVersionStages(const Aws::Vector< Aws::String > &value)
SecretVersionsListEntry & AddKmsKeyIds(const char *value)
AWS_SECRETSMANAGER_API SecretVersionsListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersionStages(const Aws::Vector< Aws::String > &value)
bool VersionIdHasBeenSet() const
bool LastAccessedDateHasBeenSet() const
AWS_SECRETSMANAGER_API SecretVersionsListEntry(Aws::Utils::Json::JsonView jsonValue)
SecretVersionsListEntry & WithLastAccessedDate(Aws::Utils::DateTime &&value)
SecretVersionsListEntry & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetKmsKeyIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVersionId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue