AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMemberRequest.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/MemberConfiguration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace ManagedBlockchain
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MANAGEDBLOCKCHAIN_API CreateMemberRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateMember"; }
33
34 AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override;
35
36
38
45 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
46 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
47 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
48 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
49 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
50 inline CreateMemberRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
51 inline CreateMemberRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
52 inline CreateMemberRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
54
56
60 inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
61 inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
62 inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
63 inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
64 inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
65 inline CreateMemberRequest& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
66 inline CreateMemberRequest& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
67 inline CreateMemberRequest& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
69
71
74 inline const Aws::String& GetNetworkId() const{ return m_networkId; }
75 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
76 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
77 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
78 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
79 inline CreateMemberRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
80 inline CreateMemberRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
81 inline CreateMemberRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
83
85
88 inline const MemberConfiguration& GetMemberConfiguration() const{ return m_memberConfiguration; }
89 inline bool MemberConfigurationHasBeenSet() const { return m_memberConfigurationHasBeenSet; }
90 inline void SetMemberConfiguration(const MemberConfiguration& value) { m_memberConfigurationHasBeenSet = true; m_memberConfiguration = value; }
91 inline void SetMemberConfiguration(MemberConfiguration&& value) { m_memberConfigurationHasBeenSet = true; m_memberConfiguration = std::move(value); }
95 private:
96
97 Aws::String m_clientRequestToken;
98 bool m_clientRequestTokenHasBeenSet = false;
99
100 Aws::String m_invitationId;
101 bool m_invitationIdHasBeenSet = false;
102
103 Aws::String m_networkId;
104 bool m_networkIdHasBeenSet = false;
105
106 MemberConfiguration m_memberConfiguration;
107 bool m_memberConfigurationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ManagedBlockchain
112} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateMemberRequest & WithInvitationId(const char *value)
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
CreateMemberRequest & WithNetworkId(const Aws::String &value)
CreateMemberRequest & WithInvitationId(const Aws::String &value)
CreateMemberRequest & WithClientRequestToken(const Aws::String &value)
CreateMemberRequest & WithClientRequestToken(const char *value)
CreateMemberRequest & WithInvitationId(Aws::String &&value)
CreateMemberRequest & WithMemberConfiguration(const MemberConfiguration &value)
CreateMemberRequest & WithNetworkId(const char *value)
void SetMemberConfiguration(const MemberConfiguration &value)
const MemberConfiguration & GetMemberConfiguration() const
CreateMemberRequest & WithNetworkId(Aws::String &&value)
void SetMemberConfiguration(MemberConfiguration &&value)
CreateMemberRequest & WithClientRequestToken(Aws::String &&value)
CreateMemberRequest & WithMemberConfiguration(MemberConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String