7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/KMS_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
36 m_keyRotationEnabledHasBeenSet =
true;
37 m_keyRotationEnabled = value;
50 template <
typename KeyIdT = Aws::String>
52 m_keyIdHasBeenSet =
true;
53 m_keyId = std::forward<KeyIdT>(value);
55 template <
typename KeyIdT = Aws::String>
57 SetKeyId(std::forward<KeyIdT>(value));
69 m_rotationPeriodInDaysHasBeenSet =
true;
70 m_rotationPeriodInDays = value;
83 template <
typename NextRotationDateT = Aws::Utils::DateTime>
85 m_nextRotationDateHasBeenSet =
true;
86 m_nextRotationDate = std::forward<NextRotationDateT>(value);
88 template <
typename NextRotationDateT = Aws::Utils::DateTime>
105 template <
typename OnDemandRotationStartDateT = Aws::Utils::DateTime>
107 m_onDemandRotationStartDateHasBeenSet =
true;
108 m_onDemandRotationStartDate = std::forward<OnDemandRotationStartDateT>(value);
110 template <
typename OnDemandRotationStartDateT = Aws::Utils::DateTime>
120 template <
typename RequestIdT = Aws::String>
122 m_requestIdHasBeenSet =
true;
123 m_requestId = std::forward<RequestIdT>(value);
125 template <
typename RequestIdT = Aws::String>
132 bool m_keyRotationEnabled{
false};
136 int m_rotationPeriodInDays{0};
143 bool m_keyRotationEnabledHasBeenSet =
false;
144 bool m_keyIdHasBeenSet =
false;
145 bool m_rotationPeriodInDaysHasBeenSet =
false;
146 bool m_nextRotationDateHasBeenSet =
false;
147 bool m_onDemandRotationStartDateHasBeenSet =
false;
148 bool m_requestIdHasBeenSet =
false;
GetKeyRotationStatusResult & WithNextRotationDate(NextRotationDateT &&value)
void SetRequestId(RequestIdT &&value)
int GetRotationPeriodInDays() const
GetKeyRotationStatusResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetOnDemandRotationStartDate() const
GetKeyRotationStatusResult & WithOnDemandRotationStartDate(OnDemandRotationStartDateT &&value)
void SetKeyId(KeyIdT &&value)
void SetOnDemandRotationStartDate(OnDemandRotationStartDateT &&value)
GetKeyRotationStatusResult & WithRotationPeriodInDays(int value)
const Aws::String & GetRequestId() const
GetKeyRotationStatusResult & WithKeyId(KeyIdT &&value)
void SetKeyRotationEnabled(bool value)
const Aws::String & GetKeyId() const
const Aws::Utils::DateTime & GetNextRotationDate() const
GetKeyRotationStatusResult & WithKeyRotationEnabled(bool value)
AWS_KMS_API GetKeyRotationStatusResult()=default
void SetRotationPeriodInDays(int value)
void SetNextRotationDate(NextRotationDateT &&value)
AWS_KMS_API GetKeyRotationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API GetKeyRotationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
bool GetKeyRotationEnabled() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue