211 lines
9.0 KiB
C++
211 lines
9.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/es/ElasticsearchService_EXPORTS.h>
|
|
#include <aws/es/ElasticsearchServiceRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/es/model/Filter.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace ElasticsearchService
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Container for the parameters to the
|
|
* <code><a>DescribeInboundCrossClusterSearchConnections</a></code>
|
|
* operation.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeInboundCrossClusterSearchConnectionsRequest">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_ELASTICSEARCHSERVICE_API DescribeInboundCrossClusterSearchConnectionsRequest : public ElasticsearchServiceRequest
|
|
{
|
|
public:
|
|
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::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p> A list of filters used to match properties for inbound cross-cluster search
|
|
* connection. Available <code><a>Filter</a></code> names for this operation are:
|
|
* <ul> <li>cross-cluster-search-connection-id</li>
|
|
* <li>source-domain-info.domain-name</li> <li>source-domain-info.owner-id</li>
|
|
* <li>source-domain-info.region</li> <li>destination-domain-info.domain-name</li>
|
|
* </ul> </p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>Set this value to limit the number of results returned. If not specified,
|
|
* defaults to 100.</p>
|
|
*/
|
|
inline int GetMaxResults() const{ return m_maxResults; }
|
|
|
|
/**
|
|
* <p>Set this value to limit the number of results returned. If not specified,
|
|
* defaults to 100.</p>
|
|
*/
|
|
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Set this value to limit the number of results returned. If not specified,
|
|
* defaults to 100.</p>
|
|
*/
|
|
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
|
|
|
|
/**
|
|
* <p>Set this value to limit the number of results returned. If not specified,
|
|
* defaults to 100.</p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> NextToken is sent in case the earlier API call results contain the
|
|
* NextToken. It is used for pagination.</p>
|
|
*/
|
|
inline DescribeInboundCrossClusterSearchConnectionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::Vector<Filter> m_filters;
|
|
bool m_filtersHasBeenSet;
|
|
|
|
int m_maxResults;
|
|
bool m_maxResultsHasBeenSet;
|
|
|
|
Aws::String m_nextToken;
|
|
bool m_nextTokenHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace ElasticsearchService
|
|
} // namespace Aws
|