67 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
82 inline ApiKey&
WithId(
const char* value) { SetId(value);
return *
this;}
102 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
137 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
162 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
215 inline ApiKey&
AddStageKeys(
const char* value) { m_stageKeysHasBeenSet =
true; m_stageKeys.push_back(value);
return *
this; }
281 bool m_nameHasBeenSet;
283 bool m_descriptionHasBeenSet;
285 bool m_enabledHasBeenSet;
287 bool m_stageKeysHasBeenSet;
289 bool m_createdDateHasBeenSet;
291 bool m_lastUpdatedDateHasBeenSet;
void SetDescription(Aws::String &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
ApiKey & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetDescription(const char *value)
ApiKey & WithId(const char *value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
ApiKey & AddStageKeys(const Aws::String &value)
void SetEnabled(bool value)
std::vector< T, Aws::Allocator< T > > Vector
ApiKey & WithDescription(Aws::String &&value)
ApiKey & WithDescription(const char *value)
ApiKey & WithId(Aws::String &&value)
void SetName(const char *value)
ApiKey & WithEnabled(bool value)
void SetId(const Aws::String &value)
ApiKey & WithName(const char *value)
const Aws::Vector< Aws::String > & GetStageKeys() const
ApiKey & WithCreatedDate(Aws::Utils::DateTime &&value)
ApiKey & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
ApiKey & WithName(const Aws::String &value)
ApiKey & AddStageKeys(const char *value)
ApiKey & WithName(Aws::String &&value)
ApiKey & WithStageKeys(const Aws::Vector< Aws::String > &value)
ApiKey & WithId(const Aws::String &value)
ApiKey & AddStageKeys(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetStageKeys(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
ApiKey & WithDescription(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
ApiKey & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetId(const char *value)
#define AWS_APIGATEWAY_API
void SetDescription(const Aws::String &value)
ApiKey & WithStageKeys(Aws::Vector< Aws::String > &&value)
void SetName(Aws::String &&value)
JSON (JavaScript Object Notation).
void SetStageKeys(Aws::Vector< Aws::String > &&value)