AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
44 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
45 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
46 inline UpdateMemberRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
47 inline UpdateMemberRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
48 inline UpdateMemberRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
50
52
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 UpdateMemberRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
61 inline UpdateMemberRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
62 inline UpdateMemberRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
64
66
69 inline const MemberLogPublishingConfiguration& GetLogPublishingConfiguration() const{ return m_logPublishingConfiguration; }
70 inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
71 inline void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = value; }
72 inline void SetLogPublishingConfiguration(MemberLogPublishingConfiguration&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::move(value); }
76 private:
77
78 Aws::String m_networkId;
79 bool m_networkIdHasBeenSet = false;
80
81 Aws::String m_memberId;
82 bool m_memberIdHasBeenSet = false;
83
84 MemberLogPublishingConfiguration m_logPublishingConfiguration;
85 bool m_logPublishingConfigurationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ManagedBlockchain
90} // namespace Aws
UpdateMemberRequest & WithLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateMemberRequest & WithMemberId(const char *value)
UpdateMemberRequest & WithNetworkId(Aws::String &&value)
UpdateMemberRequest & WithNetworkId(const char *value)
UpdateMemberRequest & WithMemberId(Aws::String &&value)
void SetLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
UpdateMemberRequest & WithNetworkId(const Aws::String &value)
const MemberLogPublishingConfiguration & GetLogPublishingConfiguration() const
UpdateMemberRequest & WithMemberId(const Aws::String &value)
UpdateMemberRequest & WithLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String