AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribePlaceIndexResult.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/DataSourceConfiguration.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 DescribePlaceIndexResult() = default;
31
33
36 inline const Aws::String& GetIndexName() const { return m_indexName; }
37 template <typename IndexNameT = Aws::String>
38 void SetIndexName(IndexNameT&& value) {
39 m_indexNameHasBeenSet = true;
40 m_indexName = std::forward<IndexNameT>(value);
41 }
42 template <typename IndexNameT = Aws::String>
44 SetIndexName(std::forward<IndexNameT>(value));
45 return *this;
46 }
48
50
56 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
57 template <typename IndexArnT = Aws::String>
58 void SetIndexArn(IndexArnT&& value) {
59 m_indexArnHasBeenSet = true;
60 m_indexArn = std::forward<IndexArnT>(value);
61 }
62 template <typename IndexArnT = Aws::String>
64 SetIndexArn(std::forward<IndexArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
92 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
93 template <typename CreateTimeT = Aws::Utils::DateTime>
94 void SetCreateTime(CreateTimeT&& value) {
95 m_createTimeHasBeenSet = true;
96 m_createTime = std::forward<CreateTimeT>(value);
97 }
98 template <typename CreateTimeT = Aws::Utils::DateTime>
100 SetCreateTime(std::forward<CreateTimeT>(value));
101 return *this;
102 }
104
106
111 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
112 template <typename UpdateTimeT = Aws::Utils::DateTime>
113 void SetUpdateTime(UpdateTimeT&& value) {
114 m_updateTimeHasBeenSet = true;
115 m_updateTime = std::forward<UpdateTimeT>(value);
116 }
117 template <typename UpdateTimeT = Aws::Utils::DateTime>
119 SetUpdateTime(std::forward<UpdateTimeT>(value));
120 return *this;
121 }
123
125
133 inline const Aws::String& GetDataSource() const { return m_dataSource; }
134 template <typename DataSourceT = Aws::String>
135 void SetDataSource(DataSourceT&& value) {
136 m_dataSourceHasBeenSet = true;
137 m_dataSource = std::forward<DataSourceT>(value);
138 }
139 template <typename DataSourceT = Aws::String>
141 SetDataSource(std::forward<DataSourceT>(value));
142 return *this;
143 }
145
147
150 inline const DataSourceConfiguration& GetDataSourceConfiguration() const { return m_dataSourceConfiguration; }
151 template <typename DataSourceConfigurationT = DataSourceConfiguration>
152 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) {
153 m_dataSourceConfigurationHasBeenSet = true;
154 m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value);
155 }
156 template <typename DataSourceConfigurationT = DataSourceConfiguration>
157 DescribePlaceIndexResult& WithDataSourceConfiguration(DataSourceConfigurationT&& value) {
158 SetDataSourceConfiguration(std::forward<DataSourceConfigurationT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
168 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 void SetTags(TagsT&& value) {
170 m_tagsHasBeenSet = true;
171 m_tags = std::forward<TagsT>(value);
172 }
173 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 SetTags(std::forward<TagsT>(value));
176 return *this;
177 }
178 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
179 DescribePlaceIndexResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
180 m_tagsHasBeenSet = true;
181 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
182 return *this;
183 }
185
187
188 inline const Aws::String& GetRequestId() const { return m_requestId; }
189 template <typename RequestIdT = Aws::String>
190 void SetRequestId(RequestIdT&& value) {
191 m_requestIdHasBeenSet = true;
192 m_requestId = std::forward<RequestIdT>(value);
193 }
194 template <typename RequestIdT = Aws::String>
196 SetRequestId(std::forward<RequestIdT>(value));
197 return *this;
198 }
200 private:
201 Aws::String m_indexName;
202
203 Aws::String m_indexArn;
204
205 Aws::String m_description;
206
207 Aws::Utils::DateTime m_createTime{};
208
209 Aws::Utils::DateTime m_updateTime{};
210
211 Aws::String m_dataSource;
212
213 DataSourceConfiguration m_dataSourceConfiguration;
214
216
217 Aws::String m_requestId;
218 bool m_indexNameHasBeenSet = false;
219 bool m_indexArnHasBeenSet = false;
220 bool m_descriptionHasBeenSet = false;
221 bool m_createTimeHasBeenSet = false;
222 bool m_updateTimeHasBeenSet = false;
223 bool m_dataSourceHasBeenSet = false;
224 bool m_dataSourceConfigurationHasBeenSet = false;
225 bool m_tagsHasBeenSet = false;
226 bool m_requestIdHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace LocationService
231} // 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