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/DomainInformationContainer.h>
11#include <aws/opensearch/model/InboundConnectionStatus.h>
22namespace OpenSearchService {
46 template <
typename LocalDomainInfoT = DomainInformationContainer>
48 m_localDomainInfoHasBeenSet =
true;
49 m_localDomainInfo = std::forward<LocalDomainInfoT>(value);
51 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>
82 template <
typename ConnectionIdT = Aws::String>
84 m_connectionIdHasBeenSet =
true;
85 m_connectionId = std::forward<ConnectionIdT>(value);
87 template <
typename ConnectionIdT = Aws::String>
100 template <
typename ConnectionStatusT = InboundConnectionStatus>
102 m_connectionStatusHasBeenSet =
true;
103 m_connectionStatus = std::forward<ConnectionStatusT>(value);
105 template <
typename ConnectionStatusT = InboundConnectionStatus>
119 m_connectionModeHasBeenSet =
true;
120 m_connectionMode = value;
137 bool m_localDomainInfoHasBeenSet =
false;
138 bool m_remoteDomainInfoHasBeenSet =
false;
139 bool m_connectionIdHasBeenSet =
false;
140 bool m_connectionStatusHasBeenSet =
false;
141 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