AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EngagementInvitationSummary.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-selling/PartnerCentralSelling_EXPORTS.h>
10#include <aws/partnercentral-selling/model/EngagementInvitationPayloadType.h>
11#include <aws/partnercentral-selling/model/InvitationStatus.h>
12#include <aws/partnercentral-selling/model/ParticipantType.h>
13#include <aws/partnercentral-selling/model/Receiver.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PartnerCentralSelling {
25namespace Model {
26
35 public:
36 AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary() = default;
37 AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template <typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) {
51 m_arnHasBeenSet = true;
52 m_arn = std::forward<ArnT>(value);
53 }
54 template <typename ArnT = Aws::String>
56 SetArn(std::forward<ArnT>(value));
57 return *this;
58 }
60
62
67 inline EngagementInvitationPayloadType GetPayloadType() const { return m_payloadType; }
68 inline bool PayloadTypeHasBeenSet() const { return m_payloadTypeHasBeenSet; }
70 m_payloadTypeHasBeenSet = true;
71 m_payloadType = value;
72 }
74 SetPayloadType(value);
75 return *this;
76 }
78
80
85 inline const Aws::String& GetId() const { return m_id; }
86 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
87 template <typename IdT = Aws::String>
88 void SetId(IdT&& value) {
89 m_idHasBeenSet = true;
90 m_id = std::forward<IdT>(value);
91 }
92 template <typename IdT = Aws::String>
94 SetId(std::forward<IdT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
105 inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; }
106 template <typename EngagementIdT = Aws::String>
107 void SetEngagementId(EngagementIdT&& value) {
108 m_engagementIdHasBeenSet = true;
109 m_engagementId = std::forward<EngagementIdT>(value);
110 }
111 template <typename EngagementIdT = Aws::String>
113 SetEngagementId(std::forward<EngagementIdT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::String& GetEngagementTitle() const { return m_engagementTitle; }
125 inline bool EngagementTitleHasBeenSet() const { return m_engagementTitleHasBeenSet; }
126 template <typename EngagementTitleT = Aws::String>
127 void SetEngagementTitle(EngagementTitleT&& value) {
128 m_engagementTitleHasBeenSet = true;
129 m_engagementTitle = std::forward<EngagementTitleT>(value);
130 }
131 template <typename EngagementTitleT = Aws::String>
133 SetEngagementTitle(std::forward<EngagementTitleT>(value));
134 return *this;
135 }
137
139
144 inline InvitationStatus GetStatus() const { return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 inline void SetStatus(InvitationStatus value) {
147 m_statusHasBeenSet = true;
148 m_status = value;
149 }
151 SetStatus(value);
152 return *this;
153 }
155
157
162 inline const Aws::Utils::DateTime& GetInvitationDate() const { return m_invitationDate; }
163 inline bool InvitationDateHasBeenSet() const { return m_invitationDateHasBeenSet; }
164 template <typename InvitationDateT = Aws::Utils::DateTime>
165 void SetInvitationDate(InvitationDateT&& value) {
166 m_invitationDateHasBeenSet = true;
167 m_invitationDate = std::forward<InvitationDateT>(value);
168 }
169 template <typename InvitationDateT = Aws::Utils::DateTime>
171 SetInvitationDate(std::forward<InvitationDateT>(value));
172 return *this;
173 }
175
177
182 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
183 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
184 template <typename ExpirationDateT = Aws::Utils::DateTime>
185 void SetExpirationDate(ExpirationDateT&& value) {
186 m_expirationDateHasBeenSet = true;
187 m_expirationDate = std::forward<ExpirationDateT>(value);
188 }
189 template <typename ExpirationDateT = Aws::Utils::DateTime>
191 SetExpirationDate(std::forward<ExpirationDateT>(value));
192 return *this;
193 }
195
197
202 inline const Aws::String& GetSenderAwsAccountId() const { return m_senderAwsAccountId; }
203 inline bool SenderAwsAccountIdHasBeenSet() const { return m_senderAwsAccountIdHasBeenSet; }
204 template <typename SenderAwsAccountIdT = Aws::String>
205 void SetSenderAwsAccountId(SenderAwsAccountIdT&& value) {
206 m_senderAwsAccountIdHasBeenSet = true;
207 m_senderAwsAccountId = std::forward<SenderAwsAccountIdT>(value);
208 }
209 template <typename SenderAwsAccountIdT = Aws::String>
211 SetSenderAwsAccountId(std::forward<SenderAwsAccountIdT>(value));
212 return *this;
213 }
215
217
222 inline const Aws::String& GetSenderCompanyName() const { return m_senderCompanyName; }
223 inline bool SenderCompanyNameHasBeenSet() const { return m_senderCompanyNameHasBeenSet; }
224 template <typename SenderCompanyNameT = Aws::String>
225 void SetSenderCompanyName(SenderCompanyNameT&& value) {
226 m_senderCompanyNameHasBeenSet = true;
227 m_senderCompanyName = std::forward<SenderCompanyNameT>(value);
228 }
229 template <typename SenderCompanyNameT = Aws::String>
231 SetSenderCompanyName(std::forward<SenderCompanyNameT>(value));
232 return *this;
233 }
235
237
242 inline const Receiver& GetReceiver() const { return m_receiver; }
243 inline bool ReceiverHasBeenSet() const { return m_receiverHasBeenSet; }
244 template <typename ReceiverT = Receiver>
245 void SetReceiver(ReceiverT&& value) {
246 m_receiverHasBeenSet = true;
247 m_receiver = std::forward<ReceiverT>(value);
248 }
249 template <typename ReceiverT = Receiver>
251 SetReceiver(std::forward<ReceiverT>(value));
252 return *this;
253 }
255
257
262 inline const Aws::String& GetCatalog() const { return m_catalog; }
263 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
264 template <typename CatalogT = Aws::String>
265 void SetCatalog(CatalogT&& value) {
266 m_catalogHasBeenSet = true;
267 m_catalog = std::forward<CatalogT>(value);
268 }
269 template <typename CatalogT = Aws::String>
271 SetCatalog(std::forward<CatalogT>(value));
272 return *this;
273 }
275
277
280 inline ParticipantType GetParticipantType() const { return m_participantType; }
281 inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; }
283 m_participantTypeHasBeenSet = true;
284 m_participantType = value;
285 }
287 SetParticipantType(value);
288 return *this;
289 }
291 private:
292 Aws::String m_arn;
293
295
296 Aws::String m_id;
297
298 Aws::String m_engagementId;
299
300 Aws::String m_engagementTitle;
301
303
304 Aws::Utils::DateTime m_invitationDate{};
305
306 Aws::Utils::DateTime m_expirationDate{};
307
308 Aws::String m_senderAwsAccountId;
309
310 Aws::String m_senderCompanyName;
311
312 Receiver m_receiver;
313
314 Aws::String m_catalog;
315
316 ParticipantType m_participantType{ParticipantType::NOT_SET};
317 bool m_arnHasBeenSet = false;
318 bool m_payloadTypeHasBeenSet = false;
319 bool m_idHasBeenSet = false;
320 bool m_engagementIdHasBeenSet = false;
321 bool m_engagementTitleHasBeenSet = false;
322 bool m_statusHasBeenSet = false;
323 bool m_invitationDateHasBeenSet = false;
324 bool m_expirationDateHasBeenSet = false;
325 bool m_senderAwsAccountIdHasBeenSet = false;
326 bool m_senderCompanyNameHasBeenSet = false;
327 bool m_receiverHasBeenSet = false;
328 bool m_catalogHasBeenSet = false;
329 bool m_participantTypeHasBeenSet = false;
330};
331
332} // namespace Model
333} // namespace PartnerCentralSelling
334} // namespace Aws
AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary()=default
EngagementInvitationSummary & WithExpirationDate(ExpirationDateT &&value)
EngagementInvitationSummary & WithEngagementTitle(EngagementTitleT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
EngagementInvitationSummary & WithStatus(InvitationStatus value)
EngagementInvitationSummary & WithParticipantType(ParticipantType value)
EngagementInvitationSummary & WithEngagementId(EngagementIdT &&value)
EngagementInvitationSummary & WithInvitationDate(InvitationDateT &&value)
EngagementInvitationSummary & WithSenderAwsAccountId(SenderAwsAccountIdT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary(Aws::Utils::Json::JsonView jsonValue)
EngagementInvitationSummary & WithSenderCompanyName(SenderCompanyNameT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EngagementInvitationSummary & WithPayloadType(EngagementInvitationPayloadType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue