7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigateway/model/StageKey.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
75 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
87 inline void SetGenerateDistinctId(
bool value) { m_generateDistinctIdHasBeenSet =
true; m_generateDistinctId = value; }
99 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
129 inline void SetCustomerId(
const char* value) { m_customerIdHasBeenSet =
true; m_customerId.assign(value); }
153 inline CreateApiKeyRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
158 bool m_nameHasBeenSet =
false;
161 bool m_descriptionHasBeenSet =
false;
164 bool m_enabledHasBeenSet =
false;
166 bool m_generateDistinctId;
167 bool m_generateDistinctIdHasBeenSet =
false;
170 bool m_valueHasBeenSet =
false;
173 bool m_stageKeysHasBeenSet =
false;
176 bool m_customerIdHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateApiKeyRequest & WithDescription(const char *value)
CreateApiKeyRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateApiKeyRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetName(const char *value)
CreateApiKeyRequest & WithCustomerId(const Aws::String &value)
bool StageKeysHasBeenSet() const
CreateApiKeyRequest & WithValue(const Aws::String &value)
void SetCustomerId(const char *value)
CreateApiKeyRequest & WithDescription(const Aws::String &value)
CreateApiKeyRequest & WithValue(const char *value)
CreateApiKeyRequest & WithValue(Aws::String &&value)
CreateApiKeyRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateApiKeyRequest & AddTags(Aws::String &&key, const char *value)
void SetGenerateDistinctId(bool value)
bool DescriptionHasBeenSet() const
void SetCustomerId(const Aws::String &value)
CreateApiKeyRequest & WithName(Aws::String &&value)
void SetDescription(Aws::String &&value)
CreateApiKeyRequest & AddTags(const char *key, const char *value)
void SetValue(Aws::String &&value)
CreateApiKeyRequest & WithEnabled(bool value)
void SetDescription(const Aws::String &value)
void SetStageKeys(Aws::Vector< StageKey > &&value)
CreateApiKeyRequest & WithName(const char *value)
void SetName(const Aws::String &value)
void SetValue(const char *value)
virtual const char * GetServiceRequestName() const override
bool EnabledHasBeenSet() const
void SetCustomerId(Aws::String &&value)
CreateApiKeyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
bool ValueHasBeenSet() const
CreateApiKeyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateApiKeyRequest & AddStageKeys(const StageKey &value)
bool NameHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetValue(const Aws::String &value)
void SetStageKeys(const Aws::Vector< StageKey > &value)
CreateApiKeyRequest & WithStageKeys(const Aws::Vector< StageKey > &value)
const Aws::String & GetCustomerId() const
CreateApiKeyRequest & WithCustomerId(const char *value)
CreateApiKeyRequest & WithCustomerId(Aws::String &&value)
CreateApiKeyRequest & AddStageKeys(StageKey &&value)
const Aws::String & GetName() const
void SetEnabled(bool value)
bool CustomerIdHasBeenSet() const
bool GetGenerateDistinctId() const
CreateApiKeyRequest & WithGenerateDistinctId(bool value)
bool TagsHasBeenSet() const
bool GenerateDistinctIdHasBeenSet() const
CreateApiKeyRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const char *value)
AWS_APIGATEWAY_API CreateApiKeyRequest()
const Aws::String & GetValue() const
const Aws::String & GetDescription() const
CreateApiKeyRequest & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
CreateApiKeyRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< StageKey > & GetStageKeys() const
CreateApiKeyRequest & WithDescription(Aws::String &&value)
CreateApiKeyRequest & WithStageKeys(Aws::Vector< StageKey > &&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