AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetIndexName() const{ return m_indexName; }
43 inline void SetIndexName(const Aws::String& value) { m_indexName = value; }
44 inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); }
45 inline void SetIndexName(const char* value) { m_indexName.assign(value); }
46 inline DescribePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
47 inline DescribePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
48 inline DescribePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;}
50
52
58 inline const Aws::String& GetIndexArn() const{ return m_indexArn; }
59 inline void SetIndexArn(const Aws::String& value) { m_indexArn = value; }
60 inline void SetIndexArn(Aws::String&& value) { m_indexArn = std::move(value); }
61 inline void SetIndexArn(const char* value) { m_indexArn.assign(value); }
62 inline DescribePlaceIndexResult& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;}
63 inline DescribePlaceIndexResult& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;}
64 inline DescribePlaceIndexResult& WithIndexArn(const char* value) { SetIndexArn(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline void SetDescription(const Aws::String& value) { m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline DescribePlaceIndexResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline DescribePlaceIndexResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline DescribePlaceIndexResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
86 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
87 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
88 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
89 inline DescribePlaceIndexResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
90 inline DescribePlaceIndexResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
92
94
99 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
100 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
101 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
102 inline DescribePlaceIndexResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
103 inline DescribePlaceIndexResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
105
107
115 inline const Aws::String& GetDataSource() const{ return m_dataSource; }
116 inline void SetDataSource(const Aws::String& value) { m_dataSource = value; }
117 inline void SetDataSource(Aws::String&& value) { m_dataSource = std::move(value); }
118 inline void SetDataSource(const char* value) { m_dataSource.assign(value); }
119 inline DescribePlaceIndexResult& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;}
120 inline DescribePlaceIndexResult& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;}
121 inline DescribePlaceIndexResult& WithDataSource(const char* value) { SetDataSource(value); return *this;}
123
125
128 inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; }
129 inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfiguration = value; }
130 inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfiguration = std::move(value); }
134
136
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
141 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
143 inline DescribePlaceIndexResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
144 inline DescribePlaceIndexResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
145 inline DescribePlaceIndexResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
146 inline DescribePlaceIndexResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
147 inline DescribePlaceIndexResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
148 inline DescribePlaceIndexResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
149 inline DescribePlaceIndexResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
150 inline DescribePlaceIndexResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
152
154
155 inline const Aws::String& GetRequestId() const{ return m_requestId; }
156 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
157 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
158 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
159 inline DescribePlaceIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
160 inline DescribePlaceIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
161 inline DescribePlaceIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
163 private:
164
165 Aws::String m_indexName;
166
167 Aws::String m_indexArn;
168
169 Aws::String m_description;
170
171 Aws::Utils::DateTime m_createTime;
172
173 Aws::Utils::DateTime m_updateTime;
174
175 Aws::String m_dataSource;
176
177 DataSourceConfiguration m_dataSourceConfiguration;
178
180
181 Aws::String m_requestId;
182 };
183
184} // namespace Model
185} // namespace LocationService
186} // namespace Aws
DescribePlaceIndexResult & WithIndexArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribePlaceIndexResult & WithIndexArn(Aws::String &&value)
DescribePlaceIndexResult & WithDescription(Aws::String &&value)
DescribePlaceIndexResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribePlaceIndexResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribePlaceIndexResult & WithDataSource(const Aws::String &value)
DescribePlaceIndexResult & WithDataSourceConfiguration(const DataSourceConfiguration &value)
DescribePlaceIndexResult & WithDescription(const Aws::String &value)
DescribePlaceIndexResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribePlaceIndexResult & WithUpdateTime(const Aws::Utils::DateTime &value)
DescribePlaceIndexResult & WithRequestId(Aws::String &&value)
DescribePlaceIndexResult & WithCreateTime(const Aws::Utils::DateTime &value)
DescribePlaceIndexResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribePlaceIndexResult & WithDataSourceConfiguration(DataSourceConfiguration &&value)
DescribePlaceIndexResult & WithRequestId(const Aws::String &value)
DescribePlaceIndexResult & WithIndexArn(const Aws::String &value)
DescribePlaceIndexResult & WithRequestId(const char *value)
DescribePlaceIndexResult & WithDescription(const char *value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
DescribePlaceIndexResult & WithIndexName(Aws::String &&value)
DescribePlaceIndexResult & WithCreateTime(Aws::Utils::DateTime &&value)
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
DescribePlaceIndexResult & AddTags(const char *key, Aws::String &&value)
DescribePlaceIndexResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribePlaceIndexResult & WithDataSource(Aws::String &&value)
DescribePlaceIndexResult & AddTags(const char *key, const char *value)
AWS_LOCATIONSERVICE_API DescribePlaceIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePlaceIndexResult & WithDataSource(const char *value)
DescribePlaceIndexResult & WithUpdateTime(Aws::Utils::DateTime &&value)
DescribePlaceIndexResult & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribePlaceIndexResult & WithIndexName(const Aws::String &value)
AWS_LOCATIONSERVICE_API DescribePlaceIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePlaceIndexResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribePlaceIndexResult & WithIndexName(const char *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