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

Container for the parameters to the DescribeDomains * operation. By default shows the status of all domains. To restrict the response * to particular domains, specify the names of the domains you want to * describe.

See Also:

AWS * API Reference

*/ class DescribeDomainsRequest : public CloudSearchRequest { public: AWS_CLOUDSEARCH_API DescribeDomainsRequest(); // 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 "DescribeDomains"; } AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override; protected: AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

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

The names of the domains you want to include in the response.

*/ inline DescribeDomainsRequest& 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 CloudSearch } // namespace Aws