AWS SDK for C++

AWS SDK for C++ Version 1.11.767

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/InvitationStatus.h>
15#include <aws/partnercentral-selling/model/Payload.h>
16#include <aws/partnercentral-selling/model/Receiver.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace PartnerCentralSelling {
30namespace Model {
32 public:
33 AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult() = default;
35 AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult& operator=(
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
60 inline EngagementInvitationPayloadType GetPayloadType() const { return m_payloadType; }
62 m_payloadTypeHasBeenSet = true;
63 m_payloadType = value;
64 }
66 SetPayloadType(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetId() const { return m_id; }
76 template <typename IdT = Aws::String>
77 void SetId(IdT&& value) {
78 m_idHasBeenSet = true;
79 m_id = std::forward<IdT>(value);
80 }
81 template <typename IdT = Aws::String>
83 SetId(std::forward<IdT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
94 template <typename EngagementIdT = Aws::String>
95 void SetEngagementId(EngagementIdT&& value) {
96 m_engagementIdHasBeenSet = true;
97 m_engagementId = std::forward<EngagementIdT>(value);
98 }
99 template <typename EngagementIdT = Aws::String>
101 SetEngagementId(std::forward<EngagementIdT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetEngagementTitle() const { return m_engagementTitle; }
112 template <typename EngagementTitleT = Aws::String>
113 void SetEngagementTitle(EngagementTitleT&& value) {
114 m_engagementTitleHasBeenSet = true;
115 m_engagementTitle = std::forward<EngagementTitleT>(value);
116 }
117 template <typename EngagementTitleT = Aws::String>
119 SetEngagementTitle(std::forward<EngagementTitleT>(value));
120 return *this;
121 }
123
125
128 inline InvitationStatus GetStatus() const { return m_status; }
129 inline void SetStatus(InvitationStatus value) {
130 m_statusHasBeenSet = true;
131 m_status = value;
132 }
134 SetStatus(value);
135 return *this;
136 }
138
140
143 inline const Aws::Utils::DateTime& GetInvitationDate() const { return m_invitationDate; }
144 template <typename InvitationDateT = Aws::Utils::DateTime>
145 void SetInvitationDate(InvitationDateT&& value) {
146 m_invitationDateHasBeenSet = true;
147 m_invitationDate = std::forward<InvitationDateT>(value);
148 }
149 template <typename InvitationDateT = Aws::Utils::DateTime>
151 SetInvitationDate(std::forward<InvitationDateT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
162 template <typename ExpirationDateT = Aws::Utils::DateTime>
163 void SetExpirationDate(ExpirationDateT&& value) {
164 m_expirationDateHasBeenSet = true;
165 m_expirationDate = std::forward<ExpirationDateT>(value);
166 }
167 template <typename ExpirationDateT = Aws::Utils::DateTime>
169 SetExpirationDate(std::forward<ExpirationDateT>(value));
170 return *this;
171 }
173
175
179 inline const Aws::String& GetSenderAwsAccountId() const { return m_senderAwsAccountId; }
180 template <typename SenderAwsAccountIdT = Aws::String>
181 void SetSenderAwsAccountId(SenderAwsAccountIdT&& value) {
182 m_senderAwsAccountIdHasBeenSet = true;
183 m_senderAwsAccountId = std::forward<SenderAwsAccountIdT>(value);
184 }
185 template <typename SenderAwsAccountIdT = Aws::String>
187 SetSenderAwsAccountId(std::forward<SenderAwsAccountIdT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::String& GetSenderCompanyName() const { return m_senderCompanyName; }
198 template <typename SenderCompanyNameT = Aws::String>
199 void SetSenderCompanyName(SenderCompanyNameT&& value) {
200 m_senderCompanyNameHasBeenSet = true;
201 m_senderCompanyName = std::forward<SenderCompanyNameT>(value);
202 }
203 template <typename SenderCompanyNameT = Aws::String>
205 SetSenderCompanyName(std::forward<SenderCompanyNameT>(value));
206 return *this;
207 }
209
211
215 inline const Receiver& GetReceiver() const { return m_receiver; }
216 template <typename ReceiverT = Receiver>
217 void SetReceiver(ReceiverT&& value) {
218 m_receiverHasBeenSet = true;
219 m_receiver = std::forward<ReceiverT>(value);
220 }
221 template <typename ReceiverT = Receiver>
223 SetReceiver(std::forward<ReceiverT>(value));
224 return *this;
225 }
227
229
234 inline const Aws::String& GetCatalog() const { return m_catalog; }
235 template <typename CatalogT = Aws::String>
236 void SetCatalog(CatalogT&& value) {
237 m_catalogHasBeenSet = true;
238 m_catalog = std::forward<CatalogT>(value);
239 }
240 template <typename CatalogT = Aws::String>
242 SetCatalog(std::forward<CatalogT>(value));
243 return *this;
244 }
246
248
252 inline const Aws::String& GetRejectionReason() const { return m_rejectionReason; }
253 template <typename RejectionReasonT = Aws::String>
254 void SetRejectionReason(RejectionReasonT&& value) {
255 m_rejectionReasonHasBeenSet = true;
256 m_rejectionReason = std::forward<RejectionReasonT>(value);
257 }
258 template <typename RejectionReasonT = Aws::String>
260 SetRejectionReason(std::forward<RejectionReasonT>(value));
261 return *this;
262 }
264
266
271 inline const Payload& GetPayload() const { return m_payload; }
272 template <typename PayloadT = Payload>
273 void SetPayload(PayloadT&& value) {
274 m_payloadHasBeenSet = true;
275 m_payload = std::forward<PayloadT>(value);
276 }
277 template <typename PayloadT = Payload>
279 SetPayload(std::forward<PayloadT>(value));
280 return *this;
281 }
283
285
288 inline const Aws::String& GetInvitationMessage() const { return m_invitationMessage; }
289 template <typename InvitationMessageT = Aws::String>
290 void SetInvitationMessage(InvitationMessageT&& value) {
291 m_invitationMessageHasBeenSet = true;
292 m_invitationMessage = std::forward<InvitationMessageT>(value);
293 }
294 template <typename InvitationMessageT = Aws::String>
296 SetInvitationMessage(std::forward<InvitationMessageT>(value));
297 return *this;
298 }
300
302
305 inline const Aws::String& GetEngagementDescription() const { return m_engagementDescription; }
306 template <typename EngagementDescriptionT = Aws::String>
307 void SetEngagementDescription(EngagementDescriptionT&& value) {
308 m_engagementDescriptionHasBeenSet = true;
309 m_engagementDescription = std::forward<EngagementDescriptionT>(value);
310 }
311 template <typename EngagementDescriptionT = Aws::String>
313 SetEngagementDescription(std::forward<EngagementDescriptionT>(value));
314 return *this;
315 }
317
319
326 inline const Aws::Vector<EngagementMemberSummary>& GetExistingMembers() const { return m_existingMembers; }
327 template <typename ExistingMembersT = Aws::Vector<EngagementMemberSummary>>
328 void SetExistingMembers(ExistingMembersT&& value) {
329 m_existingMembersHasBeenSet = true;
330 m_existingMembers = std::forward<ExistingMembersT>(value);
331 }
332 template <typename ExistingMembersT = Aws::Vector<EngagementMemberSummary>>
334 SetExistingMembers(std::forward<ExistingMembersT>(value));
335 return *this;
336 }
337 template <typename ExistingMembersT = EngagementMemberSummary>
339 m_existingMembersHasBeenSet = true;
340 m_existingMembers.emplace_back(std::forward<ExistingMembersT>(value));
341 return *this;
342 }
344
346
347 inline const Aws::String& GetRequestId() const { return m_requestId; }
348 template <typename RequestIdT = Aws::String>
349 void SetRequestId(RequestIdT&& value) {
350 m_requestIdHasBeenSet = true;
351 m_requestId = std::forward<RequestIdT>(value);
352 }
353 template <typename RequestIdT = Aws::String>
355 SetRequestId(std::forward<RequestIdT>(value));
356 return *this;
357 }
359 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
360
361 private:
362 Aws::String m_arn;
363
365
366 Aws::String m_id;
367
368 Aws::String m_engagementId;
369
370 Aws::String m_engagementTitle;
371
373
374 Aws::Utils::DateTime m_invitationDate{};
375
376 Aws::Utils::DateTime m_expirationDate{};
377
378 Aws::String m_senderAwsAccountId;
379
380 Aws::String m_senderCompanyName;
381
382 Receiver m_receiver;
383
384 Aws::String m_catalog;
385
386 Aws::String m_rejectionReason;
387
388 Payload m_payload;
389
390 Aws::String m_invitationMessage;
391
392 Aws::String m_engagementDescription;
393
394 Aws::Vector<EngagementMemberSummary> m_existingMembers;
395
396 Aws::String m_requestId;
397 Aws::Http::HttpResponseCode m_HttpResponseCode;
398 bool m_arnHasBeenSet = false;
399 bool m_payloadTypeHasBeenSet = false;
400 bool m_idHasBeenSet = false;
401 bool m_engagementIdHasBeenSet = false;
402 bool m_engagementTitleHasBeenSet = false;
403 bool m_statusHasBeenSet = false;
404 bool m_invitationDateHasBeenSet = false;
405 bool m_expirationDateHasBeenSet = false;
406 bool m_senderAwsAccountIdHasBeenSet = false;
407 bool m_senderCompanyNameHasBeenSet = false;
408 bool m_receiverHasBeenSet = false;
409 bool m_catalogHasBeenSet = false;
410 bool m_rejectionReasonHasBeenSet = false;
411 bool m_payloadHasBeenSet = false;
412 bool m_invitationMessageHasBeenSet = false;
413 bool m_engagementDescriptionHasBeenSet = false;
414 bool m_existingMembersHasBeenSet = false;
415 bool m_requestIdHasBeenSet = false;
416};
417
418} // namespace Model
419} // namespace PartnerCentralSelling
420} // namespace Aws
AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult()=default
GetEngagementInvitationResult & WithExistingMembers(ExistingMembersT &&value)
GetEngagementInvitationResult & WithInvitationDate(InvitationDateT &&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