AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePlaceIndexRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/DataSourceConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LocationService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOCATIONSERVICE_API CreatePlaceIndexRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreatePlaceIndex"; }
33
34 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
35
36
38
45 inline const Aws::String& GetIndexName() const{ return m_indexName; }
46 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
47 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
48 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
49 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
50 inline CreatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
51 inline CreatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
52 inline CreatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
54
56
86 inline const Aws::String& GetDataSource() const{ return m_dataSource; }
87 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
88 inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
89 inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
90 inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); }
91 inline CreatePlaceIndexRequest& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;}
92 inline CreatePlaceIndexRequest& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;}
93 inline CreatePlaceIndexRequest& WithDataSource(const char* value) { SetDataSource(value); return *this;}
95
97
100 inline const Aws::String& GetDescription() const{ return m_description; }
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
103 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline CreatePlaceIndexRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 inline CreatePlaceIndexRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 inline CreatePlaceIndexRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
109
111
114 inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; }
115 inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
116 inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; }
117 inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); }
121
123
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
137 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
138 inline CreatePlaceIndexRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
139 inline CreatePlaceIndexRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
140 inline CreatePlaceIndexRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
141 inline CreatePlaceIndexRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
142 inline CreatePlaceIndexRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
143 inline CreatePlaceIndexRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
144 inline CreatePlaceIndexRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
145 inline CreatePlaceIndexRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
146 inline CreatePlaceIndexRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
148 private:
149
150 Aws::String m_indexName;
151 bool m_indexNameHasBeenSet = false;
152
153 Aws::String m_dataSource;
154 bool m_dataSourceHasBeenSet = false;
155
156 Aws::String m_description;
157 bool m_descriptionHasBeenSet = false;
158
159 DataSourceConfiguration m_dataSourceConfiguration;
160 bool m_dataSourceConfigurationHasBeenSet = false;
161
163 bool m_tagsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace LocationService
168} // namespace Aws
CreatePlaceIndexRequest & AddTags(const char *key, Aws::String &&value)
CreatePlaceIndexRequest & WithDataSourceConfiguration(DataSourceConfiguration &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePlaceIndexRequest & WithDescription(const char *value)
CreatePlaceIndexRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreatePlaceIndexRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePlaceIndexRequest & WithIndexName(Aws::String &&value)
CreatePlaceIndexRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePlaceIndexRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePlaceIndexRequest & AddTags(const char *key, const char *value)
CreatePlaceIndexRequest & WithIndexName(const char *value)
CreatePlaceIndexRequest & WithDescription(Aws::String &&value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
CreatePlaceIndexRequest & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePlaceIndexRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
virtual const char * GetServiceRequestName() const override
CreatePlaceIndexRequest & WithDataSource(Aws::String &&value)
CreatePlaceIndexRequest & WithDataSource(const Aws::String &value)
CreatePlaceIndexRequest & WithDataSource(const char *value)
CreatePlaceIndexRequest & WithDataSourceConfiguration(const DataSourceConfiguration &value)
CreatePlaceIndexRequest & AddTags(Aws::String &&key, const char *value)
CreatePlaceIndexRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreatePlaceIndexRequest & WithIndexName(const Aws::String &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