AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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