7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/ConnectionMode.h>
10#include <aws/opensearch/model/ConnectionProperties.h>
11#include <aws/opensearch/model/DomainInformationContainer.h>
12#include <aws/opensearch/model/OutboundConnectionStatus.h>
23namespace OpenSearchService {
45 template <
typename LocalDomainInfoT = DomainInformationContainer>
47 m_localDomainInfoHasBeenSet =
true;
48 m_localDomainInfo = std::forward<LocalDomainInfoT>(value);
50 template <
typename LocalDomainInfoT = DomainInformationContainer>
63 template <
typename RemoteDomainInfoT = DomainInformationContainer>
65 m_remoteDomainInfoHasBeenSet =
true;
66 m_remoteDomainInfo = std::forward<RemoteDomainInfoT>(value);
68 template <
typename RemoteDomainInfoT = DomainInformationContainer>
81 template <
typename ConnectionIdT = Aws::String>
83 m_connectionIdHasBeenSet =
true;
84 m_connectionId = std::forward<ConnectionIdT>(value);
86 template <
typename ConnectionIdT = Aws::String>
99 template <
typename ConnectionAliasT = Aws::String>
101 m_connectionAliasHasBeenSet =
true;
102 m_connectionAlias = std::forward<ConnectionAliasT>(value);
104 template <
typename ConnectionAliasT = Aws::String>
117 template <
typename ConnectionStatusT = OutboundConnectionStatus>
119 m_connectionStatusHasBeenSet =
true;
120 m_connectionStatus = std::forward<ConnectionStatusT>(value);
122 template <
typename ConnectionStatusT = OutboundConnectionStatus>
136 m_connectionModeHasBeenSet =
true;
137 m_connectionMode = value;
151 template <
typename ConnectionPropertiesT = ConnectionProperties>
153 m_connectionPropertiesHasBeenSet =
true;
154 m_connectionProperties = std::forward<ConnectionPropertiesT>(value);
156 template <
typename ConnectionPropertiesT = ConnectionProperties>
175 ConnectionProperties m_connectionProperties;
176 bool m_localDomainInfoHasBeenSet =
false;
177 bool m_remoteDomainInfoHasBeenSet =
false;
178 bool m_connectionIdHasBeenSet =
false;
179 bool m_connectionAliasHasBeenSet =
false;
180 bool m_connectionStatusHasBeenSet =
false;
181 bool m_connectionModeHasBeenSet =
false;
182 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