7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/LocationService_EXPORTS.h>
11#include <aws/location/model/ApiKeyRestrictions.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace LocationService {
37 template <
typename KeyT = Aws::String>
39 m_keyHasBeenSet =
true;
40 m_key = std::forward<KeyT>(value);
42 template <
typename KeyT = Aws::String>
44 SetKey(std::forward<KeyT>(value));
57 template <
typename KeyArnT = Aws::String>
59 m_keyArnHasBeenSet =
true;
60 m_keyArn = std::forward<KeyArnT>(value);
62 template <
typename KeyArnT = Aws::String>
74 template <
typename KeyNameT = Aws::String>
76 m_keyNameHasBeenSet =
true;
77 m_keyName = std::forward<KeyNameT>(value);
79 template <
typename KeyNameT = Aws::String>
89 template <
typename RestrictionsT = ApiKeyRestrictions>
91 m_restrictionsHasBeenSet =
true;
92 m_restrictions = std::forward<RestrictionsT>(value);
94 template <
typename RestrictionsT = ApiKeyRestrictions>
108 template <
typename CreateTimeT = Aws::Utils::DateTime>
110 m_createTimeHasBeenSet =
true;
111 m_createTime = std::forward<CreateTimeT>(value);
113 template <
typename CreateTimeT = Aws::Utils::DateTime>
127 template <
typename ExpireTimeT = Aws::Utils::DateTime>
129 m_expireTimeHasBeenSet =
true;
130 m_expireTime = std::forward<ExpireTimeT>(value);
132 template <
typename ExpireTimeT = Aws::Utils::DateTime>
146 template <
typename UpdateTimeT = Aws::Utils::DateTime>
148 m_updateTimeHasBeenSet =
true;
149 m_updateTime = std::forward<UpdateTimeT>(value);
151 template <
typename UpdateTimeT = Aws::Utils::DateTime>
163 template <
typename DescriptionT = Aws::String>
165 m_descriptionHasBeenSet =
true;
166 m_description = std::forward<DescriptionT>(value);
168 template <
typename DescriptionT = Aws::String>
180 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 m_tagsHasBeenSet =
true;
183 m_tags = std::forward<TagsT>(value);
185 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
187 SetTags(std::forward<TagsT>(value));
190 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
192 m_tagsHasBeenSet =
true;
193 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
201 template <
typename RequestIdT = Aws::String>
203 m_requestIdHasBeenSet =
true;
204 m_requestId = std::forward<RequestIdT>(value);
206 template <
typename RequestIdT = Aws::String>
232 bool m_keyHasBeenSet =
false;
233 bool m_keyArnHasBeenSet =
false;
234 bool m_keyNameHasBeenSet =
false;
235 bool m_restrictionsHasBeenSet =
false;
236 bool m_createTimeHasBeenSet =
false;
237 bool m_expireTimeHasBeenSet =
false;
238 bool m_updateTimeHasBeenSet =
false;
239 bool m_descriptionHasBeenSet =
false;
240 bool m_tagsHasBeenSet =
false;
241 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdateTime() const
void SetDescription(DescriptionT &&value)
DescribeKeyResult & WithExpireTime(ExpireTimeT &&value)
AWS_LOCATIONSERVICE_API DescribeKeyResult()=default
void SetKey(KeyT &&value)
DescribeKeyResult & WithKeyName(KeyNameT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetKeyArn() const
DescribeKeyResult & WithKey(KeyT &&value)
DescribeKeyResult & WithTags(TagsT &&value)
void SetKeyArn(KeyArnT &&value)
const Aws::String & GetKey() const
DescribeKeyResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
DescribeKeyResult & WithUpdateTime(UpdateTimeT &&value)
const ApiKeyRestrictions & GetRestrictions() const
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::String & GetKeyName() const
const Aws::Utils::DateTime & GetExpireTime() const
void SetKeyName(KeyNameT &&value)
void SetUpdateTime(UpdateTimeT &&value)
DescribeKeyResult & WithKeyArn(KeyArnT &&value)
DescribeKeyResult & WithRestrictions(RestrictionsT &&value)
void SetExpireTime(ExpireTimeT &&value)
DescribeKeyResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetRestrictions(RestrictionsT &&value)
AWS_LOCATIONSERVICE_API DescribeKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API DescribeKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeKeyResult & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetDescription() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeKeyResult & WithDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
void SetCreateTime(CreateTimeT &&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
Aws::Utils::Json::JsonValue JsonValue