56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
116 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
160 bool m_nameHasBeenSet;
162 bool m_descriptionHasBeenSet;
164 bool m_enabledHasBeenSet;
166 bool m_stageKeysHasBeenSet;
CreateApiKeyRequest & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
CreateApiKeyRequest & WithDescription(const char *value)
void SetStageKeys(Aws::Vector< StageKey > &&value)
CreateApiKeyRequest & WithDescription(const Aws::String &value)
CreateApiKeyRequest & WithEnabled(bool value)
void SetEnabled(bool value)
std::vector< T, Aws::Allocator< T > > Vector
CreateApiKeyRequest & WithName(const Aws::String &value)
CreateApiKeyRequest & WithStageKeys(const Aws::Vector< StageKey > &value)
void SetDescription(const char *value)
void SetName(const Aws::String &value)
CreateApiKeyRequest & WithName(const char *value)
CreateApiKeyRequest & WithStageKeys(Aws::Vector< StageKey > &&value)
const Aws::Vector< StageKey > & GetStageKeys() const
void SetDescription(const Aws::String &value)
CreateApiKeyRequest & AddStageKeys(StageKey &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
#define AWS_APIGATEWAY_API
void SetStageKeys(const Aws::Vector< StageKey > &value)
CreateApiKeyRequest & AddStageKeys(const StageKey &value)
const Aws::String & GetDescription() const
CreateApiKeyRequest & WithDescription(Aws::String &&value)
void SetName(const char *value)
JSON (JavaScript Object Notation).