/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace LocationService { namespace Model { /** */ class UpdatePlaceIndexRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API UpdatePlaceIndexRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdatePlaceIndex"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; /** *

Updates the data storage option for the place index resource.

*/ inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } /** *

Updates the data storage option for the place index resource.

*/ inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; } /** *

Updates the data storage option for the place index resource.

*/ inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; } /** *

Updates the data storage option for the place index resource.

*/ inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); } /** *

Updates the data storage option for the place index resource.

*/ inline UpdatePlaceIndexRequest& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} /** *

Updates the data storage option for the place index resource.

*/ inline UpdatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} /** *

Updates the description for the place index resource.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Updates the description for the place index resource.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Updates the description for the place index resource.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Updates the description for the place index resource.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Updates the description for the place index resource.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Updates the description for the place index resource.

*/ inline UpdatePlaceIndexRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Updates the description for the place index resource.

*/ inline UpdatePlaceIndexRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Updates the description for the place index resource.

*/ inline UpdatePlaceIndexRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name of the place index resource to update.

*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *

The name of the place index resource to update.

*/ inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** *

The name of the place index resource to update.

*/ inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } /** *

The name of the place index resource to update.

*/ inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } /** *

The name of the place index resource to update.

*/ inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } /** *

The name of the place index resource to update.

*/ inline UpdatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *

The name of the place index resource to update.

*/ inline UpdatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *

The name of the place index resource to update.

*/ inline UpdatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} private: DataSourceConfiguration m_dataSourceConfiguration; bool m_dataSourceConfigurationHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_indexName; bool m_indexNameHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws