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>
11#include <aws/kms/model/KeyLastUsageData.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename KeyIdT = Aws::String>
39 m_keyIdHasBeenSet =
true;
40 m_keyId = std::forward<KeyIdT>(value);
42 template <
typename KeyIdT = Aws::String>
44 SetKeyId(std::forward<KeyIdT>(value));
56 template <
typename KeyLastUsageT = KeyLastUsageData>
58 m_keyLastUsageHasBeenSet =
true;
59 m_keyLastUsage = std::forward<KeyLastUsageT>(value);
61 template <
typename KeyLastUsageT = KeyLastUsageData>
74 template <
typename TrackingStartDateT = Aws::Utils::DateTime>
76 m_trackingStartDateHasBeenSet =
true;
77 m_trackingStartDate = std::forward<TrackingStartDateT>(value);
79 template <
typename TrackingStartDateT = Aws::Utils::DateTime>
91 template <
typename KeyCreationDateT = Aws::Utils::DateTime>
93 m_keyCreationDateHasBeenSet =
true;
94 m_keyCreationDate = std::forward<KeyCreationDateT>(value);
96 template <
typename KeyCreationDateT = Aws::Utils::DateTime>
106 template <
typename RequestIdT = Aws::String>
108 m_requestIdHasBeenSet =
true;
109 m_requestId = std::forward<RequestIdT>(value);
111 template <
typename RequestIdT = Aws::String>
130 bool m_keyIdHasBeenSet =
false;
131 bool m_keyLastUsageHasBeenSet =
false;
132 bool m_trackingStartDateHasBeenSet =
false;
133 bool m_keyCreationDateHasBeenSet =
false;
134 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
GetKeyLastUsageResult & WithKeyId(KeyIdT &&value)
GetKeyLastUsageResult & WithTrackingStartDate(TrackingStartDateT &&value)
void SetTrackingStartDate(TrackingStartDateT &&value)
void SetKeyLastUsage(KeyLastUsageT &&value)
const Aws::String & GetKeyId() const
void SetRequestId(RequestIdT &&value)
void SetKeyCreationDate(KeyCreationDateT &&value)
AWS_KMS_API GetKeyLastUsageResult()=default
AWS_KMS_API GetKeyLastUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKeyLastUsageResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetTrackingStartDate() const
GetKeyLastUsageResult & WithKeyCreationDate(KeyCreationDateT &&value)
GetKeyLastUsageResult & WithKeyLastUsage(KeyLastUsageT &&value)
void SetKeyId(KeyIdT &&value)
const KeyLastUsageData & GetKeyLastUsage() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KMS_API GetKeyLastUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetKeyCreationDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue