/** * 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 Http { class URI; } //namespace Http namespace OpenSearchService { namespace Model { /** *

Container for the parameters to the ListDomainNames * operation.

See Also:

AWS * API Reference

*/ class ListDomainNamesRequest : public OpenSearchServiceRequest { public: AWS_OPENSEARCHSERVICE_API ListDomainNamesRequest(); // 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 "ListDomainNames"; } AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override; AWS_OPENSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Filters the output by domain engine type.

*/ inline const EngineType& GetEngineType() const{ return m_engineType; } /** *

Filters the output by domain engine type.

*/ inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; } /** *

Filters the output by domain engine type.

*/ inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; } /** *

Filters the output by domain engine type.

*/ inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); } /** *

Filters the output by domain engine type.

*/ inline ListDomainNamesRequest& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;} /** *

Filters the output by domain engine type.

*/ inline ListDomainNamesRequest& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;} private: EngineType m_engineType; bool m_engineTypeHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws