AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InboundConnection.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace OpenSearchService
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_OPENSEARCHSERVICE_API InboundConnection();
41 AWS_OPENSEARCHSERVICE_API InboundConnection(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPENSEARCHSERVICE_API InboundConnection& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const DomainInformationContainer& GetLocalDomainInfo() const{ return m_localDomainInfo; }
51 inline bool LocalDomainInfoHasBeenSet() const { return m_localDomainInfoHasBeenSet; }
52 inline void SetLocalDomainInfo(const DomainInformationContainer& value) { m_localDomainInfoHasBeenSet = true; m_localDomainInfo = value; }
53 inline void SetLocalDomainInfo(DomainInformationContainer&& value) { m_localDomainInfoHasBeenSet = true; m_localDomainInfo = std::move(value); }
55 inline InboundConnection& WithLocalDomainInfo(DomainInformationContainer&& value) { SetLocalDomainInfo(std::move(value)); return *this;}
57
59
62 inline const DomainInformationContainer& GetRemoteDomainInfo() const{ return m_remoteDomainInfo; }
63 inline bool RemoteDomainInfoHasBeenSet() const { return m_remoteDomainInfoHasBeenSet; }
64 inline void SetRemoteDomainInfo(const DomainInformationContainer& value) { m_remoteDomainInfoHasBeenSet = true; m_remoteDomainInfo = value; }
65 inline void SetRemoteDomainInfo(DomainInformationContainer&& value) { m_remoteDomainInfoHasBeenSet = true; m_remoteDomainInfo = std::move(value); }
67 inline InboundConnection& WithRemoteDomainInfo(DomainInformationContainer&& value) { SetRemoteDomainInfo(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
75 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
76 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
77 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
78 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
79 inline InboundConnection& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
80 inline InboundConnection& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
81 inline InboundConnection& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
83
85
88 inline const InboundConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
89 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
90 inline void SetConnectionStatus(const InboundConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
91 inline void SetConnectionStatus(InboundConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
93 inline InboundConnection& WithConnectionStatus(InboundConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
95
97
100 inline const ConnectionMode& GetConnectionMode() const{ return m_connectionMode; }
101 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
102 inline void SetConnectionMode(const ConnectionMode& value) { m_connectionModeHasBeenSet = true; m_connectionMode = value; }
103 inline void SetConnectionMode(ConnectionMode&& value) { m_connectionModeHasBeenSet = true; m_connectionMode = std::move(value); }
104 inline InboundConnection& WithConnectionMode(const ConnectionMode& value) { SetConnectionMode(value); return *this;}
105 inline InboundConnection& WithConnectionMode(ConnectionMode&& value) { SetConnectionMode(std::move(value)); return *this;}
107 private:
108
109 DomainInformationContainer m_localDomainInfo;
110 bool m_localDomainInfoHasBeenSet = false;
111
112 DomainInformationContainer m_remoteDomainInfo;
113 bool m_remoteDomainInfoHasBeenSet = false;
114
115 Aws::String m_connectionId;
116 bool m_connectionIdHasBeenSet = false;
117
118 InboundConnectionStatus m_connectionStatus;
119 bool m_connectionStatusHasBeenSet = false;
120
121 ConnectionMode m_connectionMode;
122 bool m_connectionModeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace OpenSearchService
127} // namespace Aws
InboundConnection & WithConnectionMode(const ConnectionMode &value)
const DomainInformationContainer & GetLocalDomainInfo() const
InboundConnection & WithConnectionId(Aws::String &&value)
void SetLocalDomainInfo(const DomainInformationContainer &value)
InboundConnection & WithConnectionId(const char *value)
void SetConnectionMode(const ConnectionMode &value)
InboundConnection & WithLocalDomainInfo(const DomainInformationContainer &value)
AWS_OPENSEARCHSERVICE_API InboundConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API InboundConnection(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteDomainInfo(const DomainInformationContainer &value)
InboundConnection & WithRemoteDomainInfo(DomainInformationContainer &&value)
void SetConnectionStatus(const InboundConnectionStatus &value)
InboundConnection & WithLocalDomainInfo(DomainInformationContainer &&value)
const InboundConnectionStatus & GetConnectionStatus() const
InboundConnection & WithConnectionId(const Aws::String &value)
InboundConnection & WithConnectionMode(ConnectionMode &&value)
InboundConnection & WithConnectionStatus(const InboundConnectionStatus &value)
InboundConnection & WithConnectionStatus(InboundConnectionStatus &&value)
const DomainInformationContainer & GetRemoteDomainInfo() const
InboundConnection & WithRemoteDomainInfo(const DomainInformationContainer &value)
AWS_OPENSEARCHSERVICE_API InboundConnection()
void SetLocalDomainInfo(DomainInformationContainer &&value)
void SetConnectionStatus(InboundConnectionStatus &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRemoteDomainInfo(DomainInformationContainer &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue