AWS SDK for C++  1.9.175
AWS SDK for C++
Invitation.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Macie2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 
53  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
54 
59  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
60 
65  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
66 
71  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
72 
77  inline Invitation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
78 
83  inline Invitation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
84 
89  inline Invitation& WithAccountId(const char* value) { SetAccountId(value); return *this;}
90 
91 
95  inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
96 
100  inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
101 
105  inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
106 
110  inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
111 
115  inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
116 
120  inline Invitation& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
121 
125  inline Invitation& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
126 
130  inline Invitation& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
131 
132 
137  inline const Aws::Utils::DateTime& GetInvitedAt() const{ return m_invitedAt; }
138 
143  inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
144 
149  inline void SetInvitedAt(const Aws::Utils::DateTime& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
150 
155  inline void SetInvitedAt(Aws::Utils::DateTime&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
156 
161  inline Invitation& WithInvitedAt(const Aws::Utils::DateTime& value) { SetInvitedAt(value); return *this;}
162 
167  inline Invitation& WithInvitedAt(Aws::Utils::DateTime&& value) { SetInvitedAt(std::move(value)); return *this;}
168 
169 
174  inline const RelationshipStatus& GetRelationshipStatus() const{ return m_relationshipStatus; }
175 
180  inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
181 
186  inline void SetRelationshipStatus(const RelationshipStatus& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
187 
192  inline void SetRelationshipStatus(RelationshipStatus&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
193 
198  inline Invitation& WithRelationshipStatus(const RelationshipStatus& value) { SetRelationshipStatus(value); return *this;}
199 
204  inline Invitation& WithRelationshipStatus(RelationshipStatus&& value) { SetRelationshipStatus(std::move(value)); return *this;}
205 
206  private:
207 
208  Aws::String m_accountId;
209  bool m_accountIdHasBeenSet;
210 
211  Aws::String m_invitationId;
212  bool m_invitationIdHasBeenSet;
213 
214  Aws::Utils::DateTime m_invitedAt;
215  bool m_invitedAtHasBeenSet;
216 
217  RelationshipStatus m_relationshipStatus;
218  bool m_relationshipStatusHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace Macie2
223 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::Invitation::WithRelationshipStatus
Invitation & WithRelationshipStatus(RelationshipStatus &&value)
Definition: Invitation.h:204
Aws::Macie2::Model::Invitation::RelationshipStatusHasBeenSet
bool RelationshipStatusHasBeenSet() const
Definition: Invitation.h:180
Aws::Macie2::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(const char *value)
Definition: Invitation.h:130
DateTime.h
Macie2_EXPORTS.h
Aws::Macie2::Model::Invitation::SetInvitationId
void SetInvitationId(const Aws::String &value)
Definition: Invitation.h:105
Aws::Macie2::Model::Invitation::SetInvitationId
void SetInvitationId(const char *value)
Definition: Invitation.h:115
Aws::Macie2::Model::Invitation::WithAccountId
Invitation & WithAccountId(const char *value)
Definition: Invitation.h:89
Aws::Macie2::Model::Invitation::Invitation
Invitation()
Aws::Macie2::Model::Invitation::Invitation
Invitation(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Invitation::SetAccountId
void SetAccountId(const char *value)
Definition: Invitation.h:71
Aws::Macie2::Model::Invitation
Definition: Invitation.h:35
Aws::Macie2::Model::Invitation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::Invitation::SetInvitationId
void SetInvitationId(Aws::String &&value)
Definition: Invitation.h:110
Aws::Macie2::Model::Invitation::GetRelationshipStatus
const RelationshipStatus & GetRelationshipStatus() const
Definition: Invitation.h:174
Aws::Macie2::Model::Invitation::SetRelationshipStatus
void SetRelationshipStatus(RelationshipStatus &&value)
Definition: Invitation.h:192
Aws::Macie2::Model::Invitation::WithInvitedAt
Invitation & WithInvitedAt(Aws::Utils::DateTime &&value)
Definition: Invitation.h:167
Aws::Macie2::Model::Invitation::GetAccountId
const Aws::String & GetAccountId() const
Definition: Invitation.h:47
Aws::Macie2::Model::Invitation::SetInvitedAt
void SetInvitedAt(const Aws::Utils::DateTime &value)
Definition: Invitation.h:149
Aws::Macie2::Model::Invitation::InvitationIdHasBeenSet
bool InvitationIdHasBeenSet() const
Definition: Invitation.h:100
Aws::Macie2::Model::Invitation::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: Invitation.h:53
Aws::Macie2::Model::RelationshipStatus
RelationshipStatus
Definition: RelationshipStatus.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
RelationshipStatus.h
Aws::Macie2::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(const Aws::String &value)
Definition: Invitation.h:120
Aws::Macie2::Model::Invitation::SetRelationshipStatus
void SetRelationshipStatus(const RelationshipStatus &value)
Definition: Invitation.h:186
Aws::Macie2::Model::Invitation::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: Invitation.h:65
Aws::Macie2::Model::Invitation::WithInvitedAt
Invitation & WithInvitedAt(const Aws::Utils::DateTime &value)
Definition: Invitation.h:161
Aws::Macie2::Model::Invitation::WithAccountId
Invitation & WithAccountId(const Aws::String &value)
Definition: Invitation.h:77
Aws::Macie2::Model::Invitation::operator=
Invitation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Invitation::WithRelationshipStatus
Invitation & WithRelationshipStatus(const RelationshipStatus &value)
Definition: Invitation.h:198
Aws::Macie2::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(Aws::String &&value)
Definition: Invitation.h:125
Aws::Macie2::Model::Invitation::WithAccountId
Invitation & WithAccountId(Aws::String &&value)
Definition: Invitation.h:83
Aws::Macie2::Model::Invitation::GetInvitedAt
const Aws::Utils::DateTime & GetInvitedAt() const
Definition: Invitation.h:137
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::Invitation::SetInvitedAt
void SetInvitedAt(Aws::Utils::DateTime &&value)
Definition: Invitation.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::Invitation::GetInvitationId
const Aws::String & GetInvitationId() const
Definition: Invitation.h:95
Aws::Macie2::Model::Invitation::InvitedAtHasBeenSet
bool InvitedAtHasBeenSet() const
Definition: Invitation.h:143
Aws::Macie2::Model::Invitation::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: Invitation.h:59