AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdatePlaceIndexRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/DataSourceConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LocationService {
16namespace Model {
17
21 public:
22 AWS_LOCATIONSERVICE_API UpdatePlaceIndexRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdatePlaceIndex"; }
29
30 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetIndexName() const { return m_indexName; }
37 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
38 template <typename IndexNameT = Aws::String>
39 void SetIndexName(IndexNameT&& value) {
40 m_indexNameHasBeenSet = true;
41 m_indexName = std::forward<IndexNameT>(value);
42 }
43 template <typename IndexNameT = Aws::String>
45 SetIndexName(std::forward<IndexNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
72 inline const DataSourceConfiguration& GetDataSourceConfiguration() const { return m_dataSourceConfiguration; }
73 inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
74 template <typename DataSourceConfigurationT = DataSourceConfiguration>
75 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) {
76 m_dataSourceConfigurationHasBeenSet = true;
77 m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value);
78 }
79 template <typename DataSourceConfigurationT = DataSourceConfiguration>
80 UpdatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfigurationT&& value) {
81 SetDataSourceConfiguration(std::forward<DataSourceConfigurationT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_indexName;
87
88 Aws::String m_description;
89
90 DataSourceConfiguration m_dataSourceConfiguration;
91 bool m_indexNameHasBeenSet = false;
92 bool m_descriptionHasBeenSet = false;
93 bool m_dataSourceConfigurationHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace LocationService
98} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdatePlaceIndexRequest & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
AWS_LOCATIONSERVICE_API UpdatePlaceIndexRequest()=default
UpdatePlaceIndexRequest & WithDescription(DescriptionT &&value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
UpdatePlaceIndexRequest & WithIndexName(IndexNameT &&value)
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String