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>
25namespace 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>
63 template<
typename RemoteDomainInfoT = DomainInformationContainer>
64 void SetRemoteDomainInfo(RemoteDomainInfoT&& value) { m_remoteDomainInfoHasBeenSet =
true; m_remoteDomainInfo = std::forward<RemoteDomainInfoT>(value); }
65 template<
typename RemoteDomainInfoT = DomainInformationContainer>
75 template<
typename ConnectionIdT = Aws::String>
76 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
77 template<
typename ConnectionIdT = Aws::String>
87 template<
typename ConnectionAliasT = Aws::String>
88 void SetConnectionAlias(ConnectionAliasT&& value) { m_connectionAliasHasBeenSet =
true; m_connectionAlias = std::forward<ConnectionAliasT>(value); }
89 template<
typename ConnectionAliasT = Aws::String>
99 template<
typename ConnectionStatusT = OutboundConnectionStatus>
100 void SetConnectionStatus(ConnectionStatusT&& value) { m_connectionStatusHasBeenSet =
true; m_connectionStatus = std::forward<ConnectionStatusT>(value); }
101 template<
typename ConnectionStatusT = OutboundConnectionStatus>
121 template<
typename ConnectionPropertiesT = ConnectionProperties>
122 void SetConnectionProperties(ConnectionPropertiesT&& value) { m_connectionPropertiesHasBeenSet =
true; m_connectionProperties = std::forward<ConnectionPropertiesT>(value); }
123 template<
typename ConnectionPropertiesT = ConnectionProperties>
129 bool m_localDomainInfoHasBeenSet =
false;
132 bool m_remoteDomainInfoHasBeenSet =
false;
135 bool m_connectionIdHasBeenSet =
false;
138 bool m_connectionAliasHasBeenSet =
false;
141 bool m_connectionStatusHasBeenSet =
false;
144 bool m_connectionModeHasBeenSet =
false;
146 ConnectionProperties m_connectionProperties;
147 bool m_connectionPropertiesHasBeenSet =
false;
void SetConnectionId(ConnectionIdT &&value)
bool ConnectionIdHasBeenSet() const
const OutboundConnectionStatus & GetConnectionStatus() const
AWS_OPENSEARCHSERVICE_API OutboundConnection()=default
bool LocalDomainInfoHasBeenSet() const
const DomainInformationContainer & GetRemoteDomainInfo() const
bool ConnectionPropertiesHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API OutboundConnection(Aws::Utils::Json::JsonView jsonValue)
bool RemoteDomainInfoHasBeenSet() const
const DomainInformationContainer & GetLocalDomainInfo() const
OutboundConnection & WithConnectionAlias(ConnectionAliasT &&value)
bool ConnectionModeHasBeenSet() const
const Aws::String & GetConnectionAlias() const
OutboundConnection & WithConnectionStatus(ConnectionStatusT &&value)
OutboundConnection & WithConnectionId(ConnectionIdT &&value)
void SetConnectionMode(ConnectionMode value)
void SetLocalDomainInfo(LocalDomainInfoT &&value)
AWS_OPENSEARCHSERVICE_API OutboundConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConnectionProperties & GetConnectionProperties() const
const Aws::String & GetConnectionId() const
void SetConnectionProperties(ConnectionPropertiesT &&value)
ConnectionMode GetConnectionMode() const
OutboundConnection & WithRemoteDomainInfo(RemoteDomainInfoT &&value)
OutboundConnection & WithConnectionMode(ConnectionMode value)
void SetConnectionStatus(ConnectionStatusT &&value)
void SetConnectionAlias(ConnectionAliasT &&value)
void SetRemoteDomainInfo(RemoteDomainInfoT &&value)
bool ConnectionAliasHasBeenSet() const
OutboundConnection & WithLocalDomainInfo(LocalDomainInfoT &&value)
bool ConnectionStatusHasBeenSet() const
OutboundConnection & WithConnectionProperties(ConnectionPropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue