7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/ApiKeyRestrictions.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace LocationService
43 template<
typename KeyT = Aws::String>
44 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
45 template<
typename KeyT = Aws::String>
57 template<
typename KeyArnT = Aws::String>
58 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet =
true; m_keyArn = std::forward<KeyArnT>(value); }
59 template<
typename KeyArnT = Aws::String>
68 template<
typename KeyNameT = Aws::String>
69 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
70 template<
typename KeyNameT = Aws::String>
77 template<
typename RestrictionsT = ApiKeyRestrictions>
78 void SetRestrictions(RestrictionsT&& value) { m_restrictionsHasBeenSet =
true; m_restrictions = std::forward<RestrictionsT>(value); }
79 template<
typename RestrictionsT = ApiKeyRestrictions>
90 template<
typename CreateTimeT = Aws::Utils::DateTime>
91 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
92 template<
typename CreateTimeT = Aws::Utils::DateTime>
103 template<
typename ExpireTimeT = Aws::Utils::DateTime>
104 void SetExpireTime(ExpireTimeT&& value) { m_expireTimeHasBeenSet =
true; m_expireTime = std::forward<ExpireTimeT>(value); }
105 template<
typename ExpireTimeT = Aws::Utils::DateTime>
116 template<
typename UpdateTimeT = Aws::Utils::DateTime>
117 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
118 template<
typename UpdateTimeT = Aws::Utils::DateTime>
127 template<
typename DescriptionT = Aws::String>
128 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
129 template<
typename DescriptionT = Aws::String>
138 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
140 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
144 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
151 template<
typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
153 template<
typename RequestIdT = Aws::String>
159 bool m_keyHasBeenSet =
false;
162 bool m_keyArnHasBeenSet =
false;
165 bool m_keyNameHasBeenSet =
false;
168 bool m_restrictionsHasBeenSet =
false;
171 bool m_createTimeHasBeenSet =
false;
174 bool m_expireTimeHasBeenSet =
false;
177 bool m_updateTimeHasBeenSet =
false;
180 bool m_descriptionHasBeenSet =
false;
183 bool m_tagsHasBeenSet =
false;
186 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