AWS SDK for C++  1.9.20
AWS SDK for C++
Invitation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GuardDuty
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 
49  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 
54  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 
59  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
60 
64  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
65 
69  inline Invitation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
70 
74  inline Invitation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
75 
79  inline Invitation& WithAccountId(const char* value) { SetAccountId(value); return *this;}
80 
81 
86  inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
87 
92  inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
93 
98  inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
99 
104  inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
105 
110  inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
111 
116  inline Invitation& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
117 
122  inline Invitation& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
123 
128  inline Invitation& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
129 
130 
134  inline const Aws::String& GetRelationshipStatus() const{ return m_relationshipStatus; }
135 
139  inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
140 
144  inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
145 
149  inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
150 
154  inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); }
155 
159  inline Invitation& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;}
160 
164  inline Invitation& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;}
165 
169  inline Invitation& WithRelationshipStatus(const char* value) { SetRelationshipStatus(value); return *this;}
170 
171 
175  inline const Aws::String& GetInvitedAt() const{ return m_invitedAt; }
176 
180  inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
181 
185  inline void SetInvitedAt(const Aws::String& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
186 
190  inline void SetInvitedAt(Aws::String&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
191 
195  inline void SetInvitedAt(const char* value) { m_invitedAtHasBeenSet = true; m_invitedAt.assign(value); }
196 
200  inline Invitation& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;}
201 
205  inline Invitation& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;}
206 
210  inline Invitation& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;}
211 
212  private:
213 
214  Aws::String m_accountId;
215  bool m_accountIdHasBeenSet;
216 
217  Aws::String m_invitationId;
218  bool m_invitationIdHasBeenSet;
219 
220  Aws::String m_relationshipStatus;
221  bool m_relationshipStatusHasBeenSet;
222 
223  Aws::String m_invitedAt;
224  bool m_invitedAtHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace GuardDuty
229 } // namespace Aws
Aws::GuardDuty::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(const char *value)
Definition: Invitation.h:128
Aws::GuardDuty::Model::Invitation::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: Invitation.h:59
Aws::GuardDuty::Model::Invitation::WithRelationshipStatus
Invitation & WithRelationshipStatus(const Aws::String &value)
Definition: Invitation.h:159
Aws::GuardDuty::Model::Invitation::SetRelationshipStatus
void SetRelationshipStatus(const char *value)
Definition: Invitation.h:154
Aws::GuardDuty::Model::Invitation::RelationshipStatusHasBeenSet
bool RelationshipStatusHasBeenSet() const
Definition: Invitation.h:139
Aws::GuardDuty::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(Aws::String &&value)
Definition: Invitation.h:122
Aws::GuardDuty::Model::Invitation::WithInvitedAt
Invitation & WithInvitedAt(const char *value)
Definition: Invitation.h:210
Aws::GuardDuty::Model::Invitation::WithInvitedAt
Invitation & WithInvitedAt(const Aws::String &value)
Definition: Invitation.h:200
Aws::GuardDuty::Model::Invitation::InvitationIdHasBeenSet
bool InvitationIdHasBeenSet() const
Definition: Invitation.h:92
Aws::GuardDuty::Model::Invitation::WithAccountId
Invitation & WithAccountId(Aws::String &&value)
Definition: Invitation.h:74
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::Invitation
Definition: Invitation.h:33
Aws::GuardDuty::Model::Invitation::GetInvitationId
const Aws::String & GetInvitationId() const
Definition: Invitation.h:86
Aws::GuardDuty::Model::Invitation::SetInvitedAt
void SetInvitedAt(Aws::String &&value)
Definition: Invitation.h:190
Aws::GuardDuty::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(const Aws::String &value)
Definition: Invitation.h:116
Aws::GuardDuty::Model::Invitation::WithRelationshipStatus
Invitation & WithRelationshipStatus(const char *value)
Definition: Invitation.h:169
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::Invitation::SetInvitationId
void SetInvitationId(Aws::String &&value)
Definition: Invitation.h:104
Aws::GuardDuty::Model::Invitation::SetRelationshipStatus
void SetRelationshipStatus(Aws::String &&value)
Definition: Invitation.h:149
Aws::GuardDuty::Model::Invitation::InvitedAtHasBeenSet
bool InvitedAtHasBeenSet() const
Definition: Invitation.h:180
Aws::GuardDuty::Model::Invitation::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: Invitation.h:49
Aws::GuardDuty::Model::Invitation::Invitation
Invitation()
Aws::GuardDuty::Model::Invitation::WithAccountId
Invitation & WithAccountId(const Aws::String &value)
Definition: Invitation.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::Invitation::WithAccountId
Invitation & WithAccountId(const char *value)
Definition: Invitation.h:79
Aws::GuardDuty::Model::Invitation::SetInvitedAt
void SetInvitedAt(const char *value)
Definition: Invitation.h:195
Aws::GuardDuty::Model::Invitation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::Invitation::WithRelationshipStatus
Invitation & WithRelationshipStatus(Aws::String &&value)
Definition: Invitation.h:164
Aws::GuardDuty::Model::Invitation::WithInvitedAt
Invitation & WithInvitedAt(Aws::String &&value)
Definition: Invitation.h:205
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::Invitation::operator=
Invitation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Invitation::SetInvitationId
void SetInvitationId(const char *value)
Definition: Invitation.h:110
Aws::GuardDuty::Model::Invitation::SetInvitationId
void SetInvitationId(const Aws::String &value)
Definition: Invitation.h:98
Aws::GuardDuty::Model::Invitation::Invitation
Invitation(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::Invitation::SetRelationshipStatus
void SetRelationshipStatus(const Aws::String &value)
Definition: Invitation.h:144
Aws::GuardDuty::Model::Invitation::SetInvitedAt
void SetInvitedAt(const Aws::String &value)
Definition: Invitation.h:185
Aws::GuardDuty::Model::Invitation::GetRelationshipStatus
const Aws::String & GetRelationshipStatus() const
Definition: Invitation.h:134
Aws::GuardDuty::Model::Invitation::GetAccountId
const Aws::String & GetAccountId() const
Definition: Invitation.h:44
Aws::GuardDuty::Model::Invitation::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: Invitation.h:54
Aws::GuardDuty::Model::Invitation::GetInvitedAt
const Aws::String & GetInvitedAt() const
Definition: Invitation.h:175
Aws::GuardDuty::Model::Invitation::SetAccountId
void SetAccountId(const char *value)
Definition: Invitation.h:64