AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutboundConnection.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/OutboundConnectionStatus.h>
11#include <aws/opensearch/model/ConnectionMode.h>
12#include <aws/opensearch/model/ConnectionProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_OPENSEARCHSERVICE_API OutboundConnection();
40 AWS_OPENSEARCHSERVICE_API OutboundConnection(Aws::Utils::Json::JsonView jsonValue);
41 AWS_OPENSEARCHSERVICE_API OutboundConnection& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const DomainInformationContainer& GetLocalDomainInfo() const{ return m_localDomainInfo; }
50 inline bool LocalDomainInfoHasBeenSet() const { return m_localDomainInfoHasBeenSet; }
51 inline void SetLocalDomainInfo(const DomainInformationContainer& value) { m_localDomainInfoHasBeenSet = true; m_localDomainInfo = value; }
52 inline void SetLocalDomainInfo(DomainInformationContainer&& value) { m_localDomainInfoHasBeenSet = true; m_localDomainInfo = std::move(value); }
54 inline OutboundConnection& WithLocalDomainInfo(DomainInformationContainer&& value) { SetLocalDomainInfo(std::move(value)); return *this;}
56
58
61 inline const DomainInformationContainer& GetRemoteDomainInfo() const{ return m_remoteDomainInfo; }
62 inline bool RemoteDomainInfoHasBeenSet() const { return m_remoteDomainInfoHasBeenSet; }
63 inline void SetRemoteDomainInfo(const DomainInformationContainer& value) { m_remoteDomainInfoHasBeenSet = true; m_remoteDomainInfo = value; }
64 inline void SetRemoteDomainInfo(DomainInformationContainer&& value) { m_remoteDomainInfoHasBeenSet = true; m_remoteDomainInfo = std::move(value); }
68
70
73 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
74 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
75 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
76 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
77 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
78 inline OutboundConnection& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
79 inline OutboundConnection& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
80 inline OutboundConnection& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
82
84
87 inline const Aws::String& GetConnectionAlias() const{ return m_connectionAlias; }
88 inline bool ConnectionAliasHasBeenSet() const { return m_connectionAliasHasBeenSet; }
89 inline void SetConnectionAlias(const Aws::String& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = value; }
90 inline void SetConnectionAlias(Aws::String&& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = std::move(value); }
91 inline void SetConnectionAlias(const char* value) { m_connectionAliasHasBeenSet = true; m_connectionAlias.assign(value); }
92 inline OutboundConnection& WithConnectionAlias(const Aws::String& value) { SetConnectionAlias(value); return *this;}
93 inline OutboundConnection& WithConnectionAlias(Aws::String&& value) { SetConnectionAlias(std::move(value)); return *this;}
94 inline OutboundConnection& WithConnectionAlias(const char* value) { SetConnectionAlias(value); return *this;}
96
98
101 inline const OutboundConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
102 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
103 inline void SetConnectionStatus(const OutboundConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
104 inline void SetConnectionStatus(OutboundConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
106 inline OutboundConnection& WithConnectionStatus(OutboundConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
108
110
113 inline const ConnectionMode& GetConnectionMode() const{ return m_connectionMode; }
114 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
115 inline void SetConnectionMode(const ConnectionMode& value) { m_connectionModeHasBeenSet = true; m_connectionMode = value; }
116 inline void SetConnectionMode(ConnectionMode&& value) { m_connectionModeHasBeenSet = true; m_connectionMode = std::move(value); }
117 inline OutboundConnection& WithConnectionMode(const ConnectionMode& value) { SetConnectionMode(value); return *this;}
118 inline OutboundConnection& WithConnectionMode(ConnectionMode&& value) { SetConnectionMode(std::move(value)); return *this;}
120
122
125 inline const ConnectionProperties& GetConnectionProperties() const{ return m_connectionProperties; }
126 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
127 inline void SetConnectionProperties(const ConnectionProperties& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = value; }
128 inline void SetConnectionProperties(ConnectionProperties&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::move(value); }
132 private:
133
134 DomainInformationContainer m_localDomainInfo;
135 bool m_localDomainInfoHasBeenSet = false;
136
137 DomainInformationContainer m_remoteDomainInfo;
138 bool m_remoteDomainInfoHasBeenSet = false;
139
140 Aws::String m_connectionId;
141 bool m_connectionIdHasBeenSet = false;
142
143 Aws::String m_connectionAlias;
144 bool m_connectionAliasHasBeenSet = false;
145
146 OutboundConnectionStatus m_connectionStatus;
147 bool m_connectionStatusHasBeenSet = false;
148
149 ConnectionMode m_connectionMode;
150 bool m_connectionModeHasBeenSet = false;
151
152 ConnectionProperties m_connectionProperties;
153 bool m_connectionPropertiesHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace OpenSearchService
158} // namespace Aws
const OutboundConnectionStatus & GetConnectionStatus() const
void SetLocalDomainInfo(DomainInformationContainer &&value)
void SetLocalDomainInfo(const DomainInformationContainer &value)
OutboundConnection & WithRemoteDomainInfo(const DomainInformationContainer &value)
AWS_OPENSEARCHSERVICE_API OutboundConnection()
OutboundConnection & WithConnectionAlias(const Aws::String &value)
const DomainInformationContainer & GetRemoteDomainInfo() const
OutboundConnection & WithConnectionStatus(OutboundConnectionStatus &&value)
OutboundConnection & WithLocalDomainInfo(DomainInformationContainer &&value)
OutboundConnection & WithConnectionStatus(const OutboundConnectionStatus &value)
OutboundConnection & WithConnectionId(const char *value)
OutboundConnection & WithConnectionProperties(const ConnectionProperties &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API OutboundConnection(Aws::Utils::Json::JsonView jsonValue)
OutboundConnection & WithLocalDomainInfo(const DomainInformationContainer &value)
const DomainInformationContainer & GetLocalDomainInfo() const
OutboundConnection & WithConnectionId(const Aws::String &value)
void SetRemoteDomainInfo(const DomainInformationContainer &value)
void SetRemoteDomainInfo(DomainInformationContainer &&value)
OutboundConnection & WithRemoteDomainInfo(DomainInformationContainer &&value)
AWS_OPENSEARCHSERVICE_API OutboundConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
OutboundConnection & WithConnectionMode(const ConnectionMode &value)
const ConnectionProperties & GetConnectionProperties() const
void SetConnectionMode(const ConnectionMode &value)
OutboundConnection & WithConnectionMode(ConnectionMode &&value)
OutboundConnection & WithConnectionId(Aws::String &&value)
void SetConnectionStatus(const OutboundConnectionStatus &value)
OutboundConnection & WithConnectionAlias(Aws::String &&value)
void SetConnectionProperties(ConnectionProperties &&value)
OutboundConnection & WithConnectionProperties(ConnectionProperties &&value)
void SetConnectionStatus(OutboundConnectionStatus &&value)
void SetConnectionProperties(const ConnectionProperties &value)
OutboundConnection & WithConnectionAlias(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue