7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
62 template<
typename ValueT = Aws::String>
63 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
64 template<
typename ValueT = Aws::String>
73 template<
typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
75 template<
typename NameT = Aws::String>
85 template<
typename CustomerIdT = Aws::String>
86 void SetCustomerId(CustomerIdT&& value) { m_customerIdHasBeenSet =
true; m_customerId = std::forward<CustomerIdT>(value); }
87 template<
typename CustomerIdT = Aws::String>
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
107 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
116 template<
typename CreatedDateT = Aws::Utils::DateTime>
117 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
118 template<
typename CreatedDateT = Aws::Utils::DateTime>
127 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
128 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
129 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
138 template<
typename StageKeysT = Aws::Vector<Aws::String>>
139 void SetStageKeys(StageKeysT&& value) { m_stageKeysHasBeenSet =
true; m_stageKeys = std::forward<StageKeysT>(value); }
140 template<
typename StageKeysT = Aws::Vector<Aws::String>>
142 template<
typename StageKeysT = Aws::String>
152 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
154 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
158 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
165 template<
typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
167 template<
typename RequestIdT = Aws::String>
173 bool m_idHasBeenSet =
false;
176 bool m_valueHasBeenSet =
false;
179 bool m_nameHasBeenSet =
false;
182 bool m_customerIdHasBeenSet =
false;
185 bool m_descriptionHasBeenSet =
false;
187 bool m_enabled{
false};
188 bool m_enabledHasBeenSet =
false;
191 bool m_createdDateHasBeenSet =
false;
194 bool m_lastUpdatedDateHasBeenSet =
false;
197 bool m_stageKeysHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
203 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
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