AWS SDK for C++  1.9.131
AWS SDK for C++
UpdateMemberRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ManagedBlockchain
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetNetworkId() const{ return m_networkId; }
41 
46  inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
47 
52  inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
53 
58  inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
59 
64  inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
65 
70  inline UpdateMemberRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
71 
76  inline UpdateMemberRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
77 
82  inline UpdateMemberRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
83 
84 
88  inline const Aws::String& GetMemberId() const{ return m_memberId; }
89 
93  inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
94 
98  inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
99 
103  inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
104 
108  inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
109 
113  inline UpdateMemberRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
114 
118  inline UpdateMemberRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
119 
123  inline UpdateMemberRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
124 
125 
129  inline const MemberLogPublishingConfiguration& GetLogPublishingConfiguration() const{ return m_logPublishingConfiguration; }
130 
134  inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
135 
139  inline void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = value; }
140 
144  inline void SetLogPublishingConfiguration(MemberLogPublishingConfiguration&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::move(value); }
145 
149  inline UpdateMemberRequest& WithLogPublishingConfiguration(const MemberLogPublishingConfiguration& value) { SetLogPublishingConfiguration(value); return *this;}
150 
154  inline UpdateMemberRequest& WithLogPublishingConfiguration(MemberLogPublishingConfiguration&& value) { SetLogPublishingConfiguration(std::move(value)); return *this;}
155 
156  private:
157 
158  Aws::String m_networkId;
159  bool m_networkIdHasBeenSet;
160 
161  Aws::String m_memberId;
162  bool m_memberIdHasBeenSet;
163 
164  MemberLogPublishingConfiguration m_logPublishingConfiguration;
165  bool m_logPublishingConfigurationHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace ManagedBlockchain
170 } // namespace Aws
Aws::ManagedBlockchain::Model::UpdateMemberRequest::GetMemberId
const Aws::String & GetMemberId() const
Definition: UpdateMemberRequest.h:88
Aws::ManagedBlockchain::Model::UpdateMemberRequest::GetLogPublishingConfiguration
const MemberLogPublishingConfiguration & GetLogPublishingConfiguration() const
Definition: UpdateMemberRequest.h:129
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetLogPublishingConfiguration
void SetLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
Definition: UpdateMemberRequest.h:144
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithMemberId
UpdateMemberRequest & WithMemberId(const Aws::String &value)
Definition: UpdateMemberRequest.h:113
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetNetworkId
void SetNetworkId(const Aws::String &value)
Definition: UpdateMemberRequest.h:52
Aws::ManagedBlockchain::Model::MemberLogPublishingConfiguration
Definition: MemberLogPublishingConfiguration.h:33
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetMemberId
void SetMemberId(const Aws::String &value)
Definition: UpdateMemberRequest.h:98
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetLogPublishingConfiguration
void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
Definition: UpdateMemberRequest.h:139
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetNetworkId
void SetNetworkId(const char *value)
Definition: UpdateMemberRequest.h:64
Aws::ManagedBlockchain::Model::UpdateMemberRequest::MemberIdHasBeenSet
bool MemberIdHasBeenSet() const
Definition: UpdateMemberRequest.h:93
Aws::ManagedBlockchain::Model::UpdateMemberRequest::NetworkIdHasBeenSet
bool NetworkIdHasBeenSet() const
Definition: UpdateMemberRequest.h:46
Aws::ManagedBlockchain::Model::UpdateMemberRequest::UpdateMemberRequest
UpdateMemberRequest()
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetNetworkId
void SetNetworkId(Aws::String &&value)
Definition: UpdateMemberRequest.h:58
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithMemberId
UpdateMemberRequest & WithMemberId(const char *value)
Definition: UpdateMemberRequest.h:123
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetMemberId
void SetMemberId(const char *value)
Definition: UpdateMemberRequest.h:108
Aws::ManagedBlockchain::Model::UpdateMemberRequest::GetNetworkId
const Aws::String & GetNetworkId() const
Definition: UpdateMemberRequest.h:40
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SetMemberId
void SetMemberId(Aws::String &&value)
Definition: UpdateMemberRequest.h:103
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithNetworkId
UpdateMemberRequest & WithNetworkId(Aws::String &&value)
Definition: UpdateMemberRequest.h:76
AWSString.h
Aws::ManagedBlockchain::ManagedBlockchainRequest
Definition: ManagedBlockchainRequest.h:17
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithLogPublishingConfiguration
UpdateMemberRequest & WithLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
Definition: UpdateMemberRequest.h:154
Aws::ManagedBlockchain::Model::UpdateMemberRequest::SerializePayload
Aws::String SerializePayload() const override
ManagedBlockchainRequest.h
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithMemberId
UpdateMemberRequest & WithMemberId(Aws::String &&value)
Definition: UpdateMemberRequest.h:118
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::UpdateMemberRequest::LogPublishingConfigurationHasBeenSet
bool LogPublishingConfigurationHasBeenSet() const
Definition: UpdateMemberRequest.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithNetworkId
UpdateMemberRequest & WithNetworkId(const Aws::String &value)
Definition: UpdateMemberRequest.h:70
Aws::ManagedBlockchain::Model::UpdateMemberRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMemberRequest.h:31
MemberLogPublishingConfiguration.h
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithLogPublishingConfiguration
UpdateMemberRequest & WithLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
Definition: UpdateMemberRequest.h:149
Aws::ManagedBlockchain::Model::UpdateMemberRequest
Definition: UpdateMemberRequest.h:23
Aws::ManagedBlockchain::Model::UpdateMemberRequest::WithNetworkId
UpdateMemberRequest & WithNetworkId(const char *value)
Definition: UpdateMemberRequest.h:82