AWS SDK for C++  1.9.104
AWS SDK for C++
CreateOutboundCrossClusterSearchConnectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticsearchService
16 {
17 namespace Model
18 {
19 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CreateOutboundCrossClusterSearchConnection"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
45  inline const DomainInformation& GetSourceDomainInfo() const{ return m_sourceDomainInfo; }
46 
51  inline bool SourceDomainInfoHasBeenSet() const { return m_sourceDomainInfoHasBeenSet; }
52 
57  inline void SetSourceDomainInfo(const DomainInformation& value) { m_sourceDomainInfoHasBeenSet = true; m_sourceDomainInfo = value; }
58 
63  inline void SetSourceDomainInfo(DomainInformation&& value) { m_sourceDomainInfoHasBeenSet = true; m_sourceDomainInfo = std::move(value); }
64 
69  inline CreateOutboundCrossClusterSearchConnectionRequest& WithSourceDomainInfo(const DomainInformation& value) { SetSourceDomainInfo(value); return *this;}
70 
75  inline CreateOutboundCrossClusterSearchConnectionRequest& WithSourceDomainInfo(DomainInformation&& value) { SetSourceDomainInfo(std::move(value)); return *this;}
76 
77 
82  inline const DomainInformation& GetDestinationDomainInfo() const{ return m_destinationDomainInfo; }
83 
88  inline bool DestinationDomainInfoHasBeenSet() const { return m_destinationDomainInfoHasBeenSet; }
89 
94  inline void SetDestinationDomainInfo(const DomainInformation& value) { m_destinationDomainInfoHasBeenSet = true; m_destinationDomainInfo = value; }
95 
100  inline void SetDestinationDomainInfo(DomainInformation&& value) { m_destinationDomainInfoHasBeenSet = true; m_destinationDomainInfo = std::move(value); }
101 
106  inline CreateOutboundCrossClusterSearchConnectionRequest& WithDestinationDomainInfo(const DomainInformation& value) { SetDestinationDomainInfo(value); return *this;}
107 
112  inline CreateOutboundCrossClusterSearchConnectionRequest& WithDestinationDomainInfo(DomainInformation&& value) { SetDestinationDomainInfo(std::move(value)); return *this;}
113 
114 
119  inline const Aws::String& GetConnectionAlias() const{ return m_connectionAlias; }
120 
125  inline bool ConnectionAliasHasBeenSet() const { return m_connectionAliasHasBeenSet; }
126 
131  inline void SetConnectionAlias(const Aws::String& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = value; }
132 
137  inline void SetConnectionAlias(Aws::String&& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = std::move(value); }
138 
143  inline void SetConnectionAlias(const char* value) { m_connectionAliasHasBeenSet = true; m_connectionAlias.assign(value); }
144 
149  inline CreateOutboundCrossClusterSearchConnectionRequest& WithConnectionAlias(const Aws::String& value) { SetConnectionAlias(value); return *this;}
150 
155  inline CreateOutboundCrossClusterSearchConnectionRequest& WithConnectionAlias(Aws::String&& value) { SetConnectionAlias(std::move(value)); return *this;}
156 
161  inline CreateOutboundCrossClusterSearchConnectionRequest& WithConnectionAlias(const char* value) { SetConnectionAlias(value); return *this;}
162 
163  private:
164 
165  DomainInformation m_sourceDomainInfo;
166  bool m_sourceDomainInfoHasBeenSet;
167 
168  DomainInformation m_destinationDomainInfo;
169  bool m_destinationDomainInfoHasBeenSet;
170 
171  Aws::String m_connectionAlias;
172  bool m_connectionAliasHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace ElasticsearchService
177 } // namespace Aws
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::WithSourceDomainInfo
CreateOutboundCrossClusterSearchConnectionRequest & WithSourceDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:75
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SetConnectionAlias
void SetConnectionAlias(const char *value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:143
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::WithDestinationDomainInfo
CreateOutboundCrossClusterSearchConnectionRequest & WithDestinationDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:106
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::WithDestinationDomainInfo
CreateOutboundCrossClusterSearchConnectionRequest & WithDestinationDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:112
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::WithConnectionAlias
CreateOutboundCrossClusterSearchConnectionRequest & WithConnectionAlias(const Aws::String &value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:149
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SetConnectionAlias
void SetConnectionAlias(Aws::String &&value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:137
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SetDestinationDomainInfo
void SetDestinationDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:100
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::WithConnectionAlias
CreateOutboundCrossClusterSearchConnectionRequest & WithConnectionAlias(const char *value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:161
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::ConnectionAliasHasBeenSet
bool ConnectionAliasHasBeenSet() const
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:125
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SetDestinationDomainInfo
void SetDestinationDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:94
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:28
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::WithSourceDomainInfo
CreateOutboundCrossClusterSearchConnectionRequest & WithSourceDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:69
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:36
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::WithConnectionAlias
CreateOutboundCrossClusterSearchConnectionRequest & WithConnectionAlias(Aws::String &&value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:155
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SourceDomainInfoHasBeenSet
bool SourceDomainInfoHasBeenSet() const
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:51
AWSString.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::DestinationDomainInfoHasBeenSet
bool DestinationDomainInfoHasBeenSet() const
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:88
DomainInformation.h
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::GetSourceDomainInfo
const DomainInformation & GetSourceDomainInfo() const
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:45
Aws::ElasticsearchService::Model::DomainInformation
Definition: DomainInformation.h:27
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::CreateOutboundCrossClusterSearchConnectionRequest
CreateOutboundCrossClusterSearchConnectionRequest()
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SetConnectionAlias
void SetConnectionAlias(const Aws::String &value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SetSourceDomainInfo
void SetSourceDomainInfo(const DomainInformation &value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::GetDestinationDomainInfo
const DomainInformation & GetDestinationDomainInfo() const
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:82
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::GetConnectionAlias
const Aws::String & GetConnectionAlias() const
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:119
Aws::ElasticsearchService::Model::CreateOutboundCrossClusterSearchConnectionRequest::SetSourceDomainInfo
void SetSourceDomainInfo(DomainInformation &&value)
Definition: CreateOutboundCrossClusterSearchConnectionRequest.h:63