7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/location/model/ApiKeyRestrictions.h>
23namespace LocationService
49 template<
typename KeyNameT = Aws::String>
50 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
51 template<
typename KeyNameT = Aws::String>
63 template<
typename ExpireTimeT = Aws::Utils::DateTime>
64 void SetExpireTime(ExpireTimeT&& value) { m_expireTimeHasBeenSet =
true; m_expireTime = std::forward<ExpireTimeT>(value); }
65 template<
typename ExpireTimeT = Aws::Utils::DateTime>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
85 template<
typename RestrictionsT = ApiKeyRestrictions>
86 void SetRestrictions(RestrictionsT&& value) { m_restrictionsHasBeenSet =
true; m_restrictions = std::forward<RestrictionsT>(value); }
87 template<
typename RestrictionsT = ApiKeyRestrictions>
99 template<
typename CreateTimeT = Aws::Utils::DateTime>
100 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
101 template<
typename CreateTimeT = Aws::Utils::DateTime>
113 template<
typename UpdateTimeT = Aws::Utils::DateTime>
114 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
115 template<
typename UpdateTimeT = Aws::Utils::DateTime>
121 bool m_keyNameHasBeenSet =
false;
124 bool m_expireTimeHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
129 ApiKeyRestrictions m_restrictions;
130 bool m_restrictionsHasBeenSet =
false;
133 bool m_createTimeHasBeenSet =
false;
136 bool m_updateTimeHasBeenSet =
false;
AWS_LOCATIONSERVICE_API ListKeysResponseEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RestrictionsHasBeenSet() const
AWS_LOCATIONSERVICE_API ListKeysResponseEntry()=default
bool CreateTimeHasBeenSet() const
ListKeysResponseEntry & WithExpireTime(ExpireTimeT &&value)
void SetDescription(DescriptionT &&value)
bool ExpireTimeHasBeenSet() const
AWS_LOCATIONSERVICE_API ListKeysResponseEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
ListKeysResponseEntry & WithCreateTime(CreateTimeT &&value)
void SetCreateTime(CreateTimeT &&value)
bool DescriptionHasBeenSet() const
void SetUpdateTime(UpdateTimeT &&value)
const Aws::Utils::DateTime & GetExpireTime() const
const Aws::String & GetKeyName() const
void SetRestrictions(RestrictionsT &&value)
bool KeyNameHasBeenSet() const
const ApiKeyRestrictions & GetRestrictions() const
ListKeysResponseEntry & WithDescription(DescriptionT &&value)
void SetKeyName(KeyNameT &&value)
ListKeysResponseEntry & WithRestrictions(RestrictionsT &&value)
ListKeysResponseEntry & WithUpdateTime(UpdateTimeT &&value)
bool UpdateTimeHasBeenSet() const
void SetExpireTime(ExpireTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::Utils::DateTime & GetCreateTime() const
ListKeysResponseEntry & WithKeyName(KeyNameT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue