AWS SDK for C++  1.9.125
AWS SDK for C++
CreatePlaceIndexRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace LocationService
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreatePlaceIndex"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
61  inline const Aws::String& GetDataSource() const{ return m_dataSource; }
62 
86  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
87 
111  inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
112 
136  inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
137 
161  inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); }
162 
186  inline CreatePlaceIndexRequest& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;}
187 
211  inline CreatePlaceIndexRequest& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;}
212 
236  inline CreatePlaceIndexRequest& WithDataSource(const char* value) { SetDataSource(value); return *this;}
237 
238 
242  inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; }
243 
247  inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
248 
252  inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; }
253 
257  inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); }
258 
262  inline CreatePlaceIndexRequest& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;}
263 
267  inline CreatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;}
268 
269 
273  inline const Aws::String& GetDescription() const{ return m_description; }
274 
278  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
279 
283  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
284 
288  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
289 
293  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
294 
298  inline CreatePlaceIndexRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
299 
303  inline CreatePlaceIndexRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
304 
308  inline CreatePlaceIndexRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
309 
310 
318  inline const Aws::String& GetIndexName() const{ return m_indexName; }
319 
327  inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
328 
336  inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
337 
345  inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
346 
354  inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
355 
363  inline CreatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
364 
372  inline CreatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
373 
381  inline CreatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
382 
383 
390  inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
391 
398  inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
399 
406  inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
407 
414  inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
415 
422  inline CreatePlaceIndexRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
423 
430  inline CreatePlaceIndexRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
431 
432 
443  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
444 
455  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
456 
467  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
468 
479  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
480 
491  inline CreatePlaceIndexRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
492 
503  inline CreatePlaceIndexRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
504 
515  inline CreatePlaceIndexRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
516 
527  inline CreatePlaceIndexRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
528 
539  inline CreatePlaceIndexRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
540 
551  inline CreatePlaceIndexRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
552 
563  inline CreatePlaceIndexRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
564 
575  inline CreatePlaceIndexRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
576 
587  inline CreatePlaceIndexRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
588 
589  private:
590 
591  Aws::String m_dataSource;
592  bool m_dataSourceHasBeenSet;
593 
594  DataSourceConfiguration m_dataSourceConfiguration;
595  bool m_dataSourceConfigurationHasBeenSet;
596 
597  Aws::String m_description;
598  bool m_descriptionHasBeenSet;
599 
600  Aws::String m_indexName;
601  bool m_indexNameHasBeenSet;
602 
603  PricingPlan m_pricingPlan;
604  bool m_pricingPlanHasBeenSet;
605 
607  bool m_tagsHasBeenSet;
608  };
609 
610 } // namespace Model
611 } // namespace LocationService
612 } // namespace Aws
Aws::LocationService::Model::CreatePlaceIndexRequest::SetIndexName
void SetIndexName(Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:345
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:283
Aws::LocationService::Model::CreatePlaceIndexRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreatePlaceIndexRequest.h:479
Aws::LocationService::Model::CreatePlaceIndexRequest::AddTags
CreatePlaceIndexRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:539
Aws::LocationService::Model::CreatePlaceIndexRequest::GetIndexName
const Aws::String & GetIndexName() const
Definition: CreatePlaceIndexRequest.h:318
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:288
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDataSourceConfiguration
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
Definition: CreatePlaceIndexRequest.h:257
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDataSourceConfiguration
CreatePlaceIndexRequest & WithDataSourceConfiguration(const DataSourceConfiguration &value)
Definition: CreatePlaceIndexRequest.h:262
Aws::LocationService::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDescription
CreatePlaceIndexRequest & WithDescription(const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:298
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDataSourceConfiguration
CreatePlaceIndexRequest & WithDataSourceConfiguration(DataSourceConfiguration &&value)
Definition: CreatePlaceIndexRequest.h:267
Aws::LocationService::Model::CreatePlaceIndexRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: CreatePlaceIndexRequest.h:414
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::CreatePlaceIndexRequest::WithPricingPlan
CreatePlaceIndexRequest & WithPricingPlan(const PricingPlan &value)
Definition: CreatePlaceIndexRequest.h:422
PricingPlan.h
LocationServiceRequest.h
Aws::LocationService::Model::CreatePlaceIndexRequest::IndexNameHasBeenSet
bool IndexNameHasBeenSet() const
Definition: CreatePlaceIndexRequest.h:327
LocationService_EXPORTS.h
Aws::LocationService::Model::CreatePlaceIndexRequest::GetDataSource
const Aws::String & GetDataSource() const
Definition: CreatePlaceIndexRequest.h:61
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDescription
CreatePlaceIndexRequest & WithDescription(Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:303
Aws::LocationService::Model::CreatePlaceIndexRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: CreatePlaceIndexRequest.h:398
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDataSource
void SetDataSource(const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:111
Aws::LocationService::Model::CreatePlaceIndexRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: CreatePlaceIndexRequest.h:406
Aws::LocationService::Model::CreatePlaceIndexRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreatePlaceIndexRequest.h:467
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDataSource
CreatePlaceIndexRequest & WithDataSource(Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:211
Aws::LocationService::Model::CreatePlaceIndexRequest
Definition: CreatePlaceIndexRequest.h:25
Aws::LocationService::Model::CreatePlaceIndexRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreatePlaceIndexRequest.h:273
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDataSource
CreatePlaceIndexRequest & WithDataSource(const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:186
DataSourceConfiguration.h
Aws::LocationService::Model::CreatePlaceIndexRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::CreatePlaceIndexRequest::GetDataSourceConfiguration
const DataSourceConfiguration & GetDataSourceConfiguration() const
Definition: CreatePlaceIndexRequest.h:242
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDescription
void SetDescription(const char *value)
Definition: CreatePlaceIndexRequest.h:293
Aws::LocationService::Model::CreatePlaceIndexRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreatePlaceIndexRequest.h:33
Aws::LocationService::Model::DataSourceConfiguration
Definition: DataSourceConfiguration.h:42
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDataSource
CreatePlaceIndexRequest & WithDataSource(const char *value)
Definition: CreatePlaceIndexRequest.h:236
Aws::LocationService::Model::CreatePlaceIndexRequest::WithIndexName
CreatePlaceIndexRequest & WithIndexName(Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:372
AWSString.h
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDataSource
void SetDataSource(const char *value)
Definition: CreatePlaceIndexRequest.h:161
Aws::LocationService::Model::CreatePlaceIndexRequest::WithIndexName
CreatePlaceIndexRequest & WithIndexName(const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:363
Aws::LocationService::Model::CreatePlaceIndexRequest::AddTags
CreatePlaceIndexRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:515
Aws::LocationService::Model::CreatePlaceIndexRequest::AddTags
CreatePlaceIndexRequest & AddTags(const char *key, const char *value)
Definition: CreatePlaceIndexRequest.h:587
Aws::LocationService::Model::CreatePlaceIndexRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: CreatePlaceIndexRequest.h:390
Aws::LocationService::Model::CreatePlaceIndexRequest::WithTags
CreatePlaceIndexRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreatePlaceIndexRequest.h:503
Aws::LocationService::Model::CreatePlaceIndexRequest::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: CreatePlaceIndexRequest.h:86
Aws::LocationService::Model::CreatePlaceIndexRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreatePlaceIndexRequest.h:443
Aws::LocationService::Model::CreatePlaceIndexRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreatePlaceIndexRequest.h:278
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDataSource
void SetDataSource(Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:136
Aws::LocationService::Model::CreatePlaceIndexRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreatePlaceIndexRequest.h:455
Aws::LocationService::Model::CreatePlaceIndexRequest::AddTags
CreatePlaceIndexRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:527
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::CreatePlaceIndexRequest::SetIndexName
void SetIndexName(const char *value)
Definition: CreatePlaceIndexRequest.h:354
Aws::LocationService::Model::CreatePlaceIndexRequest::AddTags
CreatePlaceIndexRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreatePlaceIndexRequest.h:575
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::CreatePlaceIndexRequest::SetIndexName
void SetIndexName(const Aws::String &value)
Definition: CreatePlaceIndexRequest.h:336
Aws::LocationService::Model::CreatePlaceIndexRequest::DataSourceConfigurationHasBeenSet
bool DataSourceConfigurationHasBeenSet() const
Definition: CreatePlaceIndexRequest.h:247
Aws::LocationService::Model::CreatePlaceIndexRequest::AddTags
CreatePlaceIndexRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:551
Aws::LocationService::Model::CreatePlaceIndexRequest::WithDescription
CreatePlaceIndexRequest & WithDescription(const char *value)
Definition: CreatePlaceIndexRequest.h:308
Aws::LocationService::Model::CreatePlaceIndexRequest::WithIndexName
CreatePlaceIndexRequest & WithIndexName(const char *value)
Definition: CreatePlaceIndexRequest.h:381
Aws::LocationService::Model::CreatePlaceIndexRequest::WithTags
CreatePlaceIndexRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreatePlaceIndexRequest.h:491
Aws::LocationService::Model::CreatePlaceIndexRequest::CreatePlaceIndexRequest
CreatePlaceIndexRequest()
AWSMap.h
Aws::LocationService::Model::CreatePlaceIndexRequest::SetDataSourceConfiguration
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
Definition: CreatePlaceIndexRequest.h:252
Aws::LocationService::Model::CreatePlaceIndexRequest::AddTags
CreatePlaceIndexRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreatePlaceIndexRequest.h:563
Aws::LocationService::Model::CreatePlaceIndexRequest::WithPricingPlan
CreatePlaceIndexRequest & WithPricingPlan(PricingPlan &&value)
Definition: CreatePlaceIndexRequest.h:430
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19