7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
41 template <
typename AWSAccountIdT = Aws::String>
43 m_aWSAccountIdHasBeenSet =
true;
44 m_aWSAccountId = std::forward<AWSAccountIdT>(value);
46 template <
typename AWSAccountIdT = Aws::String>
62 m_creationDateHasBeenSet =
true;
63 m_creationDate = value;
77 template <
typename KeyIdT = Aws::String>
79 m_keyIdHasBeenSet =
true;
80 m_keyId = std::forward<KeyIdT>(value);
82 template <
typename KeyIdT = Aws::String>
84 SetKeyId(std::forward<KeyIdT>(value));
96 template <
typename KeyManagerT = Aws::String>
98 m_keyManagerHasBeenSet =
true;
99 m_keyManager = std::forward<KeyManagerT>(value);
101 template <
typename KeyManagerT = Aws::String>
117 template <
typename KeyStateT = Aws::String>
119 m_keyStateHasBeenSet =
true;
120 m_keyState = std::forward<KeyStateT>(value);
122 template <
typename KeyStateT = Aws::String>
140 template <
typename OriginT = Aws::String>
142 m_originHasBeenSet =
true;
143 m_origin = std::forward<OriginT>(value);
145 template <
typename OriginT = Aws::String>
158 template <
typename DescriptionT = Aws::String>
160 m_descriptionHasBeenSet =
true;
161 m_description = std::forward<DescriptionT>(value);
163 template <
typename DescriptionT = Aws::String>
177 m_keyRotationStatusHasBeenSet =
true;
178 m_keyRotationStatus = value;
188 double m_creationDate{0.0};
200 bool m_keyRotationStatus{
false};
201 bool m_aWSAccountIdHasBeenSet =
false;
202 bool m_creationDateHasBeenSet =
false;
203 bool m_keyIdHasBeenSet =
false;
204 bool m_keyManagerHasBeenSet =
false;
205 bool m_keyStateHasBeenSet =
false;
206 bool m_originHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
208 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