AWS SDK for C++  1.9.104
AWS SDK for C++
RejectInboundCrossClusterSearchConnectionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
35  {
36  public:
40 
41 
46  inline const InboundCrossClusterSearchConnection& GetCrossClusterSearchConnection() const{ return m_crossClusterSearchConnection; }
47 
52  inline void SetCrossClusterSearchConnection(const InboundCrossClusterSearchConnection& value) { m_crossClusterSearchConnection = value; }
53 
58  inline void SetCrossClusterSearchConnection(InboundCrossClusterSearchConnection&& value) { m_crossClusterSearchConnection = std::move(value); }
59 
64  inline RejectInboundCrossClusterSearchConnectionResult& WithCrossClusterSearchConnection(const InboundCrossClusterSearchConnection& value) { SetCrossClusterSearchConnection(value); return *this;}
65 
70  inline RejectInboundCrossClusterSearchConnectionResult& WithCrossClusterSearchConnection(InboundCrossClusterSearchConnection&& value) { SetCrossClusterSearchConnection(std::move(value)); return *this;}
71 
72  private:
73 
74  InboundCrossClusterSearchConnection m_crossClusterSearchConnection;
75  };
76 
77 } // namespace Model
78 } // namespace ElasticsearchService
79 } // namespace Aws
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::RejectInboundCrossClusterSearchConnectionResult
RejectInboundCrossClusterSearchConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult
Definition: RejectInboundCrossClusterSearchConnectionResult.h:35
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::WithCrossClusterSearchConnection
RejectInboundCrossClusterSearchConnectionResult & WithCrossClusterSearchConnection(const InboundCrossClusterSearchConnection &value)
Definition: RejectInboundCrossClusterSearchConnectionResult.h:64
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::GetCrossClusterSearchConnection
const InboundCrossClusterSearchConnection & GetCrossClusterSearchConnection() const
Definition: RejectInboundCrossClusterSearchConnectionResult.h:46
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::RejectInboundCrossClusterSearchConnectionResult
RejectInboundCrossClusterSearchConnectionResult()
InboundCrossClusterSearchConnection.h
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::SetCrossClusterSearchConnection
void SetCrossClusterSearchConnection(InboundCrossClusterSearchConnection &&value)
Definition: RejectInboundCrossClusterSearchConnectionResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::InboundCrossClusterSearchConnection
Definition: InboundCrossClusterSearchConnection.h:34
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::SetCrossClusterSearchConnection
void SetCrossClusterSearchConnection(const InboundCrossClusterSearchConnection &value)
Definition: RejectInboundCrossClusterSearchConnectionResult.h:52
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::WithCrossClusterSearchConnection
RejectInboundCrossClusterSearchConnectionResult & WithCrossClusterSearchConnection(InboundCrossClusterSearchConnection &&value)
Definition: RejectInboundCrossClusterSearchConnectionResult.h:70
Aws::ElasticsearchService::Model::RejectInboundCrossClusterSearchConnectionResult::operator=
RejectInboundCrossClusterSearchConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)