AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
GetEngagementInvitationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
12#include <aws/partnercentral-selling/model/EngagementInvitationPayloadType.h>
13#include <aws/partnercentral-selling/model/EngagementMemberSummary.h>
14#include <aws/partnercentral-selling/model/EnrichmentContext.h>
15#include <aws/partnercentral-selling/model/InvitationStatus.h>
16#include <aws/partnercentral-selling/model/Payload.h>
17#include <aws/partnercentral-selling/model/Receiver.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace PartnerCentralSelling {
31namespace Model {
33 public:
34 AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult() = default;
36 AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult& operator=(
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
61 inline EngagementInvitationPayloadType GetPayloadType() const { return m_payloadType; }
63 m_payloadTypeHasBeenSet = true;
64 m_payloadType = value;
65 }
67 SetPayloadType(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetId() const { return m_id; }
77 template <typename IdT = Aws::String>
78 void SetId(IdT&& value) {
79 m_idHasBeenSet = true;
80 m_id = std::forward<IdT>(value);
81 }
82 template <typename IdT = Aws::String>
84 SetId(std::forward<IdT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
95 template <typename EngagementIdT = Aws::String>
96 void SetEngagementId(EngagementIdT&& value) {
97 m_engagementIdHasBeenSet = true;
98 m_engagementId = std::forward<EngagementIdT>(value);
99 }
100 template <typename EngagementIdT = Aws::String>
102 SetEngagementId(std::forward<EngagementIdT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetEngagementTitle() const { return m_engagementTitle; }
113 template <typename EngagementTitleT = Aws::String>
114 void SetEngagementTitle(EngagementTitleT&& value) {
115 m_engagementTitleHasBeenSet = true;
116 m_engagementTitle = std::forward<EngagementTitleT>(value);
117 }
118 template <typename EngagementTitleT = Aws::String>
120 SetEngagementTitle(std::forward<EngagementTitleT>(value));
121 return *this;
122 }
124
126
129 inline InvitationStatus GetStatus() const { return m_status; }
130 inline void SetStatus(InvitationStatus value) {
131 m_statusHasBeenSet = true;
132 m_status = value;
133 }
135 SetStatus(value);
136 return *this;
137 }
139
141
144 inline const Aws::Utils::DateTime& GetInvitationDate() const { return m_invitationDate; }
145 template <typename InvitationDateT = Aws::Utils::DateTime>
146 void SetInvitationDate(InvitationDateT&& value) {
147 m_invitationDateHasBeenSet = true;
148 m_invitationDate = std::forward<InvitationDateT>(value);
149 }
150 template <typename InvitationDateT = Aws::Utils::DateTime>
152 SetInvitationDate(std::forward<InvitationDateT>(value));
153 return *this;
154 }
156
158
162 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
163 template <typename ExpirationDateT = Aws::Utils::DateTime>
164 void SetExpirationDate(ExpirationDateT&& value) {
165 m_expirationDateHasBeenSet = true;
166 m_expirationDate = std::forward<ExpirationDateT>(value);
167 }
168 template <typename ExpirationDateT = Aws::Utils::DateTime>
170 SetExpirationDate(std::forward<ExpirationDateT>(value));
171 return *this;
172 }
174
176
180 inline const Aws::String& GetSenderAwsAccountId() const { return m_senderAwsAccountId; }
181 template <typename SenderAwsAccountIdT = Aws::String>
182 void SetSenderAwsAccountId(SenderAwsAccountIdT&& value) {
183 m_senderAwsAccountIdHasBeenSet = true;
184 m_senderAwsAccountId = std::forward<SenderAwsAccountIdT>(value);
185 }
186 template <typename SenderAwsAccountIdT = Aws::String>
188 SetSenderAwsAccountId(std::forward<SenderAwsAccountIdT>(value));
189 return *this;
190 }
192
194
198 inline const Aws::String& GetSenderCompanyName() const { return m_senderCompanyName; }
199 template <typename SenderCompanyNameT = Aws::String>
200 void SetSenderCompanyName(SenderCompanyNameT&& value) {
201 m_senderCompanyNameHasBeenSet = true;
202 m_senderCompanyName = std::forward<SenderCompanyNameT>(value);
203 }
204 template <typename SenderCompanyNameT = Aws::String>
206 SetSenderCompanyName(std::forward<SenderCompanyNameT>(value));
207 return *this;
208 }
210
212
216 inline const Receiver& GetReceiver() const { return m_receiver; }
217 template <typename ReceiverT = Receiver>
218 void SetReceiver(ReceiverT&& value) {
219 m_receiverHasBeenSet = true;
220 m_receiver = std::forward<ReceiverT>(value);
221 }
222 template <typename ReceiverT = Receiver>
224 SetReceiver(std::forward<ReceiverT>(value));
225 return *this;
226 }
228
230
235 inline const Aws::String& GetCatalog() const { return m_catalog; }
236 template <typename CatalogT = Aws::String>
237 void SetCatalog(CatalogT&& value) {
238 m_catalogHasBeenSet = true;
239 m_catalog = std::forward<CatalogT>(value);
240 }
241 template <typename CatalogT = Aws::String>
243 SetCatalog(std::forward<CatalogT>(value));
244 return *this;
245 }
247
249
253 inline const Aws::String& GetRejectionReason() const { return m_rejectionReason; }
254 template <typename RejectionReasonT = Aws::String>
255 void SetRejectionReason(RejectionReasonT&& value) {
256 m_rejectionReasonHasBeenSet = true;
257 m_rejectionReason = std::forward<RejectionReasonT>(value);
258 }
259 template <typename RejectionReasonT = Aws::String>
261 SetRejectionReason(std::forward<RejectionReasonT>(value));
262 return *this;
263 }
265
267
272 inline const Payload& GetPayload() const { return m_payload; }
273 template <typename PayloadT = Payload>
274 void SetPayload(PayloadT&& value) {
275 m_payloadHasBeenSet = true;
276 m_payload = std::forward<PayloadT>(value);
277 }
278 template <typename PayloadT = Payload>
280 SetPayload(std::forward<PayloadT>(value));
281 return *this;
282 }
284
286
289 inline const Aws::String& GetInvitationMessage() const { return m_invitationMessage; }
290 template <typename InvitationMessageT = Aws::String>
291 void SetInvitationMessage(InvitationMessageT&& value) {
292 m_invitationMessageHasBeenSet = true;
293 m_invitationMessage = std::forward<InvitationMessageT>(value);
294 }
295 template <typename InvitationMessageT = Aws::String>
297 SetInvitationMessage(std::forward<InvitationMessageT>(value));
298 return *this;
299 }
301
303
306 inline const Aws::String& GetEngagementDescription() const { return m_engagementDescription; }
307 template <typename EngagementDescriptionT = Aws::String>
308 void SetEngagementDescription(EngagementDescriptionT&& value) {
309 m_engagementDescriptionHasBeenSet = true;
310 m_engagementDescription = std::forward<EngagementDescriptionT>(value);
311 }
312 template <typename EngagementDescriptionT = Aws::String>
314 SetEngagementDescription(std::forward<EngagementDescriptionT>(value));
315 return *this;
316 }
318
320
327 inline const Aws::Vector<EngagementMemberSummary>& GetExistingMembers() const { return m_existingMembers; }
328 template <typename ExistingMembersT = Aws::Vector<EngagementMemberSummary>>
329 void SetExistingMembers(ExistingMembersT&& value) {
330 m_existingMembersHasBeenSet = true;
331 m_existingMembers = std::forward<ExistingMembersT>(value);
332 }
333 template <typename ExistingMembersT = Aws::Vector<EngagementMemberSummary>>
335 SetExistingMembers(std::forward<ExistingMembersT>(value));
336 return *this;
337 }
338 template <typename ExistingMembersT = EngagementMemberSummary>
340 m_existingMembersHasBeenSet = true;
341 m_existingMembers.emplace_back(std::forward<ExistingMembersT>(value));
342 return *this;
343 }
345
347
352 inline const EnrichmentContext& GetEnrichmentContext() const { return m_enrichmentContext; }
353 template <typename EnrichmentContextT = EnrichmentContext>
354 void SetEnrichmentContext(EnrichmentContextT&& value) {
355 m_enrichmentContextHasBeenSet = true;
356 m_enrichmentContext = std::forward<EnrichmentContextT>(value);
357 }
358 template <typename EnrichmentContextT = EnrichmentContext>
360 SetEnrichmentContext(std::forward<EnrichmentContextT>(value));
361 return *this;
362 }
364
366
367 inline const Aws::String& GetRequestId() const { return m_requestId; }
368 template <typename RequestIdT = Aws::String>
369 void SetRequestId(RequestIdT&& value) {
370 m_requestIdHasBeenSet = true;
371 m_requestId = std::forward<RequestIdT>(value);
372 }
373 template <typename RequestIdT = Aws::String>
375 SetRequestId(std::forward<RequestIdT>(value));
376 return *this;
377 }
379 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
380
381 private:
382 Aws::String m_arn;
383
385
386 Aws::String m_id;
387
388 Aws::String m_engagementId;
389
390 Aws::String m_engagementTitle;
391
393
394 Aws::Utils::DateTime m_invitationDate{};
395
396 Aws::Utils::DateTime m_expirationDate{};
397
398 Aws::String m_senderAwsAccountId;
399
400 Aws::String m_senderCompanyName;
401
402 Receiver m_receiver;
403
404 Aws::String m_catalog;
405
406 Aws::String m_rejectionReason;
407
408 Payload m_payload;
409
410 Aws::String m_invitationMessage;
411
412 Aws::String m_engagementDescription;
413
414 Aws::Vector<EngagementMemberSummary> m_existingMembers;
415
416 EnrichmentContext m_enrichmentContext;
417
418 Aws::String m_requestId;
419 Aws::Http::HttpResponseCode m_HttpResponseCode;
420 bool m_arnHasBeenSet = false;
421 bool m_payloadTypeHasBeenSet = false;
422 bool m_idHasBeenSet = false;
423 bool m_engagementIdHasBeenSet = false;
424 bool m_engagementTitleHasBeenSet = false;
425 bool m_statusHasBeenSet = false;
426 bool m_invitationDateHasBeenSet = false;
427 bool m_expirationDateHasBeenSet = false;
428 bool m_senderAwsAccountIdHasBeenSet = false;
429 bool m_senderCompanyNameHasBeenSet = false;
430 bool m_receiverHasBeenSet = false;
431 bool m_catalogHasBeenSet = false;
432 bool m_rejectionReasonHasBeenSet = false;
433 bool m_payloadHasBeenSet = false;
434 bool m_invitationMessageHasBeenSet = false;
435 bool m_engagementDescriptionHasBeenSet = false;
436 bool m_existingMembersHasBeenSet = false;
437 bool m_enrichmentContextHasBeenSet = false;
438 bool m_requestIdHasBeenSet = false;
439};
440
441} // namespace Model
442} // namespace PartnerCentralSelling
443} // namespace Aws
AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult()=default
GetEngagementInvitationResult & WithExistingMembers(ExistingMembersT &&value)
GetEngagementInvitationResult & WithInvitationDate(InvitationDateT &&value)
GetEngagementInvitationResult & WithEnrichmentContext(EnrichmentContextT &&value)
const Aws::Vector< EngagementMemberSummary > & GetExistingMembers() const
GetEngagementInvitationResult & WithSenderAwsAccountId(SenderAwsAccountIdT &&value)
GetEngagementInvitationResult & WithEngagementId(EngagementIdT &&value)
GetEngagementInvitationResult & AddExistingMembers(ExistingMembersT &&value)
GetEngagementInvitationResult & WithPayloadType(EngagementInvitationPayloadType value)
AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEngagementInvitationResult & WithEngagementDescription(EngagementDescriptionT &&value)
GetEngagementInvitationResult & WithExpirationDate(ExpirationDateT &&value)
GetEngagementInvitationResult & WithInvitationMessage(InvitationMessageT &&value)
AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEngagementInvitationResult & WithStatus(InvitationStatus value)
GetEngagementInvitationResult & WithRejectionReason(RejectionReasonT &&value)
GetEngagementInvitationResult & WithRequestId(RequestIdT &&value)
GetEngagementInvitationResult & WithEngagementTitle(EngagementTitleT &&value)
GetEngagementInvitationResult & WithSenderCompanyName(SenderCompanyNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue