7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
63 template <
typename ValueT = Aws::String>
65 m_valueHasBeenSet =
true;
66 m_value = std::forward<ValueT>(value);
68 template <
typename ValueT = Aws::String>
70 SetValue(std::forward<ValueT>(value));
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
98 template <
typename CustomerIdT = Aws::String>
100 m_customerIdHasBeenSet =
true;
101 m_customerId = std::forward<CustomerIdT>(value);
103 template <
typename CustomerIdT = Aws::String>
115 template <
typename DescriptionT = Aws::String>
117 m_descriptionHasBeenSet =
true;
118 m_description = std::forward<DescriptionT>(value);
120 template <
typename DescriptionT = Aws::String>
133 m_enabledHasBeenSet =
true;
147 template <
typename CreatedDateT = Aws::Utils::DateTime>
149 m_createdDateHasBeenSet =
true;
150 m_createdDate = std::forward<CreatedDateT>(value);
152 template <
typename CreatedDateT = Aws::Utils::DateTime>
164 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
166 m_lastUpdatedDateHasBeenSet =
true;
167 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
169 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
181 template <
typename StageKeysT = Aws::Vector<Aws::String>>
183 m_stageKeysHasBeenSet =
true;
184 m_stageKeys = std::forward<StageKeysT>(value);
186 template <
typename StageKeysT = Aws::Vector<Aws::String>>
191 template <
typename StageKeysT = Aws::String>
193 m_stageKeysHasBeenSet =
true;
194 m_stageKeys.emplace_back(std::forward<StageKeysT>(value));
205 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 m_tagsHasBeenSet =
true;
208 m_tags = std::forward<TagsT>(value);
210 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 SetTags(std::forward<TagsT>(value));
215 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
217 m_tagsHasBeenSet =
true;
218 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
226 template <
typename RequestIdT = Aws::String>
228 m_requestIdHasBeenSet =
true;
229 m_requestId = std::forward<RequestIdT>(value);
231 template <
typename RequestIdT = Aws::String>
250 bool m_enabled{
false};
262 bool m_idHasBeenSet =
false;
263 bool m_valueHasBeenSet =
false;
264 bool m_nameHasBeenSet =
false;
265 bool m_customerIdHasBeenSet =
false;
266 bool m_descriptionHasBeenSet =
false;
267 bool m_enabledHasBeenSet =
false;
268 bool m_createdDateHasBeenSet =
false;
269 bool m_lastUpdatedDateHasBeenSet =
false;
270 bool m_stageKeysHasBeenSet =
false;
271 bool m_tagsHasBeenSet =
false;
272 bool m_requestIdHasBeenSet =
false;
UpdateApiKeyResult & AddStageKeys(StageKeysT &&value)
UpdateApiKeyResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAY_API UpdateApiKeyResult()=default
UpdateApiKeyResult & WithCustomerId(CustomerIdT &&value)
const Aws::String & GetCustomerId() const
void SetStageKeys(StageKeysT &&value)
UpdateApiKeyResult & WithDescription(DescriptionT &&value)
void SetCustomerId(CustomerIdT &&value)
UpdateApiKeyResult & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetName() const
AWS_APIGATEWAY_API UpdateApiKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Vector< Aws::String > & GetStageKeys() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateApiKeyResult & WithId(IdT &&value)
void SetValue(ValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetEnabled(bool value)
UpdateApiKeyResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::String & GetValue() const
UpdateApiKeyResult & WithName(NameT &&value)
UpdateApiKeyResult & WithValue(ValueT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetId() const
void SetName(NameT &&value)
const Aws::String & GetDescription() const
AWS_APIGATEWAY_API UpdateApiKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
UpdateApiKeyResult & WithStageKeys(StageKeysT &&value)
UpdateApiKeyResult & WithTags(TagsT &&value)
UpdateApiKeyResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateApiKeyResult & WithEnabled(bool value)
void SetCreatedDate(CreatedDateT &&value)
const Aws::String & GetRequestId() const
void SetDescription(DescriptionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue