AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptInvitationRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Macie2
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_MACIE2_API AcceptInvitationRequest();
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 "AcceptInvitation"; }
31
32 AWS_MACIE2_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAdministratorAccountId() const{ return m_administratorAccountId; }
41 inline bool AdministratorAccountIdHasBeenSet() const { return m_administratorAccountIdHasBeenSet; }
42 inline void SetAdministratorAccountId(const Aws::String& value) { m_administratorAccountIdHasBeenSet = true; m_administratorAccountId = value; }
43 inline void SetAdministratorAccountId(Aws::String&& value) { m_administratorAccountIdHasBeenSet = true; m_administratorAccountId = std::move(value); }
44 inline void SetAdministratorAccountId(const char* value) { m_administratorAccountIdHasBeenSet = true; m_administratorAccountId.assign(value); }
47 inline AcceptInvitationRequest& WithAdministratorAccountId(const char* value) { SetAdministratorAccountId(value); return *this;}
49
51
54 inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
55 inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
56 inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
57 inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
58 inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
59 inline AcceptInvitationRequest& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
60 inline AcceptInvitationRequest& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
61 inline AcceptInvitationRequest& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
63
65
70 inline const Aws::String& GetMasterAccount() const{ return m_masterAccount; }
71 inline bool MasterAccountHasBeenSet() const { return m_masterAccountHasBeenSet; }
72 inline void SetMasterAccount(const Aws::String& value) { m_masterAccountHasBeenSet = true; m_masterAccount = value; }
73 inline void SetMasterAccount(Aws::String&& value) { m_masterAccountHasBeenSet = true; m_masterAccount = std::move(value); }
74 inline void SetMasterAccount(const char* value) { m_masterAccountHasBeenSet = true; m_masterAccount.assign(value); }
75 inline AcceptInvitationRequest& WithMasterAccount(const Aws::String& value) { SetMasterAccount(value); return *this;}
76 inline AcceptInvitationRequest& WithMasterAccount(Aws::String&& value) { SetMasterAccount(std::move(value)); return *this;}
77 inline AcceptInvitationRequest& WithMasterAccount(const char* value) { SetMasterAccount(value); return *this;}
79 private:
80
81 Aws::String m_administratorAccountId;
82 bool m_administratorAccountIdHasBeenSet = false;
83
84 Aws::String m_invitationId;
85 bool m_invitationIdHasBeenSet = false;
86
87 Aws::String m_masterAccount;
88 bool m_masterAccountHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Macie2
93} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_MACIE2_API Aws::String SerializePayload() const override
void SetAdministratorAccountId(const Aws::String &value)
AcceptInvitationRequest & WithAdministratorAccountId(const Aws::String &value)
AcceptInvitationRequest & WithInvitationId(Aws::String &&value)
AcceptInvitationRequest & WithInvitationId(const Aws::String &value)
AcceptInvitationRequest & WithMasterAccount(Aws::String &&value)
AcceptInvitationRequest & WithMasterAccount(const char *value)
AcceptInvitationRequest & WithMasterAccount(const Aws::String &value)
AcceptInvitationRequest & WithAdministratorAccountId(const char *value)
AcceptInvitationRequest & WithAdministratorAccountId(Aws::String &&value)
AcceptInvitationRequest & WithInvitationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String