7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/OutboundConnection.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
44 template <
typename ConnectionsT = Aws::Vector<OutboundConnection>>
46 m_connectionsHasBeenSet =
true;
47 m_connections = std::forward<ConnectionsT>(value);
49 template <
typename ConnectionsT = Aws::Vector<OutboundConnection>>
54 template <
typename ConnectionsT = OutboundConnection>
56 m_connectionsHasBeenSet =
true;
57 m_connections.emplace_back(std::forward<ConnectionsT>(value));
69 template <
typename NextTokenT = Aws::String>
71 m_nextTokenHasBeenSet =
true;
72 m_nextToken = std::forward<NextTokenT>(value);
74 template <
typename NextTokenT = Aws::String>
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
104 bool m_connectionsHasBeenSet =
false;
105 bool m_nextTokenHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
DescribeOutboundConnectionsResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< OutboundConnection > & GetConnections() const
DescribeOutboundConnectionsResult & WithConnections(ConnectionsT &&value)
void SetConnections(ConnectionsT &&value)
DescribeOutboundConnectionsResult & WithNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsResult()=default
const Aws::String & GetRequestId() const
const Aws::String & GetNextToken() const
DescribeOutboundConnectionsResult & AddConnections(ConnectionsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue