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
55 template<
typename ARNT = Aws::String>
56 void SetARN(ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
57 template<
typename ARNT = Aws::String>
67 template<
typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
69 template<
typename NameT = Aws::String>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
93 template<
typename KmsKeyIdT = Aws::String>
94 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
95 template<
typename KmsKeyIdT = Aws::String>
106 inline void SetRotationEnabled(
bool value) { m_rotationEnabledHasBeenSet =
true; m_rotationEnabled = value; }
120 template<
typename RotationLambdaARNT = Aws::String>
121 void SetRotationLambdaARN(RotationLambdaARNT&& value) { m_rotationLambdaARNHasBeenSet =
true; m_rotationLambdaARN = std::forward<RotationLambdaARNT>(value); }
122 template<
typename RotationLambdaARNT = Aws::String>
132 template<
typename RotationRulesT = RotationRulesType>
133 void SetRotationRules(RotationRulesT&& value) { m_rotationRulesHasBeenSet =
true; m_rotationRules = std::forward<RotationRulesT>(value); }
134 template<
typename RotationRulesT = RotationRulesType>
146 template<
typename LastRotatedDateT = Aws::Utils::DateTime>
147 void SetLastRotatedDate(LastRotatedDateT&& value) { m_lastRotatedDateHasBeenSet =
true; m_lastRotatedDate = std::forward<LastRotatedDateT>(value); }
148 template<
typename LastRotatedDateT = Aws::Utils::DateTime>
158 template<
typename LastChangedDateT = Aws::Utils::DateTime>
159 void SetLastChangedDate(LastChangedDateT&& value) { m_lastChangedDateHasBeenSet =
true; m_lastChangedDate = std::forward<LastChangedDateT>(value); }
160 template<
typename LastChangedDateT = Aws::Utils::DateTime>
171 template<
typename LastAccessedDateT = Aws::Utils::DateTime>
172 void SetLastAccessedDate(LastAccessedDateT&& value) { m_lastAccessedDateHasBeenSet =
true; m_lastAccessedDate = std::forward<LastAccessedDateT>(value); }
173 template<
typename LastAccessedDateT = Aws::Utils::DateTime>
188 template<
typename DeletedDateT = Aws::Utils::DateTime>
189 void SetDeletedDate(DeletedDateT&& value) { m_deletedDateHasBeenSet =
true; m_deletedDate = std::forward<DeletedDateT>(value); }
190 template<
typename DeletedDateT = Aws::Utils::DateTime>
202 template<
typename NextRotationDateT = Aws::Utils::DateTime>
203 void SetNextRotationDate(NextRotationDateT&& value) { m_nextRotationDateHasBeenSet =
true; m_nextRotationDate = std::forward<NextRotationDateT>(value); }
204 template<
typename NextRotationDateT = Aws::Utils::DateTime>
219 template<
typename TagsT = Aws::Vector<Tag>>
220 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
221 template<
typename TagsT = Aws::Vector<Tag>>
223 template<
typename TagsT = Tag>
224 SecretListEntry&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
238 template<
typename SecretVersionsToStagesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
239 void SetSecretVersionsToStages(SecretVersionsToStagesT&& value) { m_secretVersionsToStagesHasBeenSet =
true; m_secretVersionsToStages = std::forward<SecretVersionsToStagesT>(value); }
240 template<
typename SecretVersionsToStagesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
242 template<
typename SecretVersionsToStagesKeyT = Aws::String,
typename SecretVersionsToStagesValueT = Aws::Vector<Aws::String>>
244 m_secretVersionsToStagesHasBeenSet =
true; m_secretVersionsToStages.emplace(std::forward<SecretVersionsToStagesKeyT>(key), std::forward<SecretVersionsToStagesValueT>(value));
return *
this;
254 template<
typename OwningServiceT = Aws::String>
255 void SetOwningService(OwningServiceT&& value) { m_owningServiceHasBeenSet =
true; m_owningService = std::forward<OwningServiceT>(value); }
256 template<
typename OwningServiceT = Aws::String>
266 template<
typename CreatedDateT = Aws::Utils::DateTime>
267 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
268 template<
typename CreatedDateT = Aws::Utils::DateTime>
278 template<
typename PrimaryRegionT = Aws::String>
279 void SetPrimaryRegion(PrimaryRegionT&& value) { m_primaryRegionHasBeenSet =
true; m_primaryRegion = std::forward<PrimaryRegionT>(value); }
280 template<
typename PrimaryRegionT = Aws::String>
286 bool m_aRNHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
292 bool m_descriptionHasBeenSet =
false;
295 bool m_kmsKeyIdHasBeenSet =
false;
297 bool m_rotationEnabled{
false};
298 bool m_rotationEnabledHasBeenSet =
false;
301 bool m_rotationLambdaARNHasBeenSet =
false;
303 RotationRulesType m_rotationRules;
304 bool m_rotationRulesHasBeenSet =
false;
307 bool m_lastRotatedDateHasBeenSet =
false;
310 bool m_lastChangedDateHasBeenSet =
false;
313 bool m_lastAccessedDateHasBeenSet =
false;
316 bool m_deletedDateHasBeenSet =
false;
319 bool m_nextRotationDateHasBeenSet =
false;
322 bool m_tagsHasBeenSet =
false;
325 bool m_secretVersionsToStagesHasBeenSet =
false;
328 bool m_owningServiceHasBeenSet =
false;
331 bool m_createdDateHasBeenSet =
false;
334 bool m_primaryRegionHasBeenSet =
false;
void SetRotationRules(RotationRulesT &&value)
void SetRotationEnabled(bool value)
void SetDeletedDate(DeletedDateT &&value)
bool NextRotationDateHasBeenSet() const
SecretListEntry & WithOwningService(OwningServiceT &&value)
bool CreatedDateHasBeenSet() const
bool DeletedDateHasBeenSet() const
const Aws::String & GetName() const
SecretListEntry & WithARN(ARNT &&value)
bool RotationRulesHasBeenSet() const
const Aws::Utils::DateTime & GetLastRotatedDate() const
bool TagsHasBeenSet() const
const RotationRulesType & GetRotationRules() const
void SetSecretVersionsToStages(SecretVersionsToStagesT &&value)
bool LastAccessedDateHasBeenSet() const
void SetRotationLambdaARN(RotationLambdaARNT &&value)
bool RotationLambdaARNHasBeenSet() const
const Aws::String & GetRotationLambdaARN() const
SecretListEntry & WithPrimaryRegion(PrimaryRegionT &&value)
AWS_SECRETSMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDeletedDate() const
void SetTags(TagsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetOwningService() const
void SetLastAccessedDate(LastAccessedDateT &&value)
const Aws::Vector< Tag > & GetTags() const
SecretListEntry & WithRotationLambdaARN(RotationLambdaARNT &&value)
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
SecretListEntry & WithRotationRules(RotationRulesT &&value)
AWS_SECRETSMANAGER_API SecretListEntry(Aws::Utils::Json::JsonView jsonValue)
SecretListEntry & WithNextRotationDate(NextRotationDateT &&value)
SecretListEntry & WithDescription(DescriptionT &&value)
void SetARN(ARNT &&value)
SecretListEntry & WithLastChangedDate(LastChangedDateT &&value)
bool ARNHasBeenSet() const
bool NameHasBeenSet() const
bool GetRotationEnabled() const
AWS_SECRETSMANAGER_API SecretListEntry()=default
SecretListEntry & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastChangedDate() const
void SetLastChangedDate(LastChangedDateT &&value)
const Aws::Utils::DateTime & GetNextRotationDate() const
SecretListEntry & WithKmsKeyId(KmsKeyIdT &&value)
bool LastRotatedDateHasBeenSet() const
bool RotationEnabledHasBeenSet() const
SecretListEntry & WithRotationEnabled(bool value)
SecretListEntry & WithLastRotatedDate(LastRotatedDateT &&value)
SecretListEntry & WithCreatedDate(CreatedDateT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSecretVersionsToStages() const
void SetCreatedDate(CreatedDateT &&value)
const Aws::Utils::DateTime & GetLastAccessedDate() const
void SetLastRotatedDate(LastRotatedDateT &&value)
SecretListEntry & AddSecretVersionsToStages(SecretVersionsToStagesKeyT &&key, SecretVersionsToStagesValueT &&value)
bool OwningServiceHasBeenSet() const
const Aws::String & GetDescription() const
bool LastChangedDateHasBeenSet() const
void SetName(NameT &&value)
SecretListEntry & WithSecretVersionsToStages(SecretVersionsToStagesT &&value)
AWS_SECRETSMANAGER_API SecretListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKmsKeyId() const
SecretListEntry & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
bool PrimaryRegionHasBeenSet() const
SecretListEntry & WithDeletedDate(DeletedDateT &&value)
const Aws::String & GetARN() const
bool KmsKeyIdHasBeenSet() const
SecretListEntry & WithLastAccessedDate(LastAccessedDateT &&value)
void SetOwningService(OwningServiceT &&value)
SecretListEntry & AddTags(TagsT &&value)
void SetPrimaryRegion(PrimaryRegionT &&value)
void SetNextRotationDate(NextRotationDateT &&value)
bool SecretVersionsToStagesHasBeenSet() const
const Aws::String & GetPrimaryRegion() 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