7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apigateway/model/ThrottleSettings.h>
11#include <aws/apigateway/model/QuotaSettings.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/apigateway/model/ApiStage.h>
59 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
60 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
74 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
143 inline void SetProductCode(
const char* value) { m_productCodeHasBeenSet =
true; m_productCode.assign(value); }
166 inline UsagePlan&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
175 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
183 bool m_idHasBeenSet =
false;
186 bool m_nameHasBeenSet =
false;
189 bool m_descriptionHasBeenSet =
false;
192 bool m_apiStagesHasBeenSet =
false;
195 bool m_throttleHasBeenSet =
false;
198 bool m_quotaHasBeenSet =
false;
201 bool m_productCodeHasBeenSet =
false;
204 bool m_tagsHasBeenSet =
false;
207 bool m_requestIdHasBeenSet =
false;
UsagePlan & WithName(Aws::String &&value)
UsagePlan & WithApiStages(const Aws::Vector< ApiStage > &value)
const Aws::String & GetName() const
UsagePlan & AddTags(const char *key, Aws::String &&value)
void SetName(const Aws::String &value)
UsagePlan & WithId(const char *value)
void SetProductCode(const Aws::String &value)
UsagePlan & WithDescription(const Aws::String &value)
UsagePlan & WithQuota(QuotaSettings &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UsagePlan & WithThrottle(ThrottleSettings &&value)
UsagePlan & WithProductCode(const char *value)
bool NameHasBeenSet() const
AWS_APIGATEWAY_API UsagePlan(Aws::Utils::Json::JsonView jsonValue)
bool TagsHasBeenSet() const
UsagePlan & WithThrottle(const ThrottleSettings &value)
UsagePlan & WithId(const Aws::String &value)
UsagePlan & WithApiStages(Aws::Vector< ApiStage > &&value)
UsagePlan & WithRequestId(const Aws::String &value)
UsagePlan & AddTags(Aws::String &&key, const char *value)
void SetProductCode(Aws::String &&value)
UsagePlan & WithName(const Aws::String &value)
UsagePlan & WithId(Aws::String &&value)
UsagePlan & AddTags(const Aws::String &key, const Aws::String &value)
bool ThrottleHasBeenSet() const
UsagePlan & WithQuota(const QuotaSettings &value)
UsagePlan & WithRequestId(Aws::String &&value)
void SetDescription(const char *value)
UsagePlan & WithDescription(Aws::String &&value)
const QuotaSettings & GetQuota() const
void SetRequestId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UsagePlan & AddApiStages(const ApiStage &value)
void SetId(Aws::String &&value)
void SetQuota(QuotaSettings &&value)
UsagePlan & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
void SetId(const char *value)
UsagePlan & WithDescription(const char *value)
void SetThrottle(ThrottleSettings &&value)
void SetDescription(const Aws::String &value)
UsagePlan & AddApiStages(ApiStage &&value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
void SetApiStages(const Aws::Vector< ApiStage > &value)
void SetRequestId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UsagePlan & AddTags(const char *key, const char *value)
UsagePlan & AddTags(Aws::String &&key, Aws::String &&value)
AWS_APIGATEWAY_API UsagePlan & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApiStages(Aws::Vector< ApiStage > &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< ApiStage > & GetApiStages() const
const ThrottleSettings & GetThrottle() const
UsagePlan & WithProductCode(const Aws::String &value)
UsagePlan & WithRequestId(const char *value)
void SetName(const char *value)
UsagePlan & WithName(const char *value)
UsagePlan & AddTags(Aws::String &&key, const Aws::String &value)
AWS_APIGATEWAY_API UsagePlan()
UsagePlan & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool QuotaHasBeenSet() const
const Aws::String & GetProductCode() const
bool ApiStagesHasBeenSet() const
UsagePlan & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetThrottle(const ThrottleSettings &value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool RequestIdHasBeenSet() const
bool ProductCodeHasBeenSet() const
void SetName(Aws::String &&value)
void SetQuota(const QuotaSettings &value)
void SetProductCode(const char *value)
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
UsagePlan & WithProductCode(Aws::String &&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