AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IndexNameT = Aws::String>
43 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
44 template<typename IndexNameT = Aws::String>
45 UpdatePlaceIndexRequest& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 UpdatePlaceIndexRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
64 inline const DataSourceConfiguration& GetDataSourceConfiguration() const { return m_dataSourceConfiguration; }
65 inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
66 template<typename DataSourceConfigurationT = DataSourceConfiguration>
67 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value); }
68 template<typename DataSourceConfigurationT = DataSourceConfiguration>
69 UpdatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfigurationT&& value) { SetDataSourceConfiguration(std::forward<DataSourceConfigurationT>(value)); return *this;}
71 private:
72
73 Aws::String m_indexName;
74 bool m_indexNameHasBeenSet = false;
75
76 Aws::String m_description;
77 bool m_descriptionHasBeenSet = false;
78
79 DataSourceConfiguration m_dataSourceConfiguration;
80 bool m_dataSourceConfigurationHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace LocationService
85} // 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