7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/ApiKeyStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace AmplifyGen3 {
38 template <
typename ApiKeyT = Aws::String>
40 m_apiKeyHasBeenSet =
true;
41 m_apiKey = std::forward<ApiKeyT>(value);
43 template <
typename ApiKeyT = Aws::String>
56 template <
typename ApiKeyIdT = Aws::String>
58 m_apiKeyIdHasBeenSet =
true;
59 m_apiKeyId = std::forward<ApiKeyIdT>(value);
61 template <
typename ApiKeyIdT = Aws::String>
74 template <
typename CreatedAtT = Aws::Utils::DateTime>
76 m_createdAtHasBeenSet =
true;
77 m_createdAt = std::forward<CreatedAtT>(value);
79 template <
typename CreatedAtT = Aws::Utils::DateTime>
92 m_statusHasBeenSet =
true;
108 template <
typename UpdatedAtT = Aws::Utils::DateTime>
110 m_updatedAtHasBeenSet =
true;
111 m_updatedAt = std::forward<UpdatedAtT>(value);
113 template <
typename UpdatedAtT = Aws::Utils::DateTime>
123 template <
typename RequestIdT = Aws::String>
125 m_requestIdHasBeenSet =
true;
126 m_requestId = std::forward<RequestIdT>(value);
128 template <
typename RequestIdT = Aws::String>
149 bool m_apiKeyHasBeenSet =
false;
150 bool m_apiKeyIdHasBeenSet =
false;
151 bool m_createdAtHasBeenSet =
false;
152 bool m_statusHasBeenSet =
false;
153 bool m_updatedAtHasBeenSet =
false;
154 bool m_requestIdHasBeenSet =
false;
AWS_AMPLIFYGEN3_API GetApiKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFYGEN3_API GetApiKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApiKeyId(ApiKeyIdT &&value)
void SetStatus(ApiKeyStatus value)
GetApiKeyResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_AMPLIFYGEN3_API GetApiKeyResult()=default
ApiKeyStatus GetStatus() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetApiKey() const
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetApiKeyId() const
GetApiKeyResult & WithStatus(ApiKeyStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetApiKey(ApiKeyT &&value)
GetApiKeyResult & WithApiKey(ApiKeyT &&value)
GetApiKeyResult & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetApiKeyResult & WithRequestId(RequestIdT &&value)
GetApiKeyResult & WithApiKeyId(ApiKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue