7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsSecretsManagerSecretRotationRules.h>
41 template <
typename RotationRulesT = AwsSecretsManagerSecretRotationRules>
43 m_rotationRulesHasBeenSet =
true;
44 m_rotationRules = std::forward<RotationRulesT>(value);
46 template <
typename RotationRulesT = AwsSecretsManagerSecretRotationRules>
60 m_rotationOccurredWithinFrequencyHasBeenSet =
true;
61 m_rotationOccurredWithinFrequency = value;
77 template <
typename KmsKeyIdT = Aws::String>
79 m_kmsKeyIdHasBeenSet =
true;
80 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
82 template <
typename KmsKeyIdT = Aws::String>
96 m_rotationEnabledHasBeenSet =
true;
97 m_rotationEnabled = value;
111 template <
typename RotationLambdaArnT = Aws::String>
113 m_rotationLambdaArnHasBeenSet =
true;
114 m_rotationLambdaArn = std::forward<RotationLambdaArnT>(value);
116 template <
typename RotationLambdaArnT = Aws::String>
130 m_deletedHasBeenSet =
true;
145 template <
typename NameT = Aws::String>
147 m_nameHasBeenSet =
true;
148 m_name = std::forward<NameT>(value);
150 template <
typename NameT = Aws::String>
152 SetName(std::forward<NameT>(value));
163 template <
typename DescriptionT = Aws::String>
165 m_descriptionHasBeenSet =
true;
166 m_description = std::forward<DescriptionT>(value);
168 template <
typename DescriptionT = Aws::String>
177 bool m_rotationOccurredWithinFrequency{
false};
181 bool m_rotationEnabled{
false};
185 bool m_deleted{
false};
190 bool m_rotationRulesHasBeenSet =
false;
191 bool m_rotationOccurredWithinFrequencyHasBeenSet =
false;
192 bool m_kmsKeyIdHasBeenSet =
false;
193 bool m_rotationEnabledHasBeenSet =
false;
194 bool m_rotationLambdaArnHasBeenSet =
false;
195 bool m_deletedHasBeenSet =
false;
196 bool m_nameHasBeenSet =
false;
197 bool m_descriptionHasBeenSet =
false;
bool NameHasBeenSet() const
const Aws::String & GetKmsKeyId() const
void SetRotationEnabled(bool value)
const AwsSecretsManagerSecretRotationRules & GetRotationRules() const
AwsSecretsManagerSecretDetails & WithRotationLambdaArn(RotationLambdaArnT &&value)
bool RotationLambdaArnHasBeenSet() const
bool RotationOccurredWithinFrequencyHasBeenSet() const
const Aws::String & GetName() const
bool GetRotationEnabled() const
AwsSecretsManagerSecretDetails & WithName(NameT &&value)
AwsSecretsManagerSecretDetails & WithRotationEnabled(bool value)
bool DeletedHasBeenSet() const
AWS_SECURITYHUB_API AwsSecretsManagerSecretDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsSecretsManagerSecretDetails & WithDeleted(bool value)
AwsSecretsManagerSecretDetails & WithKmsKeyId(KmsKeyIdT &&value)
void SetRotationOccurredWithinFrequency(bool value)
AWS_SECURITYHUB_API AwsSecretsManagerSecretDetails()=default
AwsSecretsManagerSecretDetails & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
AwsSecretsManagerSecretDetails & WithRotationOccurredWithinFrequency(bool value)
void SetRotationRules(RotationRulesT &&value)
AwsSecretsManagerSecretDetails & WithRotationRules(RotationRulesT &&value)
void SetRotationLambdaArn(RotationLambdaArnT &&value)
bool GetRotationOccurredWithinFrequency() const
void SetDeleted(bool value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool RotationEnabledHasBeenSet() const
bool RotationRulesHasBeenSet() const
AWS_SECURITYHUB_API AwsSecretsManagerSecretDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRotationLambdaArn() const
bool DescriptionHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue