7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/location/LocationService_EXPORTS.h>
12#include <aws/location/model/ApiKeyRestrictions.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace LocationService {
38 template <
typename KeyT = Aws::String>
40 m_keyHasBeenSet =
true;
41 m_key = std::forward<KeyT>(value);
43 template <
typename KeyT = Aws::String>
45 SetKey(std::forward<KeyT>(value));
58 template <
typename KeyArnT = Aws::String>
60 m_keyArnHasBeenSet =
true;
61 m_keyArn = std::forward<KeyArnT>(value);
63 template <
typename KeyArnT = Aws::String>
75 template <
typename KeyNameT = Aws::String>
77 m_keyNameHasBeenSet =
true;
78 m_keyName = std::forward<KeyNameT>(value);
80 template <
typename KeyNameT = Aws::String>
90 template <
typename RestrictionsT = ApiKeyRestrictions>
92 m_restrictionsHasBeenSet =
true;
93 m_restrictions = std::forward<RestrictionsT>(value);
95 template <
typename RestrictionsT = ApiKeyRestrictions>
109 template <
typename CreateTimeT = Aws::Utils::DateTime>
111 m_createTimeHasBeenSet =
true;
112 m_createTime = std::forward<CreateTimeT>(value);
114 template <
typename CreateTimeT = Aws::Utils::DateTime>
128 template <
typename ExpireTimeT = Aws::Utils::DateTime>
130 m_expireTimeHasBeenSet =
true;
131 m_expireTime = std::forward<ExpireTimeT>(value);
133 template <
typename ExpireTimeT = Aws::Utils::DateTime>
147 template <
typename UpdateTimeT = Aws::Utils::DateTime>
149 m_updateTimeHasBeenSet =
true;
150 m_updateTime = std::forward<UpdateTimeT>(value);
152 template <
typename UpdateTimeT = Aws::Utils::DateTime>
164 template <
typename DescriptionT = Aws::String>
166 m_descriptionHasBeenSet =
true;
167 m_description = std::forward<DescriptionT>(value);
169 template <
typename DescriptionT = Aws::String>
181 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 m_tagsHasBeenSet =
true;
184 m_tags = std::forward<TagsT>(value);
186 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 SetTags(std::forward<TagsT>(value));
191 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
193 m_tagsHasBeenSet =
true;
194 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
202 template <
typename RequestIdT = Aws::String>
204 m_requestIdHasBeenSet =
true;
205 m_requestId = std::forward<RequestIdT>(value);
207 template <
typename RequestIdT = Aws::String>
236 bool m_keyHasBeenSet =
false;
237 bool m_keyArnHasBeenSet =
false;
238 bool m_keyNameHasBeenSet =
false;
239 bool m_restrictionsHasBeenSet =
false;
240 bool m_createTimeHasBeenSet =
false;
241 bool m_expireTimeHasBeenSet =
false;
242 bool m_updateTimeHasBeenSet =
false;
243 bool m_descriptionHasBeenSet =
false;
244 bool m_tagsHasBeenSet =
false;
245 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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