AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateMemberRequest.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/MemberLogPublishingConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ManagedBlockchain {
16namespace Model {
17
21 public:
22 AWS_MANAGEDBLOCKCHAIN_API UpdateMemberRequest() = 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 "UpdateMember"; }
29
30 AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetNetworkId() const { return m_networkId; }
38 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
39 template <typename NetworkIdT = Aws::String>
40 void SetNetworkId(NetworkIdT&& value) {
41 m_networkIdHasBeenSet = true;
42 m_networkId = std::forward<NetworkIdT>(value);
43 }
44 template <typename NetworkIdT = Aws::String>
45 UpdateMemberRequest& WithNetworkId(NetworkIdT&& value) {
46 SetNetworkId(std::forward<NetworkIdT>(value));
47 return *this;
48 }
50
52
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 UpdateMemberRequest& WithMemberId(MemberIdT&& value) {
64 SetMemberId(std::forward<MemberIdT>(value));
65 return *this;
66 }
68
70
73 inline const MemberLogPublishingConfiguration& GetLogPublishingConfiguration() const { return m_logPublishingConfiguration; }
74 inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
75 template <typename LogPublishingConfigurationT = MemberLogPublishingConfiguration>
76 void SetLogPublishingConfiguration(LogPublishingConfigurationT&& value) {
77 m_logPublishingConfigurationHasBeenSet = true;
78 m_logPublishingConfiguration = std::forward<LogPublishingConfigurationT>(value);
79 }
80 template <typename LogPublishingConfigurationT = MemberLogPublishingConfiguration>
81 UpdateMemberRequest& WithLogPublishingConfiguration(LogPublishingConfigurationT&& value) {
82 SetLogPublishingConfiguration(std::forward<LogPublishingConfigurationT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_networkId;
88
89 Aws::String m_memberId;
90
91 MemberLogPublishingConfiguration m_logPublishingConfiguration;
92 bool m_networkIdHasBeenSet = false;
93 bool m_memberIdHasBeenSet = false;
94 bool m_logPublishingConfigurationHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ManagedBlockchain
99} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateMemberRequest & WithNetworkId(NetworkIdT &&value)
const MemberLogPublishingConfiguration & GetLogPublishingConfiguration() const
AWS_MANAGEDBLOCKCHAIN_API UpdateMemberRequest()=default
UpdateMemberRequest & WithLogPublishingConfiguration(LogPublishingConfigurationT &&value)
void SetLogPublishingConfiguration(LogPublishingConfigurationT &&value)
UpdateMemberRequest & WithMemberId(MemberIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String