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>
14#include <aws/secretsmanager/model/ReplicationStatusType.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace SecretsManager
48 inline void SetARN(
const char* value) { m_aRN.assign(value); }
61 inline void SetName(
const char* value) { m_name.assign(value); }
74 inline void SetDescription(
const char* value) { m_description.assign(value); }
90 inline void SetKmsKeyId(
const char* value) { m_kmsKeyId.assign(value); }
315 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
330 bool m_rotationEnabled;
DescribeSecretResult & WithLastRotatedDate(const Aws::Utils::DateTime &value)
DescribeSecretResult & WithPrimaryRegion(const char *value)
const Aws::Utils::DateTime & GetNextRotationDate() const
void SetRotationRules(RotationRulesType &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetVersionIdsToStages() const
void SetARN(const char *value)
void SetOwningService(Aws::String &&value)
void SetPrimaryRegion(const Aws::String &value)
void SetPrimaryRegion(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetName(const Aws::String &value)
DescribeSecretResult & WithCreatedDate(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
void SetTags(const Aws::Vector< Tag > &value)
DescribeSecretResult & WithNextRotationDate(const Aws::Utils::DateTime &value)
const Aws::String & GetOwningService() const
DescribeSecretResult & WithKmsKeyId(Aws::String &&value)
void SetDescription(const char *value)
DescribeSecretResult & WithVersionIdsToStages(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Vector< ReplicationStatusType > & GetReplicationStatus() const
DescribeSecretResult & WithCreatedDate(const Aws::Utils::DateTime &value)
DescribeSecretResult & WithOwningService(const char *value)
DescribeSecretResult & WithRotationEnabled(bool value)
void SetVersionIdsToStages(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
DescribeSecretResult & WithRotationLambdaARN(const char *value)
DescribeSecretResult & WithKmsKeyId(const char *value)
void SetARN(const Aws::String &value)
DescribeSecretResult & WithPrimaryRegion(const Aws::String &value)
AWS_SECRETSMANAGER_API DescribeSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSecretResult & WithRequestId(const char *value)
DescribeSecretResult & AddVersionIdsToStages(const Aws::String &key, Aws::Vector< Aws::String > &&value)
DescribeSecretResult & WithRotationLambdaARN(const Aws::String &value)
DescribeSecretResult & WithName(Aws::String &&value)
DescribeSecretResult & WithOwningService(const Aws::String &value)
DescribeSecretResult & WithVersionIdsToStages(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetRequestId(const Aws::String &value)
DescribeSecretResult & WithDescription(const char *value)
void SetDeletedDate(Aws::Utils::DateTime &&value)
void SetLastChangedDate(const Aws::Utils::DateTime &value)
void SetRotationRules(const RotationRulesType &value)
void SetARN(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetRotationLambdaARN(const char *value)
void SetNextRotationDate(const Aws::Utils::DateTime &value)
void SetName(const char *value)
void SetDescription(Aws::String &&value)
DescribeSecretResult & WithLastChangedDate(Aws::Utils::DateTime &&value)
DescribeSecretResult & WithDeletedDate(Aws::Utils::DateTime &&value)
bool GetRotationEnabled() const
const Aws::String & GetRotationLambdaARN() const
DescribeSecretResult & WithName(const Aws::String &value)
void SetLastRotatedDate(const Aws::Utils::DateTime &value)
const Aws::Vector< Tag > & GetTags() const
DescribeSecretResult & WithRotationLambdaARN(Aws::String &&value)
DescribeSecretResult & WithLastAccessedDate(const Aws::Utils::DateTime &value)
DescribeSecretResult & WithARN(const char *value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
DescribeSecretResult & AddVersionIdsToStages(const char *key, Aws::Vector< Aws::String > &&value)
DescribeSecretResult & AddTags(Tag &&value)
DescribeSecretResult & WithDescription(const Aws::String &value)
DescribeSecretResult & AddTags(const Tag &value)
void SetLastAccessedDate(const Aws::Utils::DateTime &value)
DescribeSecretResult & WithDescription(Aws::String &&value)
void SetRotationLambdaARN(const Aws::String &value)
AWS_SECRETSMANAGER_API DescribeSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Utils::DateTime & GetDeletedDate() const
DescribeSecretResult & AddReplicationStatus(const ReplicationStatusType &value)
DescribeSecretResult & AddVersionIdsToStages(const char *key, const Aws::Vector< Aws::String > &value)
DescribeSecretResult & WithOwningService(Aws::String &&value)
void SetNextRotationDate(Aws::Utils::DateTime &&value)
DescribeSecretResult & WithKmsKeyId(const Aws::String &value)
DescribeSecretResult & WithRotationRules(RotationRulesType &&value)
DescribeSecretResult & AddVersionIdsToStages(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetKmsKeyId() const
DescribeSecretResult & WithReplicationStatus(Aws::Vector< ReplicationStatusType > &&value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetKmsKeyId(const char *value)
DescribeSecretResult & WithLastChangedDate(const Aws::Utils::DateTime &value)
DescribeSecretResult & WithNextRotationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastRotatedDate() const
void SetRotationLambdaARN(Aws::String &&value)
void SetReplicationStatus(Aws::Vector< ReplicationStatusType > &&value)
void SetKmsKeyId(Aws::String &&value)
DescribeSecretResult & WithPrimaryRegion(Aws::String &&value)
AWS_SECRETSMANAGER_API DescribeSecretResult()
DescribeSecretResult & WithDeletedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
DescribeSecretResult & WithARN(const Aws::String &value)
DescribeSecretResult & WithLastAccessedDate(Aws::Utils::DateTime &&value)
void SetPrimaryRegion(const char *value)
const RotationRulesType & GetRotationRules() const
void SetDeletedDate(const Aws::Utils::DateTime &value)
void SetRequestId(const char *value)
void SetKmsKeyId(const Aws::String &value)
DescribeSecretResult & WithTags(const Aws::Vector< Tag > &value)
void SetVersionIdsToStages(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::String & GetPrimaryRegion() const
void SetName(Aws::String &&value)
void SetRotationEnabled(bool value)
void SetReplicationStatus(const Aws::Vector< ReplicationStatusType > &value)
void SetLastAccessedDate(Aws::Utils::DateTime &&value)
DescribeSecretResult & AddVersionIdsToStages(const Aws::String &key, const Aws::Vector< Aws::String > &value)
DescribeSecretResult & WithRequestId(const Aws::String &value)
const Aws::String & GetARN() const
DescribeSecretResult & WithARN(Aws::String &&value)
DescribeSecretResult & WithLastRotatedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastAccessedDate() const
const Aws::Utils::DateTime & GetLastChangedDate() const
void SetLastRotatedDate(Aws::Utils::DateTime &&value)
void SetOwningService(const Aws::String &value)
DescribeSecretResult & WithRotationRules(const RotationRulesType &value)
void SetOwningService(const char *value)
DescribeSecretResult & WithReplicationStatus(const Aws::Vector< ReplicationStatusType > &value)
DescribeSecretResult & WithRequestId(Aws::String &&value)
DescribeSecretResult & AddVersionIdsToStages(Aws::String &&key, Aws::Vector< Aws::String > &&value)
DescribeSecretResult & WithName(const char *value)
DescribeSecretResult & AddReplicationStatus(ReplicationStatusType &&value)
DescribeSecretResult & WithTags(Aws::Vector< Tag > &&value)
void SetDescription(const Aws::String &value)
void SetLastChangedDate(Aws::Utils::DateTime &&value)
const Aws::String & GetRequestId() const
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