AWS SDK for C++  1.9.123
AWS SDK for C++
RejectInvitationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ManagedBlockchain
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "RejectInvitation"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
39 
43  inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
44 
48  inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
49 
53  inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
54 
58  inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
59 
63  inline RejectInvitationRequest& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
64 
68  inline RejectInvitationRequest& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
69 
73  inline RejectInvitationRequest& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_invitationId;
78  bool m_invitationIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace ManagedBlockchain
83 } // namespace Aws
Aws::ManagedBlockchain::Model::RejectInvitationRequest::RejectInvitationRequest
RejectInvitationRequest()
Aws::ManagedBlockchain::Model::RejectInvitationRequest::SetInvitationId
void SetInvitationId(const Aws::String &value)
Definition: RejectInvitationRequest.h:48
Aws::ManagedBlockchain::Model::RejectInvitationRequest::SetInvitationId
void SetInvitationId(const char *value)
Definition: RejectInvitationRequest.h:58
Aws::ManagedBlockchain::Model::RejectInvitationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RejectInvitationRequest.h:30
Aws::ManagedBlockchain::Model::RejectInvitationRequest
Definition: RejectInvitationRequest.h:22
Aws::ManagedBlockchain::Model::RejectInvitationRequest::WithInvitationId
RejectInvitationRequest & WithInvitationId(const char *value)
Definition: RejectInvitationRequest.h:73
AWSString.h
Aws::ManagedBlockchain::ManagedBlockchainRequest
Definition: ManagedBlockchainRequest.h:17
Aws::ManagedBlockchain::Model::RejectInvitationRequest::SetInvitationId
void SetInvitationId(Aws::String &&value)
Definition: RejectInvitationRequest.h:53
ManagedBlockchainRequest.h
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::ManagedBlockchain::Model::RejectInvitationRequest::GetInvitationId
const Aws::String & GetInvitationId() const
Definition: RejectInvitationRequest.h:38
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::RejectInvitationRequest::InvitationIdHasBeenSet
bool InvitationIdHasBeenSet() const
Definition: RejectInvitationRequest.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::RejectInvitationRequest::WithInvitationId
RejectInvitationRequest & WithInvitationId(Aws::String &&value)
Definition: RejectInvitationRequest.h:68
Aws::ManagedBlockchain::Model::RejectInvitationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ManagedBlockchain::Model::RejectInvitationRequest::WithInvitationId
RejectInvitationRequest & WithInvitationId(const Aws::String &value)
Definition: RejectInvitationRequest.h:63