/** * 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 ElasticsearchService { namespace Model { /** *

Container for the parameters to the * DescribeElasticsearchDomains operation. By default, the API * returns the status of all Elasticsearch domains.

See Also:

AWS * API Reference

*/ class DescribeElasticsearchDomainsRequest : public ElasticsearchServiceRequest { public: AWS_ELASTICSEARCHSERVICE_API DescribeElasticsearchDomainsRequest(); // 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 "DescribeElasticsearchDomains"; } AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override; /** *

The Elasticsearch domains for which you want information.

*/ inline const Aws::Vector& GetDomainNames() const{ return m_domainNames; } /** *

The Elasticsearch domains for which you want information.

*/ inline bool DomainNamesHasBeenSet() const { return m_domainNamesHasBeenSet; } /** *

The Elasticsearch domains for which you want information.

*/ inline void SetDomainNames(const Aws::Vector& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; } /** *

The Elasticsearch domains for which you want information.

*/ inline void SetDomainNames(Aws::Vector&& value) { m_domainNamesHasBeenSet = true; m_domainNames = std::move(value); } /** *

The Elasticsearch domains for which you want information.

*/ inline DescribeElasticsearchDomainsRequest& WithDomainNames(const Aws::Vector& value) { SetDomainNames(value); return *this;} /** *

The Elasticsearch domains for which you want information.

*/ inline DescribeElasticsearchDomainsRequest& WithDomainNames(Aws::Vector&& value) { SetDomainNames(std::move(value)); return *this;} /** *

The Elasticsearch domains for which you want information.

*/ inline DescribeElasticsearchDomainsRequest& AddDomainNames(const Aws::String& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; } /** *

The Elasticsearch domains for which you want information.

*/ inline DescribeElasticsearchDomainsRequest& AddDomainNames(Aws::String&& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(std::move(value)); return *this; } /** *

The Elasticsearch domains for which you want information.

*/ inline DescribeElasticsearchDomainsRequest& AddDomainNames(const char* value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; } private: Aws::Vector m_domainNames; bool m_domainNamesHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws