AWS SDK for C++  1.9.107
AWS SDK for C++
CreateOutboundCrossClusterSearchConnectionResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
38  {
39  public:
43 
44 
49  inline const DomainInformation& GetSourceDomainInfo() const{ return m_sourceDomainInfo; }
50 
55  inline void SetSourceDomainInfo(const DomainInformation& value) { m_sourceDomainInfo = value; }
56 
61  inline void SetSourceDomainInfo(DomainInformation&& value) { m_sourceDomainInfo = std::move(value); }
62 
67  inline CreateOutboundCrossClusterSearchConnectionResult& WithSourceDomainInfo(const DomainInformation& value) { SetSourceDomainInfo(value); return *this;}
68 
73  inline CreateOutboundCrossClusterSearchConnectionResult& WithSourceDomainInfo(DomainInformation&& value) { SetSourceDomainInfo(std::move(value)); return *this;}
74 
75 
80  inline const DomainInformation& GetDestinationDomainInfo() const{ return m_destinationDomainInfo; }
81 
86  inline void SetDestinationDomainInfo(const DomainInformation& value) { m_destinationDomainInfo = value; }
87 
92  inline void SetDestinationDomainInfo(DomainInformation&& value) { m_destinationDomainInfo = std::move(value); }
93 
98  inline CreateOutboundCrossClusterSearchConnectionResult& WithDestinationDomainInfo(const DomainInformation& value) { SetDestinationDomainInfo(value); return *this;}
99 
104  inline CreateOutboundCrossClusterSearchConnectionResult& WithDestinationDomainInfo(DomainInformation&& value) { SetDestinationDomainInfo(std::move(value)); return *this;}
105 
106 
111  inline const Aws::String& GetConnectionAlias() const{ return m_connectionAlias; }
112 
117  inline void SetConnectionAlias(const Aws::String& value) { m_connectionAlias = value; }
118 
123  inline void SetConnectionAlias(Aws::String&& value) { m_connectionAlias = std::move(value); }
124 
129  inline void SetConnectionAlias(const char* value) { m_connectionAlias.assign(value); }
130 
135  inline CreateOutboundCrossClusterSearchConnectionResult& WithConnectionAlias(const Aws::String& value) { SetConnectionAlias(value); return *this;}
136 
141  inline CreateOutboundCrossClusterSearchConnectionResult& WithConnectionAlias(Aws::String&& value) { SetConnectionAlias(std::move(value)); return *this;}
142 
147  inline CreateOutboundCrossClusterSearchConnectionResult& WithConnectionAlias(const char* value) { SetConnectionAlias(value); return *this;}
148 
149 
154  inline const OutboundCrossClusterSearchConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
155 
160  inline void SetConnectionStatus(const OutboundCrossClusterSearchConnectionStatus& value) { m_connectionStatus = value; }
161 
166  inline void SetConnectionStatus(OutboundCrossClusterSearchConnectionStatus&& value) { m_connectionStatus = std::move(value); }
167 
173 
178  inline CreateOutboundCrossClusterSearchConnectionResult& WithConnectionStatus(OutboundCrossClusterSearchConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
179 
180 
185  inline const Aws::String& GetCrossClusterSearchConnectionId() const{ return m_crossClusterSearchConnectionId; }
186 
191  inline void SetCrossClusterSearchConnectionId(const Aws::String& value) { m_crossClusterSearchConnectionId = value; }
192 
197  inline void SetCrossClusterSearchConnectionId(Aws::String&& value) { m_crossClusterSearchConnectionId = std::move(value); }
198 
203  inline void SetCrossClusterSearchConnectionId(const char* value) { m_crossClusterSearchConnectionId.assign(value); }
204 
209  inline CreateOutboundCrossClusterSearchConnectionResult& WithCrossClusterSearchConnectionId(const Aws::String& value) { SetCrossClusterSearchConnectionId(value); return *this;}
210 
215  inline CreateOutboundCrossClusterSearchConnectionResult& WithCrossClusterSearchConnectionId(Aws::String&& value) { SetCrossClusterSearchConnectionId(std::move(value)); return *this;}
216 
221  inline CreateOutboundCrossClusterSearchConnectionResult& WithCrossClusterSearchConnectionId(const char* value) { SetCrossClusterSearchConnectionId(value); return *this;}
222 
223  private:
224 
225  DomainInformation m_sourceDomainInfo;
226 
227  DomainInformation m_destinationDomainInfo;
228 
229  Aws::String m_connectionAlias;
230 
232 
233  Aws::String m_crossClusterSearchConnectionId;
234  };
235 
236 } // namespace Model
237 } // namespace ElasticsearchService
238 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetSourceDomainInfo
void SetSourceDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:61
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::GetConnectionStatus
const OutboundCrossClusterSearchConnectionStatus & GetConnectionStatus() const
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:154
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetConnectionStatus
void SetConnectionStatus(OutboundCrossClusterSearchConnectionStatus &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:166
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetSourceDomainInfo
void SetSourceDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:55
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetDestinationDomainInfo
void SetDestinationDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:92
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithDestinationDomainInfo
CreateOutboundCrossClusterSearchConnectionResult & WithDestinationDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:98
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithConnectionAlias
CreateOutboundCrossClusterSearchConnectionResult & WithConnectionAlias(const Aws::String &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:135
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithConnectionStatus
CreateOutboundCrossClusterSearchConnectionResult & WithConnectionStatus(OutboundCrossClusterSearchConnectionStatus &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:178
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetConnectionAlias
void SetConnectionAlias(const Aws::String &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:117
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus
Definition: OutboundCrossClusterSearchConnectionStatus.h:34
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::GetCrossClusterSearchConnectionId
const Aws::String & GetCrossClusterSearchConnectionId() const
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:185
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::GetSourceDomainInfo
const DomainInformation & GetSourceDomainInfo() const
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:49
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetDestinationDomainInfo
void SetDestinationDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:86
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(Aws::String &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:197
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithSourceDomainInfo
CreateOutboundCrossClusterSearchConnectionResult & WithSourceDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:67
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::GetConnectionAlias
const Aws::String & GetConnectionAlias() const
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:111
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetConnectionAlias
void SetConnectionAlias(const char *value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:129
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithCrossClusterSearchConnectionId
CreateOutboundCrossClusterSearchConnectionResult & WithCrossClusterSearchConnectionId(const char *value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:221
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::operator=
CreateOutboundCrossClusterSearchConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
OutboundCrossClusterSearchConnectionStatus.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithConnectionAlias
CreateOutboundCrossClusterSearchConnectionResult & WithConnectionAlias(Aws::String &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:141
AWSString.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const Aws::String &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:191
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const char *value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:203
DomainInformation.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithSourceDomainInfo
CreateOutboundCrossClusterSearchConnectionResult & WithSourceDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:73
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::CreateOutboundCrossClusterSearchConnectionResult
CreateOutboundCrossClusterSearchConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetConnectionStatus
void SetConnectionStatus(const OutboundCrossClusterSearchConnectionStatus &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:160
Aws::ElasticsearchService::Model::DomainInformation
Definition: DomainInformation.h:27
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithConnectionStatus
CreateOutboundCrossClusterSearchConnectionResult & WithConnectionStatus(const OutboundCrossClusterSearchConnectionStatus &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:172
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithCrossClusterSearchConnectionId
CreateOutboundCrossClusterSearchConnectionResult & WithCrossClusterSearchConnectionId(const Aws::String &value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:209
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithConnectionAlias
CreateOutboundCrossClusterSearchConnectionResult & WithConnectionAlias(const char *value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:147
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::CreateOutboundCrossClusterSearchConnectionResult
CreateOutboundCrossClusterSearchConnectionResult()
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithCrossClusterSearchConnectionId
CreateOutboundCrossClusterSearchConnectionResult & WithCrossClusterSearchConnectionId(Aws::String &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:215
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::GetDestinationDomainInfo
const DomainInformation & GetDestinationDomainInfo() const
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:80
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::WithDestinationDomainInfo
CreateOutboundCrossClusterSearchConnectionResult & WithDestinationDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:104
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult::SetConnectionAlias
void SetConnectionAlias(Aws::String &&value)
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:123
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionResult
Definition: CreateOutboundCrossClusterSearchConnectionResult.h:38