AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMemberRequest.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/MemberLogPublishingConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ManagedBlockchain
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MANAGEDBLOCKCHAIN_API UpdateMemberRequest() = 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 "UpdateMember"; }
32
33 AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetNetworkId() const { return m_networkId; }
42 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
43 template<typename NetworkIdT = Aws::String>
44 void SetNetworkId(NetworkIdT&& value) { m_networkIdHasBeenSet = true; m_networkId = std::forward<NetworkIdT>(value); }
45 template<typename NetworkIdT = Aws::String>
46 UpdateMemberRequest& WithNetworkId(NetworkIdT&& value) { SetNetworkId(std::forward<NetworkIdT>(value)); return *this;}
48
50
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 UpdateMemberRequest& WithMemberId(MemberIdT&& value) { SetMemberId(std::forward<MemberIdT>(value)); return *this;}
60
62
65 inline const MemberLogPublishingConfiguration& GetLogPublishingConfiguration() const { return m_logPublishingConfiguration; }
66 inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
67 template<typename LogPublishingConfigurationT = MemberLogPublishingConfiguration>
68 void SetLogPublishingConfiguration(LogPublishingConfigurationT&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::forward<LogPublishingConfigurationT>(value); }
69 template<typename LogPublishingConfigurationT = MemberLogPublishingConfiguration>
70 UpdateMemberRequest& WithLogPublishingConfiguration(LogPublishingConfigurationT&& value) { SetLogPublishingConfiguration(std::forward<LogPublishingConfigurationT>(value)); return *this;}
72 private:
73
74 Aws::String m_networkId;
75 bool m_networkIdHasBeenSet = false;
76
77 Aws::String m_memberId;
78 bool m_memberIdHasBeenSet = false;
79
80 MemberLogPublishingConfiguration m_logPublishingConfiguration;
81 bool m_logPublishingConfigurationHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ManagedBlockchain
86} // 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