AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribePlaceIndexResult.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/DataSourceConfiguration.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 DescribePlaceIndexResult() = default;
32
34
37 inline const Aws::String& GetIndexName() const { return m_indexName; }
38 template <typename IndexNameT = Aws::String>
39 void SetIndexName(IndexNameT&& value) {
40 m_indexNameHasBeenSet = true;
41 m_indexName = std::forward<IndexNameT>(value);
42 }
43 template <typename IndexNameT = Aws::String>
45 SetIndexName(std::forward<IndexNameT>(value));
46 return *this;
47 }
49
51
57 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
58 template <typename IndexArnT = Aws::String>
59 void SetIndexArn(IndexArnT&& value) {
60 m_indexArnHasBeenSet = true;
61 m_indexArn = std::forward<IndexArnT>(value);
62 }
63 template <typename IndexArnT = Aws::String>
65 SetIndexArn(std::forward<IndexArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
93 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
94 template <typename CreateTimeT = Aws::Utils::DateTime>
95 void SetCreateTime(CreateTimeT&& value) {
96 m_createTimeHasBeenSet = true;
97 m_createTime = std::forward<CreateTimeT>(value);
98 }
99 template <typename CreateTimeT = Aws::Utils::DateTime>
101 SetCreateTime(std::forward<CreateTimeT>(value));
102 return *this;
103 }
105
107
112 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
113 template <typename UpdateTimeT = Aws::Utils::DateTime>
114 void SetUpdateTime(UpdateTimeT&& value) {
115 m_updateTimeHasBeenSet = true;
116 m_updateTime = std::forward<UpdateTimeT>(value);
117 }
118 template <typename UpdateTimeT = Aws::Utils::DateTime>
120 SetUpdateTime(std::forward<UpdateTimeT>(value));
121 return *this;
122 }
124
126
134 inline const Aws::String& GetDataSource() const { return m_dataSource; }
135 template <typename DataSourceT = Aws::String>
136 void SetDataSource(DataSourceT&& value) {
137 m_dataSourceHasBeenSet = true;
138 m_dataSource = std::forward<DataSourceT>(value);
139 }
140 template <typename DataSourceT = Aws::String>
142 SetDataSource(std::forward<DataSourceT>(value));
143 return *this;
144 }
146
148
151 inline const DataSourceConfiguration& GetDataSourceConfiguration() const { return m_dataSourceConfiguration; }
152 template <typename DataSourceConfigurationT = DataSourceConfiguration>
153 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) {
154 m_dataSourceConfigurationHasBeenSet = true;
155 m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value);
156 }
157 template <typename DataSourceConfigurationT = DataSourceConfiguration>
158 DescribePlaceIndexResult& WithDataSourceConfiguration(DataSourceConfigurationT&& value) {
159 SetDataSourceConfiguration(std::forward<DataSourceConfigurationT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
169 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 void SetTags(TagsT&& value) {
171 m_tagsHasBeenSet = true;
172 m_tags = std::forward<TagsT>(value);
173 }
174 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 SetTags(std::forward<TagsT>(value));
177 return *this;
178 }
179 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
180 DescribePlaceIndexResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
181 m_tagsHasBeenSet = true;
182 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
183 return *this;
184 }
186
188
189 inline const Aws::String& GetRequestId() const { return m_requestId; }
190 template <typename RequestIdT = Aws::String>
191 void SetRequestId(RequestIdT&& value) {
192 m_requestIdHasBeenSet = true;
193 m_requestId = std::forward<RequestIdT>(value);
194 }
195 template <typename RequestIdT = Aws::String>
197 SetRequestId(std::forward<RequestIdT>(value));
198 return *this;
199 }
201 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
202
203 private:
204 Aws::String m_indexName;
205
206 Aws::String m_indexArn;
207
208 Aws::String m_description;
209
210 Aws::Utils::DateTime m_createTime{};
211
212 Aws::Utils::DateTime m_updateTime{};
213
214 Aws::String m_dataSource;
215
216 DataSourceConfiguration m_dataSourceConfiguration;
217
219
220 Aws::String m_requestId;
221 Aws::Http::HttpResponseCode m_HttpResponseCode;
222 bool m_indexNameHasBeenSet = false;
223 bool m_indexArnHasBeenSet = false;
224 bool m_descriptionHasBeenSet = false;
225 bool m_createTimeHasBeenSet = false;
226 bool m_updateTimeHasBeenSet = false;
227 bool m_dataSourceHasBeenSet = false;
228 bool m_dataSourceConfigurationHasBeenSet = false;
229 bool m_tagsHasBeenSet = false;
230 bool m_requestIdHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace LocationService
235} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribePlaceIndexResult & WithDescription(DescriptionT &&value)
DescribePlaceIndexResult & WithUpdateTime(UpdateTimeT &&value)
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
AWS_LOCATIONSERVICE_API DescribePlaceIndexResult()=default
DescribePlaceIndexResult & WithIndexName(IndexNameT &&value)
DescribePlaceIndexResult & WithCreateTime(CreateTimeT &&value)
DescribePlaceIndexResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribePlaceIndexResult & WithIndexArn(IndexArnT &&value)
DescribePlaceIndexResult & WithRequestId(RequestIdT &&value)
DescribePlaceIndexResult & WithDataSource(DataSourceT &&value)
DescribePlaceIndexResult & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
AWS_LOCATIONSERVICE_API DescribePlaceIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API DescribePlaceIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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