AWS SDK for C++  1.9.103
AWS SDK for C++
AcceptInvitationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GuardDuty
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 "AcceptInvitation"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
39 
43  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 
48  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
49 
53  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
54 
58  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
59 
63  inline AcceptInvitationRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
64 
68  inline AcceptInvitationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
69 
73  inline AcceptInvitationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
74 
75 
80  inline const Aws::String& GetMasterId() const{ return m_masterId; }
81 
86  inline bool MasterIdHasBeenSet() const { return m_masterIdHasBeenSet; }
87 
92  inline void SetMasterId(const Aws::String& value) { m_masterIdHasBeenSet = true; m_masterId = value; }
93 
98  inline void SetMasterId(Aws::String&& value) { m_masterIdHasBeenSet = true; m_masterId = std::move(value); }
99 
104  inline void SetMasterId(const char* value) { m_masterIdHasBeenSet = true; m_masterId.assign(value); }
105 
110  inline AcceptInvitationRequest& WithMasterId(const Aws::String& value) { SetMasterId(value); return *this;}
111 
116  inline AcceptInvitationRequest& WithMasterId(Aws::String&& value) { SetMasterId(std::move(value)); return *this;}
117 
122  inline AcceptInvitationRequest& WithMasterId(const char* value) { SetMasterId(value); return *this;}
123 
124 
129  inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
130 
135  inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
136 
141  inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
142 
147  inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
148 
153  inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
154 
159  inline AcceptInvitationRequest& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
160 
165  inline AcceptInvitationRequest& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
166 
171  inline AcceptInvitationRequest& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
172 
173  private:
174 
175  Aws::String m_detectorId;
176  bool m_detectorIdHasBeenSet;
177 
178  Aws::String m_masterId;
179  bool m_masterIdHasBeenSet;
180 
181  Aws::String m_invitationId;
182  bool m_invitationIdHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace GuardDuty
187 } // namespace Aws
Aws::GuardDuty::Model::AcceptInvitationRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: AcceptInvitationRequest.h:48
Aws::GuardDuty::Model::AcceptInvitationRequest::SetInvitationId
void SetInvitationId(const Aws::String &value)
Definition: AcceptInvitationRequest.h:141
Aws::GuardDuty::Model::AcceptInvitationRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: AcceptInvitationRequest.h:53
Aws::GuardDuty::Model::AcceptInvitationRequest::AcceptInvitationRequest
AcceptInvitationRequest()
Aws::GuardDuty::Model::AcceptInvitationRequest::WithMasterId
AcceptInvitationRequest & WithMasterId(Aws::String &&value)
Definition: AcceptInvitationRequest.h:116
Aws::GuardDuty::Model::AcceptInvitationRequest::WithDetectorId
AcceptInvitationRequest & WithDetectorId(const char *value)
Definition: AcceptInvitationRequest.h:73
Aws::GuardDuty::Model::AcceptInvitationRequest::SetInvitationId
void SetInvitationId(const char *value)
Definition: AcceptInvitationRequest.h:153
Aws::GuardDuty::Model::AcceptInvitationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AcceptInvitationRequest.h:30
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::AcceptInvitationRequest
Definition: AcceptInvitationRequest.h:22
Aws::GuardDuty::Model::AcceptInvitationRequest::SetMasterId
void SetMasterId(const char *value)
Definition: AcceptInvitationRequest.h:104
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::AcceptInvitationRequest::WithDetectorId
AcceptInvitationRequest & WithDetectorId(Aws::String &&value)
Definition: AcceptInvitationRequest.h:68
Aws::GuardDuty::Model::AcceptInvitationRequest::MasterIdHasBeenSet
bool MasterIdHasBeenSet() const
Definition: AcceptInvitationRequest.h:86
Aws::GuardDuty::Model::AcceptInvitationRequest::SetInvitationId
void SetInvitationId(Aws::String &&value)
Definition: AcceptInvitationRequest.h:147
Aws::GuardDuty::Model::AcceptInvitationRequest::WithInvitationId
AcceptInvitationRequest & WithInvitationId(Aws::String &&value)
Definition: AcceptInvitationRequest.h:165
Aws::GuardDuty::Model::AcceptInvitationRequest::WithDetectorId
AcceptInvitationRequest & WithDetectorId(const Aws::String &value)
Definition: AcceptInvitationRequest.h:63
Aws::GuardDuty::Model::AcceptInvitationRequest::GetInvitationId
const Aws::String & GetInvitationId() const
Definition: AcceptInvitationRequest.h:129
AWSString.h
Aws::GuardDuty::Model::AcceptInvitationRequest::WithInvitationId
AcceptInvitationRequest & WithInvitationId(const Aws::String &value)
Definition: AcceptInvitationRequest.h:159
Aws::GuardDuty::Model::AcceptInvitationRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: AcceptInvitationRequest.h:38
Aws::GuardDuty::Model::AcceptInvitationRequest::SetMasterId
void SetMasterId(Aws::String &&value)
Definition: AcceptInvitationRequest.h:98
Aws::GuardDuty::Model::AcceptInvitationRequest::WithMasterId
AcceptInvitationRequest & WithMasterId(const char *value)
Definition: AcceptInvitationRequest.h:122
Aws::GuardDuty::Model::AcceptInvitationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::AcceptInvitationRequest::SetMasterId
void SetMasterId(const Aws::String &value)
Definition: AcceptInvitationRequest.h:92
Aws::GuardDuty::Model::AcceptInvitationRequest::GetMasterId
const Aws::String & GetMasterId() const
Definition: AcceptInvitationRequest.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::AcceptInvitationRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: AcceptInvitationRequest.h:58
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::AcceptInvitationRequest::WithMasterId
AcceptInvitationRequest & WithMasterId(const Aws::String &value)
Definition: AcceptInvitationRequest.h:110
Aws::GuardDuty::Model::AcceptInvitationRequest::InvitationIdHasBeenSet
bool InvitationIdHasBeenSet() const
Definition: AcceptInvitationRequest.h:135
Aws::GuardDuty::Model::AcceptInvitationRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: AcceptInvitationRequest.h:43
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::AcceptInvitationRequest::WithInvitationId
AcceptInvitationRequest & WithInvitationId(const char *value)
Definition: AcceptInvitationRequest.h:171