AWS SDK for C++  1.9.154
AWS SDK for C++
Invitation.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace ManagedBlockchain
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
48 
52  inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
53 
57  inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
58 
62  inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
63 
67  inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
68 
72  inline Invitation& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
73 
77  inline Invitation& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
78 
82  inline Invitation& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
83 
84 
88  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
89 
93  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
94 
98  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
99 
103  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
104 
108  inline Invitation& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
109 
113  inline Invitation& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
114 
115 
123  inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
124 
132  inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
133 
141  inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
142 
150  inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
151 
159  inline Invitation& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
160 
168  inline Invitation& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
169 
170 
182  inline const InvitationStatus& GetStatus() const{ return m_status; }
183 
195  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
196 
208  inline void SetStatus(const InvitationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
209 
221  inline void SetStatus(InvitationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
222 
234  inline Invitation& WithStatus(const InvitationStatus& value) { SetStatus(value); return *this;}
235 
247  inline Invitation& WithStatus(InvitationStatus&& value) { SetStatus(std::move(value)); return *this;}
248 
249 
250 
251  inline const NetworkSummary& GetNetworkSummary() const{ return m_networkSummary; }
252 
253 
254  inline bool NetworkSummaryHasBeenSet() const { return m_networkSummaryHasBeenSet; }
255 
256 
257  inline void SetNetworkSummary(const NetworkSummary& value) { m_networkSummaryHasBeenSet = true; m_networkSummary = value; }
258 
259 
260  inline void SetNetworkSummary(NetworkSummary&& value) { m_networkSummaryHasBeenSet = true; m_networkSummary = std::move(value); }
261 
262 
263  inline Invitation& WithNetworkSummary(const NetworkSummary& value) { SetNetworkSummary(value); return *this;}
264 
265 
266  inline Invitation& WithNetworkSummary(NetworkSummary&& value) { SetNetworkSummary(std::move(value)); return *this;}
267 
268 
275  inline const Aws::String& GetArn() const{ return m_arn; }
276 
283  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
284 
291  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
292 
299  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
300 
307  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
308 
315  inline Invitation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
316 
323  inline Invitation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
324 
331  inline Invitation& WithArn(const char* value) { SetArn(value); return *this;}
332 
333  private:
334 
335  Aws::String m_invitationId;
336  bool m_invitationIdHasBeenSet;
337 
338  Aws::Utils::DateTime m_creationDate;
339  bool m_creationDateHasBeenSet;
340 
341  Aws::Utils::DateTime m_expirationDate;
342  bool m_expirationDateHasBeenSet;
343 
344  InvitationStatus m_status;
345  bool m_statusHasBeenSet;
346 
347  NetworkSummary m_networkSummary;
348  bool m_networkSummaryHasBeenSet;
349 
350  Aws::String m_arn;
351  bool m_arnHasBeenSet;
352  };
353 
354 } // namespace Model
355 } // namespace ManagedBlockchain
356 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ManagedBlockchain::Model::Invitation::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: Invitation.h:123
Aws::ManagedBlockchain::Model::Invitation::SetStatus
void SetStatus(const InvitationStatus &value)
Definition: Invitation.h:208
Aws::ManagedBlockchain::Model::Invitation::operator=
Invitation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::Invitation::SetArn
void SetArn(const Aws::String &value)
Definition: Invitation.h:291
Aws::ManagedBlockchain::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(Aws::String &&value)
Definition: Invitation.h:77
Aws::ManagedBlockchain::Model::Invitation::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: Invitation.h:150
Aws::ManagedBlockchain::Model::Invitation::SetArn
void SetArn(Aws::String &&value)
Definition: Invitation.h:299
Aws::ManagedBlockchain::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(const Aws::String &value)
Definition: Invitation.h:72
Aws::ManagedBlockchain::Model::Invitation::GetNetworkSummary
const NetworkSummary & GetNetworkSummary() const
Definition: Invitation.h:251
DateTime.h
Aws::ManagedBlockchain::Model::Invitation::InvitationIdHasBeenSet
bool InvitationIdHasBeenSet() const
Definition: Invitation.h:52
Aws::ManagedBlockchain::Model::Invitation::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: Invitation.h:98
Aws::ManagedBlockchain::Model::Invitation::SetStatus
void SetStatus(InvitationStatus &&value)
Definition: Invitation.h:221
Aws::ManagedBlockchain::Model::Invitation::SetArn
void SetArn(const char *value)
Definition: Invitation.h:307
Aws::ManagedBlockchain::Model::Invitation::WithArn
Invitation & WithArn(const Aws::String &value)
Definition: Invitation.h:315
Aws::ManagedBlockchain::Model::Invitation::GetStatus
const InvitationStatus & GetStatus() const
Definition: Invitation.h:182
Aws::ManagedBlockchain::Model::Invitation::GetArn
const Aws::String & GetArn() const
Definition: Invitation.h:275
Aws::ManagedBlockchain::Model::Invitation::Invitation
Invitation()
Aws::ManagedBlockchain::Model::Invitation::ExpirationDateHasBeenSet
bool ExpirationDateHasBeenSet() const
Definition: Invitation.h:132
Aws::ManagedBlockchain::Model::Invitation
Definition: Invitation.h:36
Aws::ManagedBlockchain::Model::Invitation::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: Invitation.h:88
Aws::ManagedBlockchain::Model::Invitation::NetworkSummaryHasBeenSet
bool NetworkSummaryHasBeenSet() const
Definition: Invitation.h:254
Aws::ManagedBlockchain::Model::Invitation::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: Invitation.h:103
Aws::ManagedBlockchain::Model::Invitation::Invitation
Invitation(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::Invitation::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: Invitation.h:141
Aws::ManagedBlockchain::Model::NetworkSummary
Definition: NetworkSummary.h:35
Aws::ManagedBlockchain::Model::Invitation::WithNetworkSummary
Invitation & WithNetworkSummary(const NetworkSummary &value)
Definition: Invitation.h:263
Aws::ManagedBlockchain::Model::Invitation::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Invitation.h:195
Aws::ManagedBlockchain::Model::Invitation::WithArn
Invitation & WithArn(Aws::String &&value)
Definition: Invitation.h:323
Aws::ManagedBlockchain::Model::Invitation::WithExpirationDate
Invitation & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: Invitation.h:159
Aws::ManagedBlockchain::Model::Invitation::SetNetworkSummary
void SetNetworkSummary(const NetworkSummary &value)
Definition: Invitation.h:257
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ManagedBlockchain::Model::Invitation::WithArn
Invitation & WithArn(const char *value)
Definition: Invitation.h:331
AWSString.h
Aws::ManagedBlockchain::Model::Invitation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::Invitation::SetInvitationId
void SetInvitationId(const Aws::String &value)
Definition: Invitation.h:57
Aws::ManagedBlockchain::Model::InvitationStatus
InvitationStatus
Definition: InvitationStatus.h:17
Aws::ManagedBlockchain::Model::Invitation::GetInvitationId
const Aws::String & GetInvitationId() const
Definition: Invitation.h:47
InvitationStatus.h
Aws::ManagedBlockchain::Model::Invitation::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: Invitation.h:93
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ManagedBlockchain::Model::Invitation::WithStatus
Invitation & WithStatus(const InvitationStatus &value)
Definition: Invitation.h:234
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::Invitation::SetInvitationId
void SetInvitationId(Aws::String &&value)
Definition: Invitation.h:62
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::Invitation::SetNetworkSummary
void SetNetworkSummary(NetworkSummary &&value)
Definition: Invitation.h:260
Aws::ManagedBlockchain::Model::Invitation::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Invitation.h:283
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::Invitation::WithCreationDate
Invitation & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: Invitation.h:108
Aws::ManagedBlockchain::Model::Invitation::WithInvitationId
Invitation & WithInvitationId(const char *value)
Definition: Invitation.h:82
Aws::ManagedBlockchain::Model::Invitation::WithExpirationDate
Invitation & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: Invitation.h:168
NetworkSummary.h
Aws::ManagedBlockchain::Model::Invitation::WithCreationDate
Invitation & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: Invitation.h:113
Aws::ManagedBlockchain::Model::Invitation::WithStatus
Invitation & WithStatus(InvitationStatus &&value)
Definition: Invitation.h:247
Aws::ManagedBlockchain::Model::Invitation::WithNetworkSummary
Invitation & WithNetworkSummary(NetworkSummary &&value)
Definition: Invitation.h:266
Aws::ManagedBlockchain::Model::Invitation::SetInvitationId
void SetInvitationId(const char *value)
Definition: Invitation.h:67