7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsSecretsManagerSecretRotationRules.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename RotationRulesT = AwsSecretsManagerSecretRotationRules>
48 void SetRotationRules(RotationRulesT&& value) { m_rotationRulesHasBeenSet =
true; m_rotationRules = std::forward<RotationRulesT>(value); }
49 template<
typename RotationRulesT = AwsSecretsManagerSecretRotationRules>
71 template<
typename KmsKeyIdT = Aws::String>
72 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
73 template<
typename KmsKeyIdT = Aws::String>
83 inline void SetRotationEnabled(
bool value) { m_rotationEnabledHasBeenSet =
true; m_rotationEnabled = value; }
93 template<
typename RotationLambdaArnT = Aws::String>
94 void SetRotationLambdaArn(RotationLambdaArnT&& value) { m_rotationLambdaArnHasBeenSet =
true; m_rotationLambdaArn = std::forward<RotationLambdaArnT>(value); }
95 template<
typename RotationLambdaArnT = Aws::String>
105 inline void SetDeleted(
bool value) { m_deletedHasBeenSet =
true; m_deleted = value; }
115 template<
typename NameT = Aws::String>
116 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
117 template<
typename NameT = Aws::String>
127 template<
typename DescriptionT = Aws::String>
128 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
129 template<
typename DescriptionT = Aws::String>
135 bool m_rotationRulesHasBeenSet =
false;
137 bool m_rotationOccurredWithinFrequency{
false};
138 bool m_rotationOccurredWithinFrequencyHasBeenSet =
false;
141 bool m_kmsKeyIdHasBeenSet =
false;
143 bool m_rotationEnabled{
false};
144 bool m_rotationEnabledHasBeenSet =
false;
147 bool m_rotationLambdaArnHasBeenSet =
false;
149 bool m_deleted{
false};
150 bool m_deletedHasBeenSet =
false;
153 bool m_nameHasBeenSet =
false;
156 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