AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePlaceIndexRequest.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 <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API UpdatePlaceIndexRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdatePlaceIndex"; }
32
33 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetIndexName() const{ return m_indexName; }
41 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
42 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
43 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
44 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
45 inline UpdatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
46 inline UpdatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
47 inline UpdatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline UpdatePlaceIndexRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline UpdatePlaceIndexRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline UpdatePlaceIndexRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
68 inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; }
69 inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
70 inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; }
71 inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); }
75 private:
76
77 Aws::String m_indexName;
78 bool m_indexNameHasBeenSet = false;
79
80 Aws::String m_description;
81 bool m_descriptionHasBeenSet = false;
82
83 DataSourceConfiguration m_dataSourceConfiguration;
84 bool m_dataSourceConfigurationHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace LocationService
89} // namespace Aws
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
virtual const char * GetServiceRequestName() const override
UpdatePlaceIndexRequest & WithDescription(Aws::String &&value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
UpdatePlaceIndexRequest & WithIndexName(Aws::String &&value)
UpdatePlaceIndexRequest & WithDataSourceConfiguration(DataSourceConfiguration &&value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
UpdatePlaceIndexRequest & WithDescription(const char *value)
UpdatePlaceIndexRequest & WithIndexName(const char *value)
UpdatePlaceIndexRequest & WithDescription(const Aws::String &value)
UpdatePlaceIndexRequest & WithIndexName(const Aws::String &value)
UpdatePlaceIndexRequest & WithDataSourceConfiguration(const DataSourceConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String