7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/KMS_EXPORTS.h>
10#include <aws/kms/model/ExpirationModelType.h>
11#include <aws/kms/model/ImportState.h>
12#include <aws/kms/model/KeyMaterialState.h>
13#include <aws/kms/model/RotationType.h>
46 template <
typename KeyIdT = Aws::String>
48 m_keyIdHasBeenSet =
true;
49 m_keyId = std::forward<KeyIdT>(value);
51 template <
typename KeyIdT = Aws::String>
53 SetKeyId(std::forward<KeyIdT>(value));
64 template <
typename KeyMaterialIdT = Aws::String>
66 m_keyMaterialIdHasBeenSet =
true;
67 m_keyMaterialId = std::forward<KeyMaterialIdT>(value);
69 template <
typename KeyMaterialIdT = Aws::String>
83 template <
typename KeyMaterialDescriptionT = Aws::String>
85 m_keyMaterialDescriptionHasBeenSet =
true;
86 m_keyMaterialDescription = std::forward<KeyMaterialDescriptionT>(value);
88 template <
typename KeyMaterialDescriptionT = Aws::String>
105 m_importStateHasBeenSet =
true;
106 m_importState = value;
140 m_keyMaterialStateHasBeenSet =
true;
141 m_keyMaterialState = value;
161 m_expirationModelHasBeenSet =
true;
162 m_expirationModel = value;
179 template <
typename Val
idToT = Aws::Utils::DateTime>
181 m_validToHasBeenSet =
true;
182 m_validTo = std::forward<ValidToT>(value);
184 template <
typename Val
idToT = Aws::Utils::DateTime>
199 template <
typename RotationDateT = Aws::Utils::DateTime>
201 m_rotationDateHasBeenSet =
true;
202 m_rotationDate = std::forward<RotationDateT>(value);
204 template <
typename RotationDateT = Aws::Utils::DateTime>
223 m_rotationTypeHasBeenSet =
true;
224 m_rotationType = value;
249 bool m_keyIdHasBeenSet =
false;
250 bool m_keyMaterialIdHasBeenSet =
false;
251 bool m_keyMaterialDescriptionHasBeenSet =
false;
252 bool m_importStateHasBeenSet =
false;
253 bool m_keyMaterialStateHasBeenSet =
false;
254 bool m_expirationModelHasBeenSet =
false;
255 bool m_validToHasBeenSet =
false;
256 bool m_rotationDateHasBeenSet =
false;
257 bool m_rotationTypeHasBeenSet =
false;
RotationsListEntry & WithRotationType(RotationType value)
bool RotationTypeHasBeenSet() const
KeyMaterialState GetKeyMaterialState() const
const Aws::String & GetKeyId() const
void SetKeyMaterialDescription(KeyMaterialDescriptionT &&value)
AWS_KMS_API RotationsListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRotationDate(RotationDateT &&value)
RotationsListEntry & WithRotationDate(RotationDateT &&value)
RotationsListEntry & WithExpirationModel(ExpirationModelType value)
RotationsListEntry & WithImportState(ImportState value)
AWS_KMS_API RotationsListEntry(Aws::Utils::Json::JsonView jsonValue)
bool KeyMaterialStateHasBeenSet() const
bool ValidToHasBeenSet() const
RotationsListEntry & WithKeyId(KeyIdT &&value)
const Aws::String & GetKeyMaterialDescription() const
bool KeyIdHasBeenSet() const
bool KeyMaterialIdHasBeenSet() const
const Aws::String & GetKeyMaterialId() const
RotationsListEntry & WithKeyMaterialDescription(KeyMaterialDescriptionT &&value)
void SetValidTo(ValidToT &&value)
ImportState GetImportState() const
RotationsListEntry & WithValidTo(ValidToT &&value)
void SetRotationType(RotationType value)
void SetKeyMaterialId(KeyMaterialIdT &&value)
bool ImportStateHasBeenSet() const
bool ExpirationModelHasBeenSet() const
bool KeyMaterialDescriptionHasBeenSet() const
void SetExpirationModel(ExpirationModelType value)
void SetImportState(ImportState value)
AWS_KMS_API RotationsListEntry()=default
ExpirationModelType GetExpirationModel() const
const Aws::Utils::DateTime & GetRotationDate() const
bool RotationDateHasBeenSet() const
void SetKeyMaterialState(KeyMaterialState value)
const Aws::Utils::DateTime & GetValidTo() const
void SetKeyId(KeyIdT &&value)
RotationType GetRotationType() const
RotationsListEntry & WithKeyMaterialState(KeyMaterialState value)
RotationsListEntry & WithKeyMaterialId(KeyMaterialIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue