AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeMapResult.h
1
6#pragma once
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/MapConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LocationService {
26namespace Model {
28 public:
29 AWS_LOCATIONSERVICE_API DescribeMapResult() = default;
32
34
37 inline const Aws::String& GetMapName() const { return m_mapName; }
38 template <typename MapNameT = Aws::String>
39 void SetMapName(MapNameT&& value) {
40 m_mapNameHasBeenSet = true;
41 m_mapName = std::forward<MapNameT>(value);
42 }
43 template <typename MapNameT = Aws::String>
44 DescribeMapResult& WithMapName(MapNameT&& value) {
45 SetMapName(std::forward<MapNameT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::String& GetMapArn() const { return m_mapArn; }
57 template <typename MapArnT = Aws::String>
58 void SetMapArn(MapArnT&& value) {
59 m_mapArnHasBeenSet = true;
60 m_mapArn = std::forward<MapArnT>(value);
61 }
62 template <typename MapArnT = Aws::String>
63 DescribeMapResult& WithMapArn(MapArnT&& value) {
64 SetMapArn(std::forward<MapArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDataSource() const { return m_dataSource; }
74 template <typename DataSourceT = Aws::String>
75 void SetDataSource(DataSourceT&& value) {
76 m_dataSourceHasBeenSet = true;
77 m_dataSource = std::forward<DataSourceT>(value);
78 }
79 template <typename DataSourceT = Aws::String>
80 DescribeMapResult& WithDataSource(DataSourceT&& value) {
81 SetDataSource(std::forward<DataSourceT>(value));
82 return *this;
83 }
85
87
90 inline const MapConfiguration& GetConfiguration() const { return m_configuration; }
91 template <typename ConfigurationT = MapConfiguration>
92 void SetConfiguration(ConfigurationT&& value) {
93 m_configurationHasBeenSet = true;
94 m_configuration = std::forward<ConfigurationT>(value);
95 }
96 template <typename ConfigurationT = MapConfiguration>
97 DescribeMapResult& WithConfiguration(ConfigurationT&& value) {
98 SetConfiguration(std::forward<ConfigurationT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetDescription() const { return m_description; }
108 template <typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) {
110 m_descriptionHasBeenSet = true;
111 m_description = std::forward<DescriptionT>(value);
112 }
113 template <typename DescriptionT = Aws::String>
114 DescribeMapResult& WithDescription(DescriptionT&& value) {
115 SetDescription(std::forward<DescriptionT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
125 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) {
127 m_tagsHasBeenSet = true;
128 m_tags = std::forward<TagsT>(value);
129 }
130 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 DescribeMapResult& WithTags(TagsT&& value) {
132 SetTags(std::forward<TagsT>(value));
133 return *this;
134 }
135 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
136 DescribeMapResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
137 m_tagsHasBeenSet = true;
138 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
139 return *this;
140 }
142
144
149 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
150 template <typename CreateTimeT = Aws::Utils::DateTime>
151 void SetCreateTime(CreateTimeT&& value) {
152 m_createTimeHasBeenSet = true;
153 m_createTime = std::forward<CreateTimeT>(value);
154 }
155 template <typename CreateTimeT = Aws::Utils::DateTime>
156 DescribeMapResult& WithCreateTime(CreateTimeT&& value) {
157 SetCreateTime(std::forward<CreateTimeT>(value));
158 return *this;
159 }
161
163
168 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
169 template <typename UpdateTimeT = Aws::Utils::DateTime>
170 void SetUpdateTime(UpdateTimeT&& value) {
171 m_updateTimeHasBeenSet = true;
172 m_updateTime = std::forward<UpdateTimeT>(value);
173 }
174 template <typename UpdateTimeT = Aws::Utils::DateTime>
175 DescribeMapResult& WithUpdateTime(UpdateTimeT&& value) {
176 SetUpdateTime(std::forward<UpdateTimeT>(value));
177 return *this;
178 }
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template <typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) {
186 m_requestIdHasBeenSet = true;
187 m_requestId = std::forward<RequestIdT>(value);
188 }
189 template <typename RequestIdT = Aws::String>
190 DescribeMapResult& WithRequestId(RequestIdT&& value) {
191 SetRequestId(std::forward<RequestIdT>(value));
192 return *this;
193 }
195 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
196
197 private:
198 Aws::String m_mapName;
199
200 Aws::String m_mapArn;
201
202 Aws::String m_dataSource;
203
204 MapConfiguration m_configuration;
205
206 Aws::String m_description;
207
209
210 Aws::Utils::DateTime m_createTime{};
211
212 Aws::Utils::DateTime m_updateTime{};
213
214 Aws::String m_requestId;
215 Aws::Http::HttpResponseCode m_HttpResponseCode;
216 bool m_mapNameHasBeenSet = false;
217 bool m_mapArnHasBeenSet = false;
218 bool m_dataSourceHasBeenSet = false;
219 bool m_configurationHasBeenSet = false;
220 bool m_descriptionHasBeenSet = false;
221 bool m_tagsHasBeenSet = false;
222 bool m_createTimeHasBeenSet = false;
223 bool m_updateTimeHasBeenSet = false;
224 bool m_requestIdHasBeenSet = false;
225};
226
227} // namespace Model
228} // namespace LocationService
229} // namespace Aws
DescribeMapResult & WithTags(TagsT &&value)
DescribeMapResult & WithMapName(MapNameT &&value)
DescribeMapResult & WithDescription(DescriptionT &&value)
AWS_LOCATIONSERVICE_API DescribeMapResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const MapConfiguration & GetConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeMapResult & WithConfiguration(ConfigurationT &&value)
DescribeMapResult & WithMapArn(MapArnT &&value)
AWS_LOCATIONSERVICE_API DescribeMapResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMapResult & WithDataSource(DataSourceT &&value)
AWS_LOCATIONSERVICE_API DescribeMapResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeMapResult & WithRequestId(RequestIdT &&value)
DescribeMapResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::Utils::DateTime & GetUpdateTime() const
DescribeMapResult & WithCreateTime(CreateTimeT &&value)
DescribeMapResult & WithUpdateTime(UpdateTimeT &&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