AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeMapResult.h
1
6#pragma once
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/MapConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LocationService {
25namespace Model {
27 public:
28 AWS_LOCATIONSERVICE_API DescribeMapResult() = default;
31
33
36 inline const Aws::String& GetMapName() const { return m_mapName; }
37 template <typename MapNameT = Aws::String>
38 void SetMapName(MapNameT&& value) {
39 m_mapNameHasBeenSet = true;
40 m_mapName = std::forward<MapNameT>(value);
41 }
42 template <typename MapNameT = Aws::String>
43 DescribeMapResult& WithMapName(MapNameT&& value) {
44 SetMapName(std::forward<MapNameT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetMapArn() const { return m_mapArn; }
56 template <typename MapArnT = Aws::String>
57 void SetMapArn(MapArnT&& value) {
58 m_mapArnHasBeenSet = true;
59 m_mapArn = std::forward<MapArnT>(value);
60 }
61 template <typename MapArnT = Aws::String>
62 DescribeMapResult& WithMapArn(MapArnT&& value) {
63 SetMapArn(std::forward<MapArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDataSource() const { return m_dataSource; }
73 template <typename DataSourceT = Aws::String>
74 void SetDataSource(DataSourceT&& value) {
75 m_dataSourceHasBeenSet = true;
76 m_dataSource = std::forward<DataSourceT>(value);
77 }
78 template <typename DataSourceT = Aws::String>
79 DescribeMapResult& WithDataSource(DataSourceT&& value) {
80 SetDataSource(std::forward<DataSourceT>(value));
81 return *this;
82 }
84
86
89 inline const MapConfiguration& GetConfiguration() const { return m_configuration; }
90 template <typename ConfigurationT = MapConfiguration>
91 void SetConfiguration(ConfigurationT&& value) {
92 m_configurationHasBeenSet = true;
93 m_configuration = std::forward<ConfigurationT>(value);
94 }
95 template <typename ConfigurationT = MapConfiguration>
96 DescribeMapResult& WithConfiguration(ConfigurationT&& value) {
97 SetConfiguration(std::forward<ConfigurationT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetDescription() const { return m_description; }
107 template <typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) {
109 m_descriptionHasBeenSet = true;
110 m_description = std::forward<DescriptionT>(value);
111 }
112 template <typename DescriptionT = Aws::String>
113 DescribeMapResult& WithDescription(DescriptionT&& value) {
114 SetDescription(std::forward<DescriptionT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) {
126 m_tagsHasBeenSet = true;
127 m_tags = std::forward<TagsT>(value);
128 }
129 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 DescribeMapResult& WithTags(TagsT&& value) {
131 SetTags(std::forward<TagsT>(value));
132 return *this;
133 }
134 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
135 DescribeMapResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
136 m_tagsHasBeenSet = true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
138 return *this;
139 }
141
143
148 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
149 template <typename CreateTimeT = Aws::Utils::DateTime>
150 void SetCreateTime(CreateTimeT&& value) {
151 m_createTimeHasBeenSet = true;
152 m_createTime = std::forward<CreateTimeT>(value);
153 }
154 template <typename CreateTimeT = Aws::Utils::DateTime>
155 DescribeMapResult& WithCreateTime(CreateTimeT&& value) {
156 SetCreateTime(std::forward<CreateTimeT>(value));
157 return *this;
158 }
160
162
167 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
168 template <typename UpdateTimeT = Aws::Utils::DateTime>
169 void SetUpdateTime(UpdateTimeT&& value) {
170 m_updateTimeHasBeenSet = true;
171 m_updateTime = std::forward<UpdateTimeT>(value);
172 }
173 template <typename UpdateTimeT = Aws::Utils::DateTime>
174 DescribeMapResult& WithUpdateTime(UpdateTimeT&& value) {
175 SetUpdateTime(std::forward<UpdateTimeT>(value));
176 return *this;
177 }
179
181
182 inline const Aws::String& GetRequestId() const { return m_requestId; }
183 template <typename RequestIdT = Aws::String>
184 void SetRequestId(RequestIdT&& value) {
185 m_requestIdHasBeenSet = true;
186 m_requestId = std::forward<RequestIdT>(value);
187 }
188 template <typename RequestIdT = Aws::String>
189 DescribeMapResult& WithRequestId(RequestIdT&& value) {
190 SetRequestId(std::forward<RequestIdT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_mapName;
196
197 Aws::String m_mapArn;
198
199 Aws::String m_dataSource;
200
201 MapConfiguration m_configuration;
202
203 Aws::String m_description;
204
206
207 Aws::Utils::DateTime m_createTime{};
208
209 Aws::Utils::DateTime m_updateTime{};
210
211 Aws::String m_requestId;
212 bool m_mapNameHasBeenSet = false;
213 bool m_mapArnHasBeenSet = false;
214 bool m_dataSourceHasBeenSet = false;
215 bool m_configurationHasBeenSet = false;
216 bool m_descriptionHasBeenSet = false;
217 bool m_tagsHasBeenSet = false;
218 bool m_createTimeHasBeenSet = false;
219 bool m_updateTimeHasBeenSet = false;
220 bool m_requestIdHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace LocationService
225} // 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
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