AWS SDK for C++  1.9.109
AWS SDK for C++
GetNodeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace ManagedBlockchain
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetNode"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetNetworkId() const{ return m_networkId; }
45 
49  inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
50 
54  inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
55 
59  inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
60 
64  inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
65 
69  inline GetNodeRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
70 
74  inline GetNodeRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
75 
79  inline GetNodeRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
80 
81 
86  inline const Aws::String& GetMemberId() const{ return m_memberId; }
87 
92  inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
93 
98  inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
99 
104  inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
105 
110  inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
111 
116  inline GetNodeRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
117 
122  inline GetNodeRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
123 
128  inline GetNodeRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
129 
130 
134  inline const Aws::String& GetNodeId() const{ return m_nodeId; }
135 
139  inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
140 
144  inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
145 
149  inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
150 
154  inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
155 
159  inline GetNodeRequest& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
160 
164  inline GetNodeRequest& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
165 
169  inline GetNodeRequest& WithNodeId(const char* value) { SetNodeId(value); return *this;}
170 
171  private:
172 
173  Aws::String m_networkId;
174  bool m_networkIdHasBeenSet;
175 
176  Aws::String m_memberId;
177  bool m_memberIdHasBeenSet;
178 
179  Aws::String m_nodeId;
180  bool m_nodeIdHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace ManagedBlockchain
185 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ManagedBlockchain::Model::GetNodeRequest::SetNetworkId
void SetNetworkId(Aws::String &&value)
Definition: GetNodeRequest.h:59
Aws::ManagedBlockchain::Model::GetNodeRequest::WithNetworkId
GetNodeRequest & WithNetworkId(Aws::String &&value)
Definition: GetNodeRequest.h:74
Aws::ManagedBlockchain::Model::GetNodeRequest::WithNetworkId
GetNodeRequest & WithNetworkId(const char *value)
Definition: GetNodeRequest.h:79
Aws::ManagedBlockchain::Model::GetNodeRequest::MemberIdHasBeenSet
bool MemberIdHasBeenSet() const
Definition: GetNodeRequest.h:92
Aws::ManagedBlockchain::Model::GetNodeRequest::SetMemberId
void SetMemberId(Aws::String &&value)
Definition: GetNodeRequest.h:104
Aws::ManagedBlockchain::Model::GetNodeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ManagedBlockchain::Model::GetNodeRequest::SetMemberId
void SetMemberId(const Aws::String &value)
Definition: GetNodeRequest.h:98
Aws::ManagedBlockchain::Model::GetNodeRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ManagedBlockchain::Model::GetNodeRequest::SetNetworkId
void SetNetworkId(const char *value)
Definition: GetNodeRequest.h:64
Aws::ManagedBlockchain::Model::GetNodeRequest::SetNodeId
void SetNodeId(const Aws::String &value)
Definition: GetNodeRequest.h:144
Aws::ManagedBlockchain::Model::GetNodeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetNodeRequest.h:34
Aws::ManagedBlockchain::Model::GetNodeRequest::NetworkIdHasBeenSet
bool NetworkIdHasBeenSet() const
Definition: GetNodeRequest.h:49
Aws::ManagedBlockchain::Model::GetNodeRequest::GetNodeRequest
GetNodeRequest()
AWSString.h
Aws::ManagedBlockchain::ManagedBlockchainRequest
Definition: ManagedBlockchainRequest.h:17
Aws::ManagedBlockchain::Model::GetNodeRequest::SetNetworkId
void SetNetworkId(const Aws::String &value)
Definition: GetNodeRequest.h:54
Aws::ManagedBlockchain::Model::GetNodeRequest::SetMemberId
void SetMemberId(const char *value)
Definition: GetNodeRequest.h:110
Aws::ManagedBlockchain::Model::GetNodeRequest::WithNetworkId
GetNodeRequest & WithNetworkId(const Aws::String &value)
Definition: GetNodeRequest.h:69
Aws::ManagedBlockchain::Model::GetNodeRequest::GetMemberId
const Aws::String & GetMemberId() const
Definition: GetNodeRequest.h:86
Aws::ManagedBlockchain::Model::GetNodeRequest::WithNodeId
GetNodeRequest & WithNodeId(const Aws::String &value)
Definition: GetNodeRequest.h:159
Aws::ManagedBlockchain::Model::GetNodeRequest::WithNodeId
GetNodeRequest & WithNodeId(Aws::String &&value)
Definition: GetNodeRequest.h:164
ManagedBlockchainRequest.h
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::ManagedBlockchain::Model::GetNodeRequest::WithMemberId
GetNodeRequest & WithMemberId(const char *value)
Definition: GetNodeRequest.h:128
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::GetNodeRequest::GetNodeId
const Aws::String & GetNodeId() const
Definition: GetNodeRequest.h:134
Aws::ManagedBlockchain::Model::GetNodeRequest::NodeIdHasBeenSet
bool NodeIdHasBeenSet() const
Definition: GetNodeRequest.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::GetNodeRequest::GetNetworkId
const Aws::String & GetNetworkId() const
Definition: GetNodeRequest.h:44
Aws::ManagedBlockchain::Model::GetNodeRequest::SetNodeId
void SetNodeId(Aws::String &&value)
Definition: GetNodeRequest.h:149
Aws::ManagedBlockchain::Model::GetNodeRequest::WithMemberId
GetNodeRequest & WithMemberId(const Aws::String &value)
Definition: GetNodeRequest.h:116
Aws::ManagedBlockchain::Model::GetNodeRequest
Definition: GetNodeRequest.h:26
Aws::ManagedBlockchain::Model::GetNodeRequest::WithNodeId
GetNodeRequest & WithNodeId(const char *value)
Definition: GetNodeRequest.h:169
Aws::ManagedBlockchain::Model::GetNodeRequest::WithMemberId
GetNodeRequest & WithMemberId(Aws::String &&value)
Definition: GetNodeRequest.h:122
Aws::ManagedBlockchain::Model::GetNodeRequest::SetNodeId
void SetNodeId(const char *value)
Definition: GetNodeRequest.h:154