7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/location/model/ApiKeyRestrictions.h>
16namespace LocationService
45 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
59 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
86 inline void SetNoExpiry(
bool value) { m_noExpiryHasBeenSet =
true; m_noExpiry = value; }
100 inline void SetForceUpdate(
bool value) { m_forceUpdateHasBeenSet =
true; m_forceUpdate = value; }
118 bool m_keyNameHasBeenSet =
false;
121 bool m_descriptionHasBeenSet =
false;
124 bool m_expireTimeHasBeenSet =
false;
127 bool m_noExpiryHasBeenSet =
false;
130 bool m_forceUpdateHasBeenSet =
false;
133 bool m_restrictionsHasBeenSet =
false;
void SetRestrictions(const ApiKeyRestrictions &value)
bool KeyNameHasBeenSet() const
const Aws::Utils::DateTime & GetExpireTime() const
UpdateKeyRequest & WithNoExpiry(bool value)
UpdateKeyRequest & WithDescription(const Aws::String &value)
bool RestrictionsHasBeenSet() const
bool ForceUpdateHasBeenSet() const
const Aws::String & GetDescription() const
void SetKeyName(const char *value)
bool GetForceUpdate() const
void SetDescription(const Aws::String &value)
bool NoExpiryHasBeenSet() const
UpdateKeyRequest & WithForceUpdate(bool value)
UpdateKeyRequest & WithKeyName(const char *value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
const ApiKeyRestrictions & GetRestrictions() const
UpdateKeyRequest & WithDescription(Aws::String &&value)
void SetExpireTime(const Aws::Utils::DateTime &value)
UpdateKeyRequest & WithExpireTime(const Aws::Utils::DateTime &value)
void SetDescription(const char *value)
void SetDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetRestrictions(ApiKeyRestrictions &&value)
UpdateKeyRequest & WithDescription(const char *value)
UpdateKeyRequest & WithKeyName(const Aws::String &value)
bool DescriptionHasBeenSet() const
const Aws::String & GetKeyName() const
UpdateKeyRequest & WithKeyName(Aws::String &&value)
UpdateKeyRequest & WithExpireTime(Aws::Utils::DateTime &&value)
void SetNoExpiry(bool value)
UpdateKeyRequest & WithRestrictions(ApiKeyRestrictions &&value)
void SetForceUpdate(bool value)
void SetKeyName(const Aws::String &value)
AWS_LOCATIONSERVICE_API UpdateKeyRequest()
UpdateKeyRequest & WithRestrictions(const ApiKeyRestrictions &value)
void SetExpireTime(Aws::Utils::DateTime &&value)
void SetKeyName(Aws::String &&value)
bool ExpireTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String