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/InboundConnectionStatus.h>
11#include <aws/opensearch/model/ConnectionMode.h>
24namespace OpenSearchService
52 template<
typename LocalDomainInfoT = DomainInformationContainer>
53 void SetLocalDomainInfo(LocalDomainInfoT&& value) { m_localDomainInfoHasBeenSet =
true; m_localDomainInfo = std::forward<LocalDomainInfoT>(value); }
54 template<
typename LocalDomainInfoT = DomainInformationContainer>
64 template<
typename RemoteDomainInfoT = DomainInformationContainer>
65 void SetRemoteDomainInfo(RemoteDomainInfoT&& value) { m_remoteDomainInfoHasBeenSet =
true; m_remoteDomainInfo = std::forward<RemoteDomainInfoT>(value); }
66 template<
typename RemoteDomainInfoT = DomainInformationContainer>
76 template<
typename ConnectionIdT = Aws::String>
77 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
78 template<
typename ConnectionIdT = Aws::String>
88 template<
typename ConnectionStatusT = InboundConnectionStatus>
89 void SetConnectionStatus(ConnectionStatusT&& value) { m_connectionStatusHasBeenSet =
true; m_connectionStatus = std::forward<ConnectionStatusT>(value); }
90 template<
typename ConnectionStatusT = InboundConnectionStatus>
106 bool m_localDomainInfoHasBeenSet =
false;
109 bool m_remoteDomainInfoHasBeenSet =
false;
112 bool m_connectionIdHasBeenSet =
false;
115 bool m_connectionStatusHasBeenSet =
false;
118 bool m_connectionModeHasBeenSet =
false;
const DomainInformationContainer & GetLocalDomainInfo() const
InboundConnection & WithConnectionStatus(ConnectionStatusT &&value)
bool RemoteDomainInfoHasBeenSet() const
void SetConnectionMode(ConnectionMode value)
AWS_OPENSEARCHSERVICE_API InboundConnection()=default
bool ConnectionModeHasBeenSet() const
void SetRemoteDomainInfo(RemoteDomainInfoT &&value)
bool ConnectionStatusHasBeenSet() const
bool ConnectionIdHasBeenSet() const
AWS_OPENSEARCHSERVICE_API InboundConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API InboundConnection(Aws::Utils::Json::JsonView jsonValue)
void SetLocalDomainInfo(LocalDomainInfoT &&value)
const InboundConnectionStatus & GetConnectionStatus() const
const DomainInformationContainer & GetRemoteDomainInfo() const
InboundConnection & WithRemoteDomainInfo(RemoteDomainInfoT &&value)
bool LocalDomainInfoHasBeenSet() const
ConnectionMode GetConnectionMode() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetConnectionId() const
void SetConnectionStatus(ConnectionStatusT &&value)
InboundConnection & WithConnectionId(ConnectionIdT &&value)
InboundConnection & WithConnectionMode(ConnectionMode value)
void SetConnectionId(ConnectionIdT &&value)
InboundConnection & WithLocalDomainInfo(LocalDomainInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue