AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateNodeRequest.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/model/NodeLogPublishingConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ManagedBlockchain
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MANAGEDBLOCKCHAIN_API UpdateNodeRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateNode"; }
32
33 AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetNetworkId() const{ return m_networkId; }
41 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
42 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
43 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
44 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
45 inline UpdateNodeRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
46 inline UpdateNodeRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
47 inline UpdateNodeRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
49
51
55 inline const Aws::String& GetMemberId() const{ return m_memberId; }
56 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
57 inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
58 inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
59 inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
60 inline UpdateNodeRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
61 inline UpdateNodeRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
62 inline UpdateNodeRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
64
66
69 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
70 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
71 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
72 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
73 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
74 inline UpdateNodeRequest& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
75 inline UpdateNodeRequest& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
76 inline UpdateNodeRequest& WithNodeId(const char* value) { SetNodeId(value); return *this;}
78
80
83 inline const NodeLogPublishingConfiguration& GetLogPublishingConfiguration() const{ return m_logPublishingConfiguration; }
84 inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
85 inline void SetLogPublishingConfiguration(const NodeLogPublishingConfiguration& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = value; }
86 inline void SetLogPublishingConfiguration(NodeLogPublishingConfiguration&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::move(value); }
90 private:
91
92 Aws::String m_networkId;
93 bool m_networkIdHasBeenSet = false;
94
95 Aws::String m_memberId;
96 bool m_memberIdHasBeenSet = false;
97
98 Aws::String m_nodeId;
99 bool m_nodeIdHasBeenSet = false;
100
101 NodeLogPublishingConfiguration m_logPublishingConfiguration;
102 bool m_logPublishingConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ManagedBlockchain
107} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
UpdateNodeRequest & WithMemberId(Aws::String &&value)
UpdateNodeRequest & WithNetworkId(const Aws::String &value)
UpdateNodeRequest & WithLogPublishingConfiguration(const NodeLogPublishingConfiguration &value)
virtual const char * GetServiceRequestName() const override
UpdateNodeRequest & WithNodeId(const Aws::String &value)
UpdateNodeRequest & WithNodeId(const char *value)
void SetLogPublishingConfiguration(NodeLogPublishingConfiguration &&value)
AWS_MANAGEDBLOCKCHAIN_API UpdateNodeRequest()
UpdateNodeRequest & WithMemberId(const Aws::String &value)
UpdateNodeRequest & WithNodeId(Aws::String &&value)
UpdateNodeRequest & WithMemberId(const char *value)
void SetLogPublishingConfiguration(const NodeLogPublishingConfiguration &value)
const NodeLogPublishingConfiguration & GetLogPublishingConfiguration() const
UpdateNodeRequest & WithNetworkId(const char *value)
UpdateNodeRequest & WithLogPublishingConfiguration(NodeLogPublishingConfiguration &&value)
UpdateNodeRequest & WithNetworkId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String