/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace ElasticsearchService { namespace Model { /** *

Container for the parameters to the * DescribeInboundCrossClusterSearchConnections * operation.

See Also:

AWS * API Reference

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

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline DescribeInboundCrossClusterSearchConnectionsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline DescribeInboundCrossClusterSearchConnectionsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline DescribeInboundCrossClusterSearchConnectionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

A list of filters used to match properties for inbound cross-cluster search * connection. Available Filter names for this operation are: *

  • cross-cluster-search-connection-id
  • *
  • source-domain-info.domain-name
  • source-domain-info.owner-id
  • *
  • source-domain-info.region
  • destination-domain-info.domain-name
  • *

*/ inline DescribeInboundCrossClusterSearchConnectionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

Set this value to limit the number of results returned. If not specified, * defaults to 100.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Set this value to limit the number of results returned. If not specified, * defaults to 100.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Set this value to limit the number of results returned. If not specified, * defaults to 100.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Set this value to limit the number of results returned. If not specified, * defaults to 100.

*/ inline DescribeInboundCrossClusterSearchConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

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

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

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

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

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

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

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

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

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

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

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

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

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

NextToken is sent in case the earlier API call results contain the * NextToken. It is used for pagination.

*/ inline DescribeInboundCrossClusterSearchConnectionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_filters; bool m_filtersHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws