7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/model/ImportState.h>
10#include <aws/kms/model/KeyMaterialState.h>
11#include <aws/kms/model/ExpirationModelType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/kms/model/RotationType.h>
52 template<
typename KeyIdT = Aws::String>
53 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
54 template<
typename KeyIdT = Aws::String>
64 template<
typename KeyMaterialIdT = Aws::String>
65 void SetKeyMaterialId(KeyMaterialIdT&& value) { m_keyMaterialIdHasBeenSet =
true; m_keyMaterialId = std::forward<KeyMaterialIdT>(value); }
66 template<
typename KeyMaterialIdT = Aws::String>
77 template<
typename KeyMaterialDescriptionT = Aws::String>
78 void SetKeyMaterialDescription(KeyMaterialDescriptionT&& value) { m_keyMaterialDescriptionHasBeenSet =
true; m_keyMaterialDescription = std::forward<KeyMaterialDescriptionT>(value); }
79 template<
typename KeyMaterialDescriptionT = Aws::String>
141 template<
typename Val
idToT = Aws::Utils::DateTime>
142 void SetValidTo(ValidToT&& value) { m_validToHasBeenSet =
true; m_validTo = std::forward<ValidToT>(value); }
143 template<
typename Val
idToT = Aws::Utils::DateTime>
155 template<
typename RotationDateT = Aws::Utils::DateTime>
156 void SetRotationDate(RotationDateT&& value) { m_rotationDateHasBeenSet =
true; m_rotationDate = std::forward<RotationDateT>(value); }
157 template<
typename RotationDateT = Aws::Utils::DateTime>
178 bool m_keyIdHasBeenSet =
false;
181 bool m_keyMaterialIdHasBeenSet =
false;
184 bool m_keyMaterialDescriptionHasBeenSet =
false;
187 bool m_importStateHasBeenSet =
false;
190 bool m_keyMaterialStateHasBeenSet =
false;
193 bool m_expirationModelHasBeenSet =
false;
196 bool m_validToHasBeenSet =
false;
199 bool m_rotationDateHasBeenSet =
false;
202 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