AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
ConnectionInvitationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
10#include <aws/partnercentral-account/model/ConnectionType.h>
11#include <aws/partnercentral-account/model/InvitationStatus.h>
12#include <aws/partnercentral-account/model/ParticipantType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralAccount {
24namespace Model {
25
33 public:
34 AWS_PARTNERCENTRALACCOUNT_API ConnectionInvitationSummary() = default;
35 AWS_PARTNERCENTRALACCOUNT_API ConnectionInvitationSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALACCOUNT_API ConnectionInvitationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetCatalog() const { return m_catalog; }
44 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
45 template <typename CatalogT = Aws::String>
46 void SetCatalog(CatalogT&& value) {
47 m_catalogHasBeenSet = true;
48 m_catalog = std::forward<CatalogT>(value);
49 }
50 template <typename CatalogT = Aws::String>
52 SetCatalog(std::forward<CatalogT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template <typename IdT = Aws::String>
64 void SetId(IdT&& value) {
65 m_idHasBeenSet = true;
66 m_id = std::forward<IdT>(value);
67 }
68 template <typename IdT = Aws::String>
70 SetId(std::forward<IdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetArn() const { return m_arn; }
80 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
81 template <typename ArnT = Aws::String>
82 void SetArn(ArnT&& value) {
83 m_arnHasBeenSet = true;
84 m_arn = std::forward<ArnT>(value);
85 }
86 template <typename ArnT = Aws::String>
88 SetArn(std::forward<ArnT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
98 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
99 template <typename ConnectionIdT = Aws::String>
100 void SetConnectionId(ConnectionIdT&& value) {
101 m_connectionIdHasBeenSet = true;
102 m_connectionId = std::forward<ConnectionIdT>(value);
103 }
104 template <typename ConnectionIdT = Aws::String>
106 SetConnectionId(std::forward<ConnectionIdT>(value));
107 return *this;
108 }
110
112
115 inline ConnectionType GetConnectionType() const { return m_connectionType; }
116 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
118 m_connectionTypeHasBeenSet = true;
119 m_connectionType = value;
120 }
122 SetConnectionType(value);
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
132 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
133 template <typename CreatedAtT = Aws::Utils::DateTime>
134 void SetCreatedAt(CreatedAtT&& value) {
135 m_createdAtHasBeenSet = true;
136 m_createdAt = std::forward<CreatedAtT>(value);
137 }
138 template <typename CreatedAtT = Aws::Utils::DateTime>
140 SetCreatedAt(std::forward<CreatedAtT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
150 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
151 template <typename UpdatedAtT = Aws::Utils::DateTime>
152 void SetUpdatedAt(UpdatedAtT&& value) {
153 m_updatedAtHasBeenSet = true;
154 m_updatedAt = std::forward<UpdatedAtT>(value);
155 }
156 template <typename UpdatedAtT = Aws::Utils::DateTime>
158 SetUpdatedAt(std::forward<UpdatedAtT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
168 inline bool ExpiresAtHasBeenSet() const { return m_expiresAtHasBeenSet; }
169 template <typename ExpiresAtT = Aws::Utils::DateTime>
170 void SetExpiresAt(ExpiresAtT&& value) {
171 m_expiresAtHasBeenSet = true;
172 m_expiresAt = std::forward<ExpiresAtT>(value);
173 }
174 template <typename ExpiresAtT = Aws::Utils::DateTime>
176 SetExpiresAt(std::forward<ExpiresAtT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetOtherParticipantIdentifier() const { return m_otherParticipantIdentifier; }
186 inline bool OtherParticipantIdentifierHasBeenSet() const { return m_otherParticipantIdentifierHasBeenSet; }
187 template <typename OtherParticipantIdentifierT = Aws::String>
188 void SetOtherParticipantIdentifier(OtherParticipantIdentifierT&& value) {
189 m_otherParticipantIdentifierHasBeenSet = true;
190 m_otherParticipantIdentifier = std::forward<OtherParticipantIdentifierT>(value);
191 }
192 template <typename OtherParticipantIdentifierT = Aws::String>
193 ConnectionInvitationSummary& WithOtherParticipantIdentifier(OtherParticipantIdentifierT&& value) {
194 SetOtherParticipantIdentifier(std::forward<OtherParticipantIdentifierT>(value));
195 return *this;
196 }
198
200
204 inline ParticipantType GetParticipantType() const { return m_participantType; }
205 inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; }
207 m_participantTypeHasBeenSet = true;
208 m_participantType = value;
209 }
211 SetParticipantType(value);
212 return *this;
213 }
215
217
220 inline InvitationStatus GetStatus() const { return m_status; }
221 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
222 inline void SetStatus(InvitationStatus value) {
223 m_statusHasBeenSet = true;
224 m_status = value;
225 }
227 SetStatus(value);
228 return *this;
229 }
231 private:
232 Aws::String m_catalog;
233
234 Aws::String m_id;
235
236 Aws::String m_arn;
237
238 Aws::String m_connectionId;
239
240 ConnectionType m_connectionType{ConnectionType::NOT_SET};
241
242 Aws::Utils::DateTime m_createdAt{};
243
244 Aws::Utils::DateTime m_updatedAt{};
245
246 Aws::Utils::DateTime m_expiresAt{};
247
248 Aws::String m_otherParticipantIdentifier;
249
250 ParticipantType m_participantType{ParticipantType::NOT_SET};
251
253 bool m_catalogHasBeenSet = false;
254 bool m_idHasBeenSet = false;
255 bool m_arnHasBeenSet = false;
256 bool m_connectionIdHasBeenSet = false;
257 bool m_connectionTypeHasBeenSet = false;
258 bool m_createdAtHasBeenSet = false;
259 bool m_updatedAtHasBeenSet = false;
260 bool m_expiresAtHasBeenSet = false;
261 bool m_otherParticipantIdentifierHasBeenSet = false;
262 bool m_participantTypeHasBeenSet = false;
263 bool m_statusHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace PartnerCentralAccount
268} // namespace Aws
ConnectionInvitationSummary & WithParticipantType(ParticipantType value)
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionInvitationSummary & WithConnectionId(ConnectionIdT &&value)
ConnectionInvitationSummary & WithCreatedAt(CreatedAtT &&value)
ConnectionInvitationSummary & WithUpdatedAt(UpdatedAtT &&value)
ConnectionInvitationSummary & WithExpiresAt(ExpiresAtT &&value)
AWS_PARTNERCENTRALACCOUNT_API ConnectionInvitationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALACCOUNT_API ConnectionInvitationSummary()=default
ConnectionInvitationSummary & WithOtherParticipantIdentifier(OtherParticipantIdentifierT &&value)
ConnectionInvitationSummary & WithStatus(InvitationStatus value)
ConnectionInvitationSummary & WithConnectionType(ConnectionType value)
AWS_PARTNERCENTRALACCOUNT_API ConnectionInvitationSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue