AWS SDK for C++  1.9.106
AWS SDK for C++
InboundCrossClusterSearchConnection.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 InboundCrossClusterSearchConnection& WithSourceDomainInfo(const DomainInformation& value) { SetSourceDomainInfo(value); return *this;}
71 
76  inline InboundCrossClusterSearchConnection& 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 InboundCrossClusterSearchConnection& WithDestinationDomainInfo(const DomainInformation& value) { SetDestinationDomainInfo(value); return *this;}
108 
113  inline InboundCrossClusterSearchConnection& 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 InboundCrossClusterSearchConnection& WithCrossClusterSearchConnectionId(const Aws::String& value) { SetCrossClusterSearchConnectionId(value); return *this;}
151 
156  inline InboundCrossClusterSearchConnection& WithCrossClusterSearchConnectionId(Aws::String&& value) { SetCrossClusterSearchConnectionId(std::move(value)); return *this;}
157 
162  inline InboundCrossClusterSearchConnection& WithCrossClusterSearchConnectionId(const char* value) { SetCrossClusterSearchConnectionId(value); return *this;}
163 
164 
169  inline const InboundCrossClusterSearchConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
170 
175  inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
176 
181  inline void SetConnectionStatus(const InboundCrossClusterSearchConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
182 
187  inline void SetConnectionStatus(InboundCrossClusterSearchConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
188 
193  inline InboundCrossClusterSearchConnection& WithConnectionStatus(const InboundCrossClusterSearchConnectionStatus& value) { SetConnectionStatus(value); return *this;}
194 
199  inline InboundCrossClusterSearchConnection& WithConnectionStatus(InboundCrossClusterSearchConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
200 
201  private:
202 
203  DomainInformation m_sourceDomainInfo;
204  bool m_sourceDomainInfoHasBeenSet;
205 
206  DomainInformation m_destinationDomainInfo;
207  bool m_destinationDomainInfoHasBeenSet;
208 
209  Aws::String m_crossClusterSearchConnectionId;
210  bool m_crossClusterSearchConnectionIdHasBeenSet;
211 
213  bool m_connectionStatusHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace ElasticsearchService
218 } // namespace Aws
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const Aws::String &value)
Definition: InboundCrossClusterSearchConnection.h:132
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetDestinationDomainInfo
void SetDestinationDomainInfo(DomainInformation &&value)
Definition: InboundCrossClusterSearchConnection.h:101
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetSourceDomainInfo
void SetSourceDomainInfo(const DomainInformation &value)
Definition: InboundCrossClusterSearchConnection.h:58
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetConnectionStatus
void SetConnectionStatus(InboundCrossClusterSearchConnectionStatus &&value)
Definition: InboundCrossClusterSearchConnection.h:187
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::GetDestinationDomainInfo
const DomainInformation & GetDestinationDomainInfo() const
Definition: InboundCrossClusterSearchConnection.h:83
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::GetConnectionStatus
const InboundCrossClusterSearchConnectionStatus & GetConnectionStatus() const
Definition: InboundCrossClusterSearchConnection.h:169
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithConnectionStatus
InboundCrossClusterSearchConnection & WithConnectionStatus(const InboundCrossClusterSearchConnectionStatus &value)
Definition: InboundCrossClusterSearchConnection.h:193
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::GetCrossClusterSearchConnectionId
const Aws::String & GetCrossClusterSearchConnectionId() const
Definition: InboundCrossClusterSearchConnection.h:120
InboundCrossClusterSearchConnectionStatus.h
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithSourceDomainInfo
InboundCrossClusterSearchConnection & WithSourceDomainInfo(DomainInformation &&value)
Definition: InboundCrossClusterSearchConnection.h:76
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::ConnectionStatusHasBeenSet
bool ConnectionStatusHasBeenSet() const
Definition: InboundCrossClusterSearchConnection.h:175
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithDestinationDomainInfo
InboundCrossClusterSearchConnection & WithDestinationDomainInfo(DomainInformation &&value)
Definition: InboundCrossClusterSearchConnection.h:113
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithDestinationDomainInfo
InboundCrossClusterSearchConnection & WithDestinationDomainInfo(const DomainInformation &value)
Definition: InboundCrossClusterSearchConnection.h:107
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithCrossClusterSearchConnectionId
InboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(Aws::String &&value)
Definition: InboundCrossClusterSearchConnection.h:156
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetSourceDomainInfo
void SetSourceDomainInfo(DomainInformation &&value)
Definition: InboundCrossClusterSearchConnection.h:64
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithSourceDomainInfo
InboundCrossClusterSearchConnection & WithSourceDomainInfo(const DomainInformation &value)
Definition: InboundCrossClusterSearchConnection.h:70
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::InboundCrossClusterSearchConnection
InboundCrossClusterSearchConnection()
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::InboundCrossClusterSearchConnection
InboundCrossClusterSearchConnection(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::CrossClusterSearchConnectionIdHasBeenSet
bool CrossClusterSearchConnectionIdHasBeenSet() const
Definition: InboundCrossClusterSearchConnection.h:126
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithCrossClusterSearchConnectionId
InboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const char *value)
Definition: InboundCrossClusterSearchConnection.h:162
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const char *value)
Definition: InboundCrossClusterSearchConnection.h:144
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetConnectionStatus
void SetConnectionStatus(const InboundCrossClusterSearchConnectionStatus &value)
Definition: InboundCrossClusterSearchConnection.h:181
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithConnectionStatus
InboundCrossClusterSearchConnection & WithConnectionStatus(InboundCrossClusterSearchConnectionStatus &&value)
Definition: InboundCrossClusterSearchConnection.h:199
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetDestinationDomainInfo
void SetDestinationDomainInfo(const DomainInformation &value)
Definition: InboundCrossClusterSearchConnection.h:95
DomainInformation.h
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::DomainInformation
Definition: DomainInformation.h:27
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::operator=
InboundCrossClusterSearchConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::DestinationDomainInfoHasBeenSet
bool DestinationDomainInfoHasBeenSet() const
Definition: InboundCrossClusterSearchConnection.h:89
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnectionStatus
Definition: InboundCrossClusterSearchConnectionStatus.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection
Definition: InboundCrossClusterSearchConnection.h:34
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::GetSourceDomainInfo
const DomainInformation & GetSourceDomainInfo() const
Definition: InboundCrossClusterSearchConnection.h:46
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SourceDomainInfoHasBeenSet
bool SourceDomainInfoHasBeenSet() const
Definition: InboundCrossClusterSearchConnection.h:52
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(Aws::String &&value)
Definition: InboundCrossClusterSearchConnection.h:138
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection::WithCrossClusterSearchConnectionId
InboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const Aws::String &value)
Definition: InboundCrossClusterSearchConnection.h:150