7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/ConnectionMode.h>
11#include <aws/opensearch/model/ConnectionProperties.h>
12#include <aws/opensearch/model/DomainInformationContainer.h>
13#include <aws/opensearch/model/OutboundConnectionStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace OpenSearchService {
47 template <
typename LocalDomainInfoT = DomainInformationContainer>
49 m_localDomainInfoHasBeenSet =
true;
50 m_localDomainInfo = std::forward<LocalDomainInfoT>(value);
52 template <
typename LocalDomainInfoT = DomainInformationContainer>
64 template <
typename RemoteDomainInfoT = DomainInformationContainer>
66 m_remoteDomainInfoHasBeenSet =
true;
67 m_remoteDomainInfo = std::forward<RemoteDomainInfoT>(value);
69 template <
typename RemoteDomainInfoT = DomainInformationContainer>
81 template <
typename ConnectionAliasT = Aws::String>
83 m_connectionAliasHasBeenSet =
true;
84 m_connectionAlias = std::forward<ConnectionAliasT>(value);
86 template <
typename ConnectionAliasT = Aws::String>
98 template <
typename ConnectionStatusT = OutboundConnectionStatus>
100 m_connectionStatusHasBeenSet =
true;
101 m_connectionStatus = std::forward<ConnectionStatusT>(value);
103 template <
typename ConnectionStatusT = OutboundConnectionStatus>
116 template <
typename ConnectionIdT = Aws::String>
118 m_connectionIdHasBeenSet =
true;
119 m_connectionId = std::forward<ConnectionIdT>(value);
121 template <
typename ConnectionIdT = Aws::String>
134 m_connectionModeHasBeenSet =
true;
135 m_connectionMode = value;
148 template <
typename ConnectionPropertiesT = ConnectionProperties>
150 m_connectionPropertiesHasBeenSet =
true;
151 m_connectionProperties = std::forward<ConnectionPropertiesT>(value);
153 template <
typename ConnectionPropertiesT = ConnectionProperties>
163 template <
typename RequestIdT = Aws::String>
165 m_requestIdHasBeenSet =
true;
166 m_requestId = std::forward<RequestIdT>(value);
168 template <
typename RequestIdT = Aws::String>
189 ConnectionProperties m_connectionProperties;
193 bool m_localDomainInfoHasBeenSet =
false;
194 bool m_remoteDomainInfoHasBeenSet =
false;
195 bool m_connectionAliasHasBeenSet =
false;
196 bool m_connectionStatusHasBeenSet =
false;
197 bool m_connectionIdHasBeenSet =
false;
198 bool m_connectionModeHasBeenSet =
false;
199 bool m_connectionPropertiesHasBeenSet =
false;
200 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetConnectionId() const
CreateOutboundConnectionResult & WithRequestId(RequestIdT &&value)
CreateOutboundConnectionResult & WithRemoteDomainInfo(RemoteDomainInfoT &&value)
AWS_OPENSEARCHSERVICE_API CreateOutboundConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API CreateOutboundConnectionResult()=default
CreateOutboundConnectionResult & WithConnectionProperties(ConnectionPropertiesT &&value)
CreateOutboundConnectionResult & WithConnectionId(ConnectionIdT &&value)
CreateOutboundConnectionResult & WithLocalDomainInfo(LocalDomainInfoT &&value)
const Aws::String & GetRequestId() const
void SetConnectionStatus(ConnectionStatusT &&value)
CreateOutboundConnectionResult & WithConnectionMode(ConnectionMode value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const OutboundConnectionStatus & GetConnectionStatus() const
const ConnectionProperties & GetConnectionProperties() const
void SetConnectionProperties(ConnectionPropertiesT &&value)
void SetRequestId(RequestIdT &&value)
void SetConnectionMode(ConnectionMode value)
CreateOutboundConnectionResult & WithConnectionStatus(ConnectionStatusT &&value)
void SetConnectionId(ConnectionIdT &&value)
const DomainInformationContainer & GetLocalDomainInfo() const
const Aws::String & GetConnectionAlias() const
void SetConnectionAlias(ConnectionAliasT &&value)
void SetLocalDomainInfo(LocalDomainInfoT &&value)
ConnectionMode GetConnectionMode() const
CreateOutboundConnectionResult & WithConnectionAlias(ConnectionAliasT &&value)
void SetRemoteDomainInfo(RemoteDomainInfoT &&value)
const DomainInformationContainer & GetRemoteDomainInfo() const
AWS_OPENSEARCHSERVICE_API CreateOutboundConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue