/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace LocationService { namespace Model { /** */ class DescribePlaceIndexRequest : public LocationServiceRequest { public: AWS_LOCATIONSERVICE_API DescribePlaceIndexRequest(); // 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 "DescribePlaceIndex"; } AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; /** *

The name of the place index resource.

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

The name of the place index resource.

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

The name of the place index resource.

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

The name of the place index resource.

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

The name of the place index resource.

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

The name of the place index resource.

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

The name of the place index resource.

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

The name of the place index resource.

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