7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/DomainInformationContainer.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/OutboundConnectionStatus.h>
11#include <aws/opensearch/model/ConnectionMode.h>
12#include <aws/opensearch/model/ConnectionProperties.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace OpenSearchService
51 template<
typename LocalDomainInfoT = DomainInformationContainer>
52 void SetLocalDomainInfo(LocalDomainInfoT&& value) { m_localDomainInfoHasBeenSet =
true; m_localDomainInfo = std::forward<LocalDomainInfoT>(value); }
53 template<
typename LocalDomainInfoT = DomainInformationContainer>
62 template<
typename RemoteDomainInfoT = DomainInformationContainer>
63 void SetRemoteDomainInfo(RemoteDomainInfoT&& value) { m_remoteDomainInfoHasBeenSet =
true; m_remoteDomainInfo = std::forward<RemoteDomainInfoT>(value); }
64 template<
typename RemoteDomainInfoT = DomainInformationContainer>
73 template<
typename ConnectionAliasT = Aws::String>
74 void SetConnectionAlias(ConnectionAliasT&& value) { m_connectionAliasHasBeenSet =
true; m_connectionAlias = std::forward<ConnectionAliasT>(value); }
75 template<
typename ConnectionAliasT = Aws::String>
84 template<
typename ConnectionStatusT = OutboundConnectionStatus>
85 void SetConnectionStatus(ConnectionStatusT&& value) { m_connectionStatusHasBeenSet =
true; m_connectionStatus = std::forward<ConnectionStatusT>(value); }
86 template<
typename ConnectionStatusT = OutboundConnectionStatus>
96 template<
typename ConnectionIdT = Aws::String>
97 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
98 template<
typename ConnectionIdT = Aws::String>
116 template<
typename ConnectionPropertiesT = ConnectionProperties>
117 void SetConnectionProperties(ConnectionPropertiesT&& value) { m_connectionPropertiesHasBeenSet =
true; m_connectionProperties = std::forward<ConnectionPropertiesT>(value); }
118 template<
typename ConnectionPropertiesT = ConnectionProperties>
125 template<
typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
127 template<
typename RequestIdT = Aws::String>
133 bool m_localDomainInfoHasBeenSet =
false;
136 bool m_remoteDomainInfoHasBeenSet =
false;
139 bool m_connectionAliasHasBeenSet =
false;
142 bool m_connectionStatusHasBeenSet =
false;
145 bool m_connectionIdHasBeenSet =
false;
148 bool m_connectionModeHasBeenSet =
false;
150 ConnectionProperties m_connectionProperties;
151 bool m_connectionPropertiesHasBeenSet =
false;
154 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)
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