AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
DescribePlaceIndexResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/location/model/DataSourceConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.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 DescribePlaceIndexResult() = default;
36
37
39
42 inline const Aws::String& GetIndexName() const { return m_indexName; }
43 template<typename IndexNameT = Aws::String>
44 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
45 template<typename IndexNameT = Aws::String>
46 DescribePlaceIndexResult& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
48
50
56 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
57 template<typename IndexArnT = Aws::String>
58 void SetIndexArn(IndexArnT&& value) { m_indexArnHasBeenSet = true; m_indexArn = std::forward<IndexArnT>(value); }
59 template<typename IndexArnT = Aws::String>
60 DescribePlaceIndexResult& WithIndexArn(IndexArnT&& value) { SetIndexArn(std::forward<IndexArnT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 DescribePlaceIndexResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
80 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
81 template<typename CreateTimeT = Aws::Utils::DateTime>
82 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
83 template<typename CreateTimeT = Aws::Utils::DateTime>
84 DescribePlaceIndexResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
86
88
93 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
94 template<typename UpdateTimeT = Aws::Utils::DateTime>
95 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
96 template<typename UpdateTimeT = Aws::Utils::DateTime>
97 DescribePlaceIndexResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
99
101
109 inline const Aws::String& GetDataSource() const { return m_dataSource; }
110 template<typename DataSourceT = Aws::String>
111 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
112 template<typename DataSourceT = Aws::String>
113 DescribePlaceIndexResult& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
115
117
120 inline const DataSourceConfiguration& GetDataSourceConfiguration() const { return m_dataSourceConfiguration; }
121 template<typename DataSourceConfigurationT = DataSourceConfiguration>
122 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value); }
123 template<typename DataSourceConfigurationT = DataSourceConfiguration>
124 DescribePlaceIndexResult& WithDataSourceConfiguration(DataSourceConfigurationT&& value) { SetDataSourceConfiguration(std::forward<DataSourceConfigurationT>(value)); return *this;}
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
132 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
134 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 DescribePlaceIndexResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
136 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
137 DescribePlaceIndexResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
138 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
139 }
141
143
144 inline const Aws::String& GetRequestId() const { return m_requestId; }
145 template<typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
147 template<typename RequestIdT = Aws::String>
148 DescribePlaceIndexResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
150 private:
151
152 Aws::String m_indexName;
153 bool m_indexNameHasBeenSet = false;
154
155 Aws::String m_indexArn;
156 bool m_indexArnHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
161 Aws::Utils::DateTime m_createTime{};
162 bool m_createTimeHasBeenSet = false;
163
164 Aws::Utils::DateTime m_updateTime{};
165 bool m_updateTimeHasBeenSet = false;
166
167 Aws::String m_dataSource;
168 bool m_dataSourceHasBeenSet = false;
169
170 DataSourceConfiguration m_dataSourceConfiguration;
171 bool m_dataSourceConfigurationHasBeenSet = false;
172
174 bool m_tagsHasBeenSet = false;
175
176 Aws::String m_requestId;
177 bool m_requestIdHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace LocationService
182} // 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