AWS SDK for C++  1.9.107
AWS SDK for C++
OutboundCrossClusterSearchConnection.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
46  inline const DomainInformation& GetSourceDomainInfo() const{ return m_sourceDomainInfo; }
47 
52  inline bool SourceDomainInfoHasBeenSet() const { return m_sourceDomainInfoHasBeenSet; }
53 
58  inline void SetSourceDomainInfo(const DomainInformation& value) { m_sourceDomainInfoHasBeenSet = true; m_sourceDomainInfo = value; }
59 
64  inline void SetSourceDomainInfo(DomainInformation&& value) { m_sourceDomainInfoHasBeenSet = true; m_sourceDomainInfo = std::move(value); }
65 
70  inline OutboundCrossClusterSearchConnection& WithSourceDomainInfo(const DomainInformation& value) { SetSourceDomainInfo(value); return *this;}
71 
76  inline OutboundCrossClusterSearchConnection& WithSourceDomainInfo(DomainInformation&& value) { SetSourceDomainInfo(std::move(value)); return *this;}
77 
78 
83  inline const DomainInformation& GetDestinationDomainInfo() const{ return m_destinationDomainInfo; }
84 
89  inline bool DestinationDomainInfoHasBeenSet() const { return m_destinationDomainInfoHasBeenSet; }
90 
95  inline void SetDestinationDomainInfo(const DomainInformation& value) { m_destinationDomainInfoHasBeenSet = true; m_destinationDomainInfo = value; }
96 
101  inline void SetDestinationDomainInfo(DomainInformation&& value) { m_destinationDomainInfoHasBeenSet = true; m_destinationDomainInfo = std::move(value); }
102 
107  inline OutboundCrossClusterSearchConnection& WithDestinationDomainInfo(const DomainInformation& value) { SetDestinationDomainInfo(value); return *this;}
108 
113  inline OutboundCrossClusterSearchConnection& WithDestinationDomainInfo(DomainInformation&& value) { SetDestinationDomainInfo(std::move(value)); return *this;}
114 
115 
120  inline const Aws::String& GetCrossClusterSearchConnectionId() const{ return m_crossClusterSearchConnectionId; }
121 
126  inline bool CrossClusterSearchConnectionIdHasBeenSet() const { return m_crossClusterSearchConnectionIdHasBeenSet; }
127 
132  inline void SetCrossClusterSearchConnectionId(const Aws::String& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = value; }
133 
138  inline void SetCrossClusterSearchConnectionId(Aws::String&& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = std::move(value); }
139 
144  inline void SetCrossClusterSearchConnectionId(const char* value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId.assign(value); }
145 
150  inline OutboundCrossClusterSearchConnection& WithCrossClusterSearchConnectionId(const Aws::String& value) { SetCrossClusterSearchConnectionId(value); return *this;}
151 
156  inline OutboundCrossClusterSearchConnection& WithCrossClusterSearchConnectionId(Aws::String&& value) { SetCrossClusterSearchConnectionId(std::move(value)); return *this;}
157 
162  inline OutboundCrossClusterSearchConnection& WithCrossClusterSearchConnectionId(const char* value) { SetCrossClusterSearchConnectionId(value); return *this;}
163 
164 
169  inline const Aws::String& GetConnectionAlias() const{ return m_connectionAlias; }
170 
175  inline bool ConnectionAliasHasBeenSet() const { return m_connectionAliasHasBeenSet; }
176 
181  inline void SetConnectionAlias(const Aws::String& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = value; }
182 
187  inline void SetConnectionAlias(Aws::String&& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = std::move(value); }
188 
193  inline void SetConnectionAlias(const char* value) { m_connectionAliasHasBeenSet = true; m_connectionAlias.assign(value); }
194 
199  inline OutboundCrossClusterSearchConnection& WithConnectionAlias(const Aws::String& value) { SetConnectionAlias(value); return *this;}
200 
205  inline OutboundCrossClusterSearchConnection& WithConnectionAlias(Aws::String&& value) { SetConnectionAlias(std::move(value)); return *this;}
206 
211  inline OutboundCrossClusterSearchConnection& WithConnectionAlias(const char* value) { SetConnectionAlias(value); return *this;}
212 
213 
218  inline const OutboundCrossClusterSearchConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
219 
224  inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
225 
230  inline void SetConnectionStatus(const OutboundCrossClusterSearchConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
231 
236  inline void SetConnectionStatus(OutboundCrossClusterSearchConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
237 
242  inline OutboundCrossClusterSearchConnection& WithConnectionStatus(const OutboundCrossClusterSearchConnectionStatus& value) { SetConnectionStatus(value); return *this;}
243 
248  inline OutboundCrossClusterSearchConnection& WithConnectionStatus(OutboundCrossClusterSearchConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
249 
250  private:
251 
252  DomainInformation m_sourceDomainInfo;
253  bool m_sourceDomainInfoHasBeenSet;
254 
255  DomainInformation m_destinationDomainInfo;
256  bool m_destinationDomainInfoHasBeenSet;
257 
258  Aws::String m_crossClusterSearchConnectionId;
259  bool m_crossClusterSearchConnectionIdHasBeenSet;
260 
261  Aws::String m_connectionAlias;
262  bool m_connectionAliasHasBeenSet;
263 
265  bool m_connectionStatusHasBeenSet;
266  };
267 
268 } // namespace Model
269 } // namespace ElasticsearchService
270 } // namespace Aws
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::CrossClusterSearchConnectionIdHasBeenSet
bool CrossClusterSearchConnectionIdHasBeenSet() const
Definition: OutboundCrossClusterSearchConnection.h:126
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithConnectionStatus
OutboundCrossClusterSearchConnection & WithConnectionStatus(const OutboundCrossClusterSearchConnectionStatus &value)
Definition: OutboundCrossClusterSearchConnection.h:242
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetConnectionStatus
void SetConnectionStatus(OutboundCrossClusterSearchConnectionStatus &&value)
Definition: OutboundCrossClusterSearchConnection.h:236
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus
Definition: OutboundCrossClusterSearchConnectionStatus.h:34
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::GetSourceDomainInfo
const DomainInformation & GetSourceDomainInfo() const
Definition: OutboundCrossClusterSearchConnection.h:46
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithConnectionStatus
OutboundCrossClusterSearchConnection & WithConnectionStatus(OutboundCrossClusterSearchConnectionStatus &&value)
Definition: OutboundCrossClusterSearchConnection.h:248
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetDestinationDomainInfo
void SetDestinationDomainInfo(DomainInformation &&value)
Definition: OutboundCrossClusterSearchConnection.h:101
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(Aws::String &&value)
Definition: OutboundCrossClusterSearchConnection.h:138
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithCrossClusterSearchConnectionId
OutboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const char *value)
Definition: OutboundCrossClusterSearchConnection.h:162
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::GetConnectionAlias
const Aws::String & GetConnectionAlias() const
Definition: OutboundCrossClusterSearchConnection.h:169
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::ConnectionAliasHasBeenSet
bool ConnectionAliasHasBeenSet() const
Definition: OutboundCrossClusterSearchConnection.h:175
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetConnectionAlias
void SetConnectionAlias(const char *value)
Definition: OutboundCrossClusterSearchConnection.h:193
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::DestinationDomainInfoHasBeenSet
bool DestinationDomainInfoHasBeenSet() const
Definition: OutboundCrossClusterSearchConnection.h:89
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection
Definition: OutboundCrossClusterSearchConnection.h:34
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetDestinationDomainInfo
void SetDestinationDomainInfo(const DomainInformation &value)
Definition: OutboundCrossClusterSearchConnection.h:95
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SourceDomainInfoHasBeenSet
bool SourceDomainInfoHasBeenSet() const
Definition: OutboundCrossClusterSearchConnection.h:52
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetConnectionStatus
void SetConnectionStatus(const OutboundCrossClusterSearchConnectionStatus &value)
Definition: OutboundCrossClusterSearchConnection.h:230
OutboundCrossClusterSearchConnectionStatus.h
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithConnectionAlias
OutboundCrossClusterSearchConnection & WithConnectionAlias(const Aws::String &value)
Definition: OutboundCrossClusterSearchConnection.h:199
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const Aws::String &value)
Definition: OutboundCrossClusterSearchConnection.h:132
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithSourceDomainInfo
OutboundCrossClusterSearchConnection & WithSourceDomainInfo(DomainInformation &&value)
Definition: OutboundCrossClusterSearchConnection.h:76
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithCrossClusterSearchConnectionId
OutboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const Aws::String &value)
Definition: OutboundCrossClusterSearchConnection.h:150
DomainInformation.h
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::OutboundCrossClusterSearchConnection
OutboundCrossClusterSearchConnection()
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithSourceDomainInfo
OutboundCrossClusterSearchConnection & WithSourceDomainInfo(const DomainInformation &value)
Definition: OutboundCrossClusterSearchConnection.h:70
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::ConnectionStatusHasBeenSet
bool ConnectionStatusHasBeenSet() const
Definition: OutboundCrossClusterSearchConnection.h:224
Aws::ElasticsearchService::Model::DomainInformation
Definition: DomainInformation.h:27
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::operator=
OutboundCrossClusterSearchConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithConnectionAlias
OutboundCrossClusterSearchConnection & WithConnectionAlias(const char *value)
Definition: OutboundCrossClusterSearchConnection.h:211
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetSourceDomainInfo
void SetSourceDomainInfo(const DomainInformation &value)
Definition: OutboundCrossClusterSearchConnection.h:58
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::GetDestinationDomainInfo
const DomainInformation & GetDestinationDomainInfo() const
Definition: OutboundCrossClusterSearchConnection.h:83
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::OutboundCrossClusterSearchConnection
OutboundCrossClusterSearchConnection(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithCrossClusterSearchConnectionId
OutboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(Aws::String &&value)
Definition: OutboundCrossClusterSearchConnection.h:156
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithConnectionAlias
OutboundCrossClusterSearchConnection & WithConnectionAlias(Aws::String &&value)
Definition: OutboundCrossClusterSearchConnection.h:205
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithDestinationDomainInfo
OutboundCrossClusterSearchConnection & WithDestinationDomainInfo(const DomainInformation &value)
Definition: OutboundCrossClusterSearchConnection.h:107
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const char *value)
Definition: OutboundCrossClusterSearchConnection.h:144
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetConnectionAlias
void SetConnectionAlias(Aws::String &&value)
Definition: OutboundCrossClusterSearchConnection.h:187
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::WithDestinationDomainInfo
OutboundCrossClusterSearchConnection & WithDestinationDomainInfo(DomainInformation &&value)
Definition: OutboundCrossClusterSearchConnection.h:113
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetSourceDomainInfo
void SetSourceDomainInfo(DomainInformation &&value)
Definition: OutboundCrossClusterSearchConnection.h:64
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::SetConnectionAlias
void SetConnectionAlias(const Aws::String &value)
Definition: OutboundCrossClusterSearchConnection.h:181
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::GetCrossClusterSearchConnectionId
const Aws::String & GetCrossClusterSearchConnectionId() const
Definition: OutboundCrossClusterSearchConnection.h:120
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnection::GetConnectionStatus
const OutboundCrossClusterSearchConnectionStatus & GetConnectionStatus() const
Definition: OutboundCrossClusterSearchConnection.h:218