7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename AWSAccountIdT = Aws::String>
48 void SetAWSAccountId(AWSAccountIdT&& value) { m_aWSAccountIdHasBeenSet =
true; m_aWSAccountId = std::forward<AWSAccountIdT>(value); }
49 template<
typename AWSAccountIdT = Aws::String>
61 inline void SetCreationDate(
double value) { m_creationDateHasBeenSet =
true; m_creationDate = value; }
71 template<
typename KeyIdT = Aws::String>
72 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
73 template<
typename KeyIdT = Aws::String>
84 template<
typename KeyManagerT = Aws::String>
85 void SetKeyManager(KeyManagerT&& value) { m_keyManagerHasBeenSet =
true; m_keyManager = std::forward<KeyManagerT>(value); }
86 template<
typename KeyManagerT = Aws::String>
99 template<
typename KeyStateT = Aws::String>
100 void SetKeyState(KeyStateT&& value) { m_keyStateHasBeenSet =
true; m_keyState = std::forward<KeyStateT>(value); }
101 template<
typename KeyStateT = Aws::String>
116 template<
typename OriginT = Aws::String>
117 void SetOrigin(OriginT&& value) { m_originHasBeenSet =
true; m_origin = std::forward<OriginT>(value); }
118 template<
typename OriginT = Aws::String>
128 template<
typename DescriptionT = Aws::String>
129 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
130 template<
typename DescriptionT = Aws::String>
140 inline void SetKeyRotationStatus(
bool value) { m_keyRotationStatusHasBeenSet =
true; m_keyRotationStatus = value; }
146 bool m_aWSAccountIdHasBeenSet =
false;
148 double m_creationDate{0.0};
149 bool m_creationDateHasBeenSet =
false;
152 bool m_keyIdHasBeenSet =
false;
155 bool m_keyManagerHasBeenSet =
false;
158 bool m_keyStateHasBeenSet =
false;
161 bool m_originHasBeenSet =
false;
164 bool m_descriptionHasBeenSet =
false;
166 bool m_keyRotationStatus{
false};
167 bool m_keyRotationStatusHasBeenSet =
false;
bool AWSAccountIdHasBeenSet() const
const Aws::String & GetKeyManager() const
const Aws::String & GetKeyId() const
void SetOrigin(OriginT &&value)
bool KeyRotationStatusHasBeenSet() const
bool OriginHasBeenSet() const
bool GetKeyRotationStatus() const
double GetCreationDate() const
AWS_SECURITYHUB_API AwsKmsKeyDetails()=default
void SetKeyState(KeyStateT &&value)
bool KeyManagerHasBeenSet() const
const Aws::String & GetOrigin() const
bool KeyStateHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_SECURITYHUB_API AwsKmsKeyDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsKmsKeyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsKmsKeyDetails & WithKeyRotationStatus(bool value)
const Aws::String & GetKeyState() const
void SetKeyId(KeyIdT &&value)
void SetKeyRotationStatus(bool value)
AwsKmsKeyDetails & WithDescription(DescriptionT &&value)
void SetKeyManager(KeyManagerT &&value)
AwsKmsKeyDetails & WithKeyManager(KeyManagerT &&value)
void SetAWSAccountId(AWSAccountIdT &&value)
void SetCreationDate(double value)
AwsKmsKeyDetails & WithKeyId(KeyIdT &&value)
const Aws::String & GetDescription() const
AwsKmsKeyDetails & WithKeyState(KeyStateT &&value)
AwsKmsKeyDetails & WithOrigin(OriginT &&value)
bool DescriptionHasBeenSet() const
AwsKmsKeyDetails & WithAWSAccountId(AWSAccountIdT &&value)
const Aws::String & GetAWSAccountId() const
AwsKmsKeyDetails & WithCreationDate(double value)
bool CreationDateHasBeenSet() const
bool KeyIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue