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>
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
68 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
82 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
97 inline void SetCustomerId(
const char* value) { m_customerIdHasBeenSet =
true; m_customerId.assign(value); }
111 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
123 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
163 inline ApiKey&
AddStageKeys(
const char* value) { m_stageKeysHasBeenSet =
true; m_stageKeys.push_back(value);
return *
this; }
181 inline ApiKey&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
182 inline ApiKey&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
183 inline ApiKey&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
192 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
200 bool m_idHasBeenSet =
false;
203 bool m_valueHasBeenSet =
false;
206 bool m_nameHasBeenSet =
false;
209 bool m_customerIdHasBeenSet =
false;
212 bool m_descriptionHasBeenSet =
false;
215 bool m_enabledHasBeenSet =
false;
218 bool m_createdDateHasBeenSet =
false;
221 bool m_lastUpdatedDateHasBeenSet =
false;
224 bool m_stageKeysHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
230 bool m_requestIdHasBeenSet =
false;
ApiKey & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCustomerId(const char *value)
ApiKey & WithValue(Aws::String &&value)
ApiKey & AddTags(Aws::String &&key, const char *value)
ApiKey & WithDescription(const char *value)
ApiKey & WithStageKeys(const Aws::Vector< Aws::String > &value)
ApiKey & WithCreatedDate(const Aws::Utils::DateTime &value)
ApiKey & WithName(const Aws::String &value)
void SetValue(const Aws::String &value)
void SetDescription(const char *value)
ApiKey & AddTags(const char *key, Aws::String &&value)
ApiKey & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetValue(const char *value)
void SetCustomerId(const Aws::String &value)
AWS_APIGATEWAY_API ApiKey & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StageKeysHasBeenSet() const
void SetName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStageKeys() const
ApiKey & AddStageKeys(const Aws::String &value)
ApiKey & WithCustomerId(const Aws::String &value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
ApiKey & AddTags(const Aws::String &key, Aws::String &&value)
bool CreatedDateHasBeenSet() const
ApiKey & AddStageKeys(const char *value)
ApiKey & WithId(const Aws::String &value)
void SetCustomerId(Aws::String &&value)
ApiKey & WithStageKeys(Aws::Vector< Aws::String > &&value)
void SetRequestId(Aws::String &&value)
void SetValue(Aws::String &&value)
ApiKey & WithName(const char *value)
void SetRequestId(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
bool EnabledHasBeenSet() const
bool LastUpdatedDateHasBeenSet() const
const Aws::String & GetValue() const
bool ValueHasBeenSet() const
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetDescription(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetId(const char *value)
void SetEnabled(bool value)
void SetDescription(const Aws::String &value)
void SetStageKeys(Aws::Vector< Aws::String > &&value)
AWS_APIGATEWAY_API ApiKey()
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
ApiKey & WithCustomerId(Aws::String &&value)
bool TagsHasBeenSet() const
void SetId(Aws::String &&value)
const Aws::String & GetRequestId() const
AWS_APIGATEWAY_API ApiKey(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(Aws::Utils::DateTime &&value)
ApiKey & WithEnabled(bool value)
ApiKey & WithValue(const Aws::String &value)
void SetId(const Aws::String &value)
ApiKey & WithRequestId(const char *value)
ApiKey & WithCreatedDate(Aws::Utils::DateTime &&value)
ApiKey & WithRequestId(Aws::String &&value)
bool RequestIdHasBeenSet() const
ApiKey & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetCustomerId() const
ApiKey & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
ApiKey & WithId(Aws::String &&value)
ApiKey & WithName(Aws::String &&value)
const Aws::String & GetName() const
ApiKey & WithDescription(Aws::String &&value)
ApiKey & WithValue(const char *value)
ApiKey & AddStageKeys(Aws::String &&value)
ApiKey & WithCustomerId(const char *value)
ApiKey & WithRequestId(const Aws::String &value)
bool IdHasBeenSet() const
bool CustomerIdHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetRequestId(const char *value)
ApiKey & AddTags(Aws::String &&key, const Aws::String &value)
ApiKey & AddTags(const char *key, const char *value)
ApiKey & AddTags(const Aws::String &key, const Aws::String &value)
ApiKey & WithId(const char *value)
void SetName(const char *value)
ApiKey & WithDescription(const Aws::String &value)
void SetStageKeys(const Aws::Vector< Aws::String > &value)
const Aws::String & GetId() const
ApiKey & WithLastUpdatedDate(Aws::Utils::DateTime &&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