AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeMapResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/MapConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LocationService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LOCATIONSERVICE_API DescribeMapResult() = default;
36
37
39
42 inline const Aws::String& GetMapName() const { return m_mapName; }
43 template<typename MapNameT = Aws::String>
44 void SetMapName(MapNameT&& value) { m_mapNameHasBeenSet = true; m_mapName = std::forward<MapNameT>(value); }
45 template<typename MapNameT = Aws::String>
46 DescribeMapResult& WithMapName(MapNameT&& value) { SetMapName(std::forward<MapNameT>(value)); return *this;}
48
50
55 inline const Aws::String& GetMapArn() const { return m_mapArn; }
56 template<typename MapArnT = Aws::String>
57 void SetMapArn(MapArnT&& value) { m_mapArnHasBeenSet = true; m_mapArn = std::forward<MapArnT>(value); }
58 template<typename MapArnT = Aws::String>
59 DescribeMapResult& WithMapArn(MapArnT&& value) { SetMapArn(std::forward<MapArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDataSource() const { return m_dataSource; }
67 template<typename DataSourceT = Aws::String>
68 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
69 template<typename DataSourceT = Aws::String>
70 DescribeMapResult& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
72
74
77 inline const MapConfiguration& GetConfiguration() const { return m_configuration; }
78 template<typename ConfigurationT = MapConfiguration>
79 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
80 template<typename ConfigurationT = MapConfiguration>
81 DescribeMapResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template<typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
91 template<typename DescriptionT = Aws::String>
92 DescribeMapResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
94
96
99 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
100 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
102 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 DescribeMapResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
104 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
105 DescribeMapResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
106 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
107 }
109
111
116 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
117 template<typename CreateTimeT = Aws::Utils::DateTime>
118 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
119 template<typename CreateTimeT = Aws::Utils::DateTime>
120 DescribeMapResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
122
124
129 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
130 template<typename UpdateTimeT = Aws::Utils::DateTime>
131 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
132 template<typename UpdateTimeT = Aws::Utils::DateTime>
133 DescribeMapResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template<typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
141 template<typename RequestIdT = Aws::String>
142 DescribeMapResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
144 private:
145
146 Aws::String m_mapName;
147 bool m_mapNameHasBeenSet = false;
148
149 Aws::String m_mapArn;
150 bool m_mapArnHasBeenSet = false;
151
152 Aws::String m_dataSource;
153 bool m_dataSourceHasBeenSet = false;
154
155 MapConfiguration m_configuration;
156 bool m_configurationHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163
164 Aws::Utils::DateTime m_createTime{};
165 bool m_createTimeHasBeenSet = false;
166
167 Aws::Utils::DateTime m_updateTime{};
168 bool m_updateTimeHasBeenSet = false;
169
170 Aws::String m_requestId;
171 bool m_requestIdHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace LocationService
176} // 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