7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/KMS_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 m_keyRotationEnabledHasBeenSet =
true;
38 m_keyRotationEnabled = value;
51 template <
typename KeyIdT = Aws::String>
53 m_keyIdHasBeenSet =
true;
54 m_keyId = std::forward<KeyIdT>(value);
56 template <
typename KeyIdT = Aws::String>
58 SetKeyId(std::forward<KeyIdT>(value));
70 m_rotationPeriodInDaysHasBeenSet =
true;
71 m_rotationPeriodInDays = value;
84 template <
typename NextRotationDateT = Aws::Utils::DateTime>
86 m_nextRotationDateHasBeenSet =
true;
87 m_nextRotationDate = std::forward<NextRotationDateT>(value);
89 template <
typename NextRotationDateT = Aws::Utils::DateTime>
106 template <
typename OnDemandRotationStartDateT = Aws::Utils::DateTime>
108 m_onDemandRotationStartDateHasBeenSet =
true;
109 m_onDemandRotationStartDate = std::forward<OnDemandRotationStartDateT>(value);
111 template <
typename OnDemandRotationStartDateT = Aws::Utils::DateTime>
121 template <
typename RequestIdT = Aws::String>
123 m_requestIdHasBeenSet =
true;
124 m_requestId = std::forward<RequestIdT>(value);
126 template <
typename RequestIdT = Aws::String>
135 bool m_keyRotationEnabled{
false};
139 int m_rotationPeriodInDays{0};
147 bool m_keyRotationEnabledHasBeenSet =
false;
148 bool m_keyIdHasBeenSet =
false;
149 bool m_rotationPeriodInDaysHasBeenSet =
false;
150 bool m_nextRotationDateHasBeenSet =
false;
151 bool m_onDemandRotationStartDateHasBeenSet =
false;
152 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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