AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Invitation.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/managedblockchain/model/InvitationStatus.h>
11#include <aws/managedblockchain/model/NetworkSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ManagedBlockchain
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_MANAGEDBLOCKCHAIN_API Invitation();
40 AWS_MANAGEDBLOCKCHAIN_API Invitation(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDBLOCKCHAIN_API Invitation& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetInvitationId() const{ return m_invitationId; }
50 inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; }
51 inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; }
52 inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); }
53 inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); }
54 inline Invitation& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;}
55 inline Invitation& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;}
56 inline Invitation& WithInvitationId(const char* value) { SetInvitationId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
64 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
65 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
66 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
67 inline Invitation& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
68 inline Invitation& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
70
72
79 inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
80 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
81 inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
82 inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
83 inline Invitation& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
84 inline Invitation& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
86
88
99 inline const InvitationStatus& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const InvitationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(InvitationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline Invitation& WithStatus(const InvitationStatus& value) { SetStatus(value); return *this;}
104 inline Invitation& WithStatus(InvitationStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
109 inline const NetworkSummary& GetNetworkSummary() const{ return m_networkSummary; }
110 inline bool NetworkSummaryHasBeenSet() const { return m_networkSummaryHasBeenSet; }
111 inline void SetNetworkSummary(const NetworkSummary& value) { m_networkSummaryHasBeenSet = true; m_networkSummary = value; }
112 inline void SetNetworkSummary(NetworkSummary&& value) { m_networkSummaryHasBeenSet = true; m_networkSummary = std::move(value); }
113 inline Invitation& WithNetworkSummary(const NetworkSummary& value) { SetNetworkSummary(value); return *this;}
114 inline Invitation& WithNetworkSummary(NetworkSummary&& value) { SetNetworkSummary(std::move(value)); return *this;}
116
118
125 inline const Aws::String& GetArn() const{ return m_arn; }
126 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
127 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
128 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
129 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
130 inline Invitation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
131 inline Invitation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
132 inline Invitation& WithArn(const char* value) { SetArn(value); return *this;}
134 private:
135
136 Aws::String m_invitationId;
137 bool m_invitationIdHasBeenSet = false;
138
139 Aws::Utils::DateTime m_creationDate;
140 bool m_creationDateHasBeenSet = false;
141
142 Aws::Utils::DateTime m_expirationDate;
143 bool m_expirationDateHasBeenSet = false;
144
145 InvitationStatus m_status;
146 bool m_statusHasBeenSet = false;
147
148 NetworkSummary m_networkSummary;
149 bool m_networkSummaryHasBeenSet = false;
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace ManagedBlockchain
157} // namespace Aws
Invitation & WithInvitationId(const Aws::String &value)
Definition Invitation.h:54
AWS_MANAGEDBLOCKCHAIN_API Invitation()
void SetStatus(InvitationStatus &&value)
Definition Invitation.h:102
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition Invitation.h:81
Invitation & WithNetworkSummary(NetworkSummary &&value)
Definition Invitation.h:114
const Aws::String & GetInvitationId() const
Definition Invitation.h:49
const InvitationStatus & GetStatus() const
Definition Invitation.h:99
Invitation & WithCreationDate(Aws::Utils::DateTime &&value)
Definition Invitation.h:68
const Aws::String & GetArn() const
Definition Invitation.h:125
void SetInvitationId(const Aws::String &value)
Definition Invitation.h:51
Invitation & WithNetworkSummary(const NetworkSummary &value)
Definition Invitation.h:113
Invitation & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition Invitation.h:84
void SetInvitationId(Aws::String &&value)
Definition Invitation.h:52
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition Invitation.h:65
Invitation & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition Invitation.h:83
Invitation & WithStatus(InvitationStatus &&value)
Definition Invitation.h:104
Invitation & WithArn(Aws::String &&value)
Definition Invitation.h:131
Invitation & WithStatus(const InvitationStatus &value)
Definition Invitation.h:103
void SetNetworkSummary(NetworkSummary &&value)
Definition Invitation.h:112
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
Invitation & WithArn(const Aws::String &value)
Definition Invitation.h:130
void SetInvitationId(const char *value)
Definition Invitation.h:53
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition Invitation.h:82
Invitation & WithCreationDate(const Aws::Utils::DateTime &value)
Definition Invitation.h:67
AWS_MANAGEDBLOCKCHAIN_API Invitation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkSummary(const NetworkSummary &value)
Definition Invitation.h:111
const NetworkSummary & GetNetworkSummary() const
Definition Invitation.h:109
Invitation & WithInvitationId(Aws::String &&value)
Definition Invitation.h:55
const Aws::Utils::DateTime & GetExpirationDate() const
Definition Invitation.h:79
void SetArn(const Aws::String &value)
Definition Invitation.h:127
const Aws::Utils::DateTime & GetCreationDate() const
Definition Invitation.h:63
Invitation & WithInvitationId(const char *value)
Definition Invitation.h:56
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition Invitation.h:66
Invitation & WithArn(const char *value)
Definition Invitation.h:132
AWS_MANAGEDBLOCKCHAIN_API Invitation(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const InvitationStatus &value)
Definition Invitation.h:101
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue