7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/StageKey.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>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 m_enabledHasBeenSet =
true;
98 m_generateDistinctIdHasBeenSet =
true;
99 m_generateDistinctId = value;
113 template <
typename ValueT = Aws::String>
115 m_valueHasBeenSet =
true;
116 m_value = std::forward<ValueT>(value);
118 template <
typename ValueT = Aws::String>
120 SetValue(std::forward<ValueT>(value));
132 template <
typename StageKeysT = Aws::Vector<StageKey>>
134 m_stageKeysHasBeenSet =
true;
135 m_stageKeys = std::forward<StageKeysT>(value);
137 template <
typename StageKeysT = Aws::Vector<StageKey>>
142 template <
typename StageKeysT = StageKey>
144 m_stageKeysHasBeenSet =
true;
145 m_stageKeys.emplace_back(std::forward<StageKeysT>(value));
157 template <
typename CustomerIdT = Aws::String>
159 m_customerIdHasBeenSet =
true;
160 m_customerId = std::forward<CustomerIdT>(value);
162 template <
typename CustomerIdT = Aws::String>
177 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 m_tagsHasBeenSet =
true;
180 m_tags = std::forward<TagsT>(value);
182 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 SetTags(std::forward<TagsT>(value));
187 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
189 m_tagsHasBeenSet =
true;
190 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
199 bool m_enabled{
false};
201 bool m_generateDistinctId{
false};
210 bool m_nameHasBeenSet =
false;
211 bool m_descriptionHasBeenSet =
false;
212 bool m_enabledHasBeenSet =
false;
213 bool m_generateDistinctIdHasBeenSet =
false;
214 bool m_valueHasBeenSet =
false;
215 bool m_stageKeysHasBeenSet =
false;
216 bool m_customerIdHasBeenSet =
false;
217 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateApiKeyRequest & WithName(NameT &&value)
bool StageKeysHasBeenSet() const
CreateApiKeyRequest & WithValue(ValueT &&value)
void SetStageKeys(StageKeysT &&value)
CreateApiKeyRequest & WithCustomerId(CustomerIdT &&value)
void SetGenerateDistinctId(bool value)
bool DescriptionHasBeenSet() const
void SetValue(ValueT &&value)
CreateApiKeyRequest & AddStageKeys(StageKeysT &&value)
CreateApiKeyRequest & WithEnabled(bool value)
CreateApiKeyRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
bool EnabledHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
bool ValueHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetCustomerId() const
CreateApiKeyRequest & WithTags(TagsT &&value)
const Aws::String & GetName() const
void SetEnabled(bool value)
bool CustomerIdHasBeenSet() const
bool GetGenerateDistinctId() const
CreateApiKeyRequest & WithGenerateDistinctId(bool value)
bool TagsHasBeenSet() const
void SetCustomerId(CustomerIdT &&value)
void SetName(NameT &&value)
bool GenerateDistinctIdHasBeenSet() const
CreateApiKeyRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateApiKeyRequest & WithStageKeys(StageKeysT &&value)
const Aws::String & GetValue() const
AWS_APIGATEWAY_API CreateApiKeyRequest()=default
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
const Aws::Vector< StageKey > & GetStageKeys() const
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