This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-es/include/aws/es/model/DescribeInboundCrossClusterSearchConnectionsResult.h

147 lines
6.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/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/es/model/InboundCrossClusterSearchConnection.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ElasticsearchService
{
namespace Model
{
/**
* <p>The result of a
* <code><a>DescribeInboundCrossClusterSearchConnections</a></code> request.
* Contains the list of connections matching the filter criteria.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeInboundCrossClusterSearchConnectionsResponse">AWS
* API Reference</a></p>
*/
class AWS_ELASTICSEARCHSERVICE_API DescribeInboundCrossClusterSearchConnectionsResult
{
public:
DescribeInboundCrossClusterSearchConnectionsResult();
DescribeInboundCrossClusterSearchConnectionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeInboundCrossClusterSearchConnectionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code>
* matching the specified filter criteria.</p>
*/
inline const Aws::Vector<InboundCrossClusterSearchConnection>& GetCrossClusterSearchConnections() const{ return m_crossClusterSearchConnections; }
/**
* <p>Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code>
* matching the specified filter criteria.</p>
*/
inline void SetCrossClusterSearchConnections(const Aws::Vector<InboundCrossClusterSearchConnection>& value) { m_crossClusterSearchConnections = value; }
/**
* <p>Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code>
* matching the specified filter criteria.</p>
*/
inline void SetCrossClusterSearchConnections(Aws::Vector<InboundCrossClusterSearchConnection>&& value) { m_crossClusterSearchConnections = std::move(value); }
/**
* <p>Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code>
* matching the specified filter criteria.</p>
*/
inline DescribeInboundCrossClusterSearchConnectionsResult& WithCrossClusterSearchConnections(const Aws::Vector<InboundCrossClusterSearchConnection>& value) { SetCrossClusterSearchConnections(value); return *this;}
/**
* <p>Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code>
* matching the specified filter criteria.</p>
*/
inline DescribeInboundCrossClusterSearchConnectionsResult& WithCrossClusterSearchConnections(Aws::Vector<InboundCrossClusterSearchConnection>&& value) { SetCrossClusterSearchConnections(std::move(value)); return *this;}
/**
* <p>Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code>
* matching the specified filter criteria.</p>
*/
inline DescribeInboundCrossClusterSearchConnectionsResult& AddCrossClusterSearchConnections(const InboundCrossClusterSearchConnection& value) { m_crossClusterSearchConnections.push_back(value); return *this; }
/**
* <p>Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code>
* matching the specified filter criteria.</p>
*/
inline DescribeInboundCrossClusterSearchConnectionsResult& AddCrossClusterSearchConnections(InboundCrossClusterSearchConnection&& value) { m_crossClusterSearchConnections.push_back(std::move(value)); return *this; }
/**
* <p>If more results are available and NextToken is present, make the next request
* to the same API with the received NextToken to paginate the remaining results.
* </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If more results are available and NextToken is present, make the next request
* to the same API with the received NextToken to paginate the remaining results.
* </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If more results are available and NextToken is present, make the next request
* to the same API with the received NextToken to paginate the remaining results.
* </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If more results are available and NextToken is present, make the next request
* to the same API with the received NextToken to paginate the remaining results.
* </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If more results are available and NextToken is present, make the next request
* to the same API with the received NextToken to paginate the remaining results.
* </p>
*/
inline DescribeInboundCrossClusterSearchConnectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If more results are available and NextToken is present, make the next request
* to the same API with the received NextToken to paginate the remaining results.
* </p>
*/
inline DescribeInboundCrossClusterSearchConnectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If more results are available and NextToken is present, make the next request
* to the same API with the received NextToken to paginate the remaining results.
* </p>
*/
inline DescribeInboundCrossClusterSearchConnectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<InboundCrossClusterSearchConnection> m_crossClusterSearchConnections;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace ElasticsearchService
} // namespace Aws