AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NetworkIdT = Aws::String>
43 void SetNetworkId(NetworkIdT&& value) { m_networkIdHasBeenSet = true; m_networkId = std::forward<NetworkIdT>(value); }
44 template<typename NetworkIdT = Aws::String>
45 UpdateNodeRequest& WithNetworkId(NetworkIdT&& value) { SetNetworkId(std::forward<NetworkIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetMemberId() const { return m_memberId; }
54 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
55 template<typename MemberIdT = Aws::String>
56 void SetMemberId(MemberIdT&& value) { m_memberIdHasBeenSet = true; m_memberId = std::forward<MemberIdT>(value); }
57 template<typename MemberIdT = Aws::String>
58 UpdateNodeRequest& WithMemberId(MemberIdT&& value) { SetMemberId(std::forward<MemberIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetNodeId() const { return m_nodeId; }
66 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
67 template<typename NodeIdT = Aws::String>
68 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::forward<NodeIdT>(value); }
69 template<typename NodeIdT = Aws::String>
70 UpdateNodeRequest& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
72
74
77 inline const NodeLogPublishingConfiguration& GetLogPublishingConfiguration() const { return m_logPublishingConfiguration; }
78 inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
79 template<typename LogPublishingConfigurationT = NodeLogPublishingConfiguration>
80 void SetLogPublishingConfiguration(LogPublishingConfigurationT&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::forward<LogPublishingConfigurationT>(value); }
81 template<typename LogPublishingConfigurationT = NodeLogPublishingConfiguration>
82 UpdateNodeRequest& WithLogPublishingConfiguration(LogPublishingConfigurationT&& value) { SetLogPublishingConfiguration(std::forward<LogPublishingConfigurationT>(value)); return *this;}
84 private:
85
86 Aws::String m_networkId;
87 bool m_networkIdHasBeenSet = false;
88
89 Aws::String m_memberId;
90 bool m_memberIdHasBeenSet = false;
91
92 Aws::String m_nodeId;
93 bool m_nodeIdHasBeenSet = false;
94
95 NodeLogPublishingConfiguration m_logPublishingConfiguration;
96 bool m_logPublishingConfigurationHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace ManagedBlockchain
101} // 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