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

Container for request parameters to the * ListVpcEndpointsForDomain operation. Specifies the domain * whose VPC endpoints will be listed.

See Also:

AWS * API Reference

*/ class ListVpcEndpointsForDomainRequest : public ElasticsearchServiceRequest { public: AWS_ELASTICSEARCHSERVICE_API ListVpcEndpointsForDomainRequest(); // 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 "ListVpcEndpointsForDomain"; } AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override; AWS_ELASTICSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline ListVpcEndpointsForDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline ListVpcEndpointsForDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

Name of the ElasticSearch domain whose VPC endpoints are to be listed.

*/ inline ListVpcEndpointsForDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline ListVpcEndpointsForDomainRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline ListVpcEndpointsForDomainRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline ListVpcEndpointsForDomainRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws