AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteOutboundCrossClusterSearchConnectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticsearchService
15 {
16 namespace Model
17 {
18 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DeleteOutboundCrossClusterSearchConnection"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::String& GetCrossClusterSearchConnectionId() const{ return m_crossClusterSearchConnectionId; }
44 
48  inline bool CrossClusterSearchConnectionIdHasBeenSet() const { return m_crossClusterSearchConnectionIdHasBeenSet; }
49 
53  inline void SetCrossClusterSearchConnectionId(const Aws::String& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = value; }
54 
58  inline void SetCrossClusterSearchConnectionId(Aws::String&& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = std::move(value); }
59 
63  inline void SetCrossClusterSearchConnectionId(const char* value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId.assign(value); }
64 
68  inline DeleteOutboundCrossClusterSearchConnectionRequest& WithCrossClusterSearchConnectionId(const Aws::String& value) { SetCrossClusterSearchConnectionId(value); return *this;}
69 
73  inline DeleteOutboundCrossClusterSearchConnectionRequest& WithCrossClusterSearchConnectionId(Aws::String&& value) { SetCrossClusterSearchConnectionId(std::move(value)); return *this;}
74 
78  inline DeleteOutboundCrossClusterSearchConnectionRequest& WithCrossClusterSearchConnectionId(const char* value) { SetCrossClusterSearchConnectionId(value); return *this;}
79 
80  private:
81 
82  Aws::String m_crossClusterSearchConnectionId;
83  bool m_crossClusterSearchConnectionIdHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace ElasticsearchService
88 } // namespace Aws
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:27
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const char *value)
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:63
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::WithCrossClusterSearchConnectionId
DeleteOutboundCrossClusterSearchConnectionRequest & WithCrossClusterSearchConnectionId(Aws::String &&value)
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:73
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::WithCrossClusterSearchConnectionId
DeleteOutboundCrossClusterSearchConnectionRequest & WithCrossClusterSearchConnectionId(const Aws::String &value)
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:68
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::GetCrossClusterSearchConnectionId
const Aws::String & GetCrossClusterSearchConnectionId() const
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:43
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::WithCrossClusterSearchConnectionId
DeleteOutboundCrossClusterSearchConnectionRequest & WithCrossClusterSearchConnectionId(const char *value)
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:78
AWSString.h
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(const Aws::String &value)
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:53
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::CrossClusterSearchConnectionIdHasBeenSet
bool CrossClusterSearchConnectionIdHasBeenSet() const
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::SetCrossClusterSearchConnectionId
void SetCrossClusterSearchConnectionId(Aws::String &&value)
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:58
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::DeleteOutboundCrossClusterSearchConnectionRequest
DeleteOutboundCrossClusterSearchConnectionRequest()
Aws::ElasticsearchService::Model::DeleteOutboundCrossClusterSearchConnectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteOutboundCrossClusterSearchConnectionRequest.h:35