AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetEngagementInvitationResult.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/EngagementInvitationPayloadType.h>
10#include <aws/partnercentral-selling/model/InvitationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/partnercentral-selling/model/Receiver.h>
13#include <aws/partnercentral-selling/model/Payload.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/partnercentral-selling/model/EngagementMemberSummary.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace PartnerCentralSelling
31{
32namespace Model
33{
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API GetEngagementInvitationResult() = default;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 GetEngagementInvitationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
58 inline EngagementInvitationPayloadType GetPayloadType() const { return m_payloadType; }
59 inline void SetPayloadType(EngagementInvitationPayloadType value) { m_payloadTypeHasBeenSet = true; m_payloadType = value; }
62
64
67 inline const Aws::String& GetId() const { return m_id; }
68 template<typename IdT = Aws::String>
69 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
70 template<typename IdT = Aws::String>
71 GetEngagementInvitationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
73
75
79 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
80 template<typename EngagementIdT = Aws::String>
81 void SetEngagementId(EngagementIdT&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::forward<EngagementIdT>(value); }
82 template<typename EngagementIdT = Aws::String>
83 GetEngagementInvitationResult& WithEngagementId(EngagementIdT&& value) { SetEngagementId(std::forward<EngagementIdT>(value)); return *this;}
85
87
91 inline const Aws::String& GetEngagementTitle() const { return m_engagementTitle; }
92 template<typename EngagementTitleT = Aws::String>
93 void SetEngagementTitle(EngagementTitleT&& value) { m_engagementTitleHasBeenSet = true; m_engagementTitle = std::forward<EngagementTitleT>(value); }
94 template<typename EngagementTitleT = Aws::String>
95 GetEngagementInvitationResult& WithEngagementTitle(EngagementTitleT&& value) { SetEngagementTitle(std::forward<EngagementTitleT>(value)); return *this;}
97
99
102 inline InvitationStatus GetStatus() const { return m_status; }
103 inline void SetStatus(InvitationStatus value) { m_statusHasBeenSet = true; m_status = value; }
106
108
111 inline const Aws::Utils::DateTime& GetInvitationDate() const { return m_invitationDate; }
112 template<typename InvitationDateT = Aws::Utils::DateTime>
113 void SetInvitationDate(InvitationDateT&& value) { m_invitationDateHasBeenSet = true; m_invitationDate = std::forward<InvitationDateT>(value); }
114 template<typename InvitationDateT = Aws::Utils::DateTime>
115 GetEngagementInvitationResult& WithInvitationDate(InvitationDateT&& value) { SetInvitationDate(std::forward<InvitationDateT>(value)); return *this;}
117
119
123 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
124 template<typename ExpirationDateT = Aws::Utils::DateTime>
125 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
126 template<typename ExpirationDateT = Aws::Utils::DateTime>
127 GetEngagementInvitationResult& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
129
131
135 inline const Aws::String& GetSenderAwsAccountId() const { return m_senderAwsAccountId; }
136 template<typename SenderAwsAccountIdT = Aws::String>
137 void SetSenderAwsAccountId(SenderAwsAccountIdT&& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId = std::forward<SenderAwsAccountIdT>(value); }
138 template<typename SenderAwsAccountIdT = Aws::String>
139 GetEngagementInvitationResult& WithSenderAwsAccountId(SenderAwsAccountIdT&& value) { SetSenderAwsAccountId(std::forward<SenderAwsAccountIdT>(value)); return *this;}
141
143
147 inline const Aws::String& GetSenderCompanyName() const { return m_senderCompanyName; }
148 template<typename SenderCompanyNameT = Aws::String>
149 void SetSenderCompanyName(SenderCompanyNameT&& value) { m_senderCompanyNameHasBeenSet = true; m_senderCompanyName = std::forward<SenderCompanyNameT>(value); }
150 template<typename SenderCompanyNameT = Aws::String>
151 GetEngagementInvitationResult& WithSenderCompanyName(SenderCompanyNameT&& value) { SetSenderCompanyName(std::forward<SenderCompanyNameT>(value)); return *this;}
153
155
159 inline const Receiver& GetReceiver() const { return m_receiver; }
160 template<typename ReceiverT = Receiver>
161 void SetReceiver(ReceiverT&& value) { m_receiverHasBeenSet = true; m_receiver = std::forward<ReceiverT>(value); }
162 template<typename ReceiverT = Receiver>
163 GetEngagementInvitationResult& WithReceiver(ReceiverT&& value) { SetReceiver(std::forward<ReceiverT>(value)); return *this;}
165
167
172 inline const Aws::String& GetCatalog() const { return m_catalog; }
173 template<typename CatalogT = Aws::String>
174 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
175 template<typename CatalogT = Aws::String>
176 GetEngagementInvitationResult& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
178
180
184 inline const Aws::String& GetRejectionReason() const { return m_rejectionReason; }
185 template<typename RejectionReasonT = Aws::String>
186 void SetRejectionReason(RejectionReasonT&& value) { m_rejectionReasonHasBeenSet = true; m_rejectionReason = std::forward<RejectionReasonT>(value); }
187 template<typename RejectionReasonT = Aws::String>
188 GetEngagementInvitationResult& WithRejectionReason(RejectionReasonT&& value) { SetRejectionReason(std::forward<RejectionReasonT>(value)); return *this;}
190
192
197 inline const Payload& GetPayload() const { return m_payload; }
198 template<typename PayloadT = Payload>
199 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
200 template<typename PayloadT = Payload>
201 GetEngagementInvitationResult& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
203
205
208 inline const Aws::String& GetInvitationMessage() const { return m_invitationMessage; }
209 template<typename InvitationMessageT = Aws::String>
210 void SetInvitationMessage(InvitationMessageT&& value) { m_invitationMessageHasBeenSet = true; m_invitationMessage = std::forward<InvitationMessageT>(value); }
211 template<typename InvitationMessageT = Aws::String>
212 GetEngagementInvitationResult& WithInvitationMessage(InvitationMessageT&& value) { SetInvitationMessage(std::forward<InvitationMessageT>(value)); return *this;}
214
216
219 inline const Aws::String& GetEngagementDescription() const { return m_engagementDescription; }
220 template<typename EngagementDescriptionT = Aws::String>
221 void SetEngagementDescription(EngagementDescriptionT&& value) { m_engagementDescriptionHasBeenSet = true; m_engagementDescription = std::forward<EngagementDescriptionT>(value); }
222 template<typename EngagementDescriptionT = Aws::String>
223 GetEngagementInvitationResult& WithEngagementDescription(EngagementDescriptionT&& value) { SetEngagementDescription(std::forward<EngagementDescriptionT>(value)); return *this;}
225
227
234 inline const Aws::Vector<EngagementMemberSummary>& GetExistingMembers() const { return m_existingMembers; }
235 template<typename ExistingMembersT = Aws::Vector<EngagementMemberSummary>>
236 void SetExistingMembers(ExistingMembersT&& value) { m_existingMembersHasBeenSet = true; m_existingMembers = std::forward<ExistingMembersT>(value); }
237 template<typename ExistingMembersT = Aws::Vector<EngagementMemberSummary>>
238 GetEngagementInvitationResult& WithExistingMembers(ExistingMembersT&& value) { SetExistingMembers(std::forward<ExistingMembersT>(value)); return *this;}
239 template<typename ExistingMembersT = EngagementMemberSummary>
240 GetEngagementInvitationResult& AddExistingMembers(ExistingMembersT&& value) { m_existingMembersHasBeenSet = true; m_existingMembers.emplace_back(std::forward<ExistingMembersT>(value)); return *this; }
242
244
245 inline const Aws::String& GetRequestId() const { return m_requestId; }
246 template<typename RequestIdT = Aws::String>
247 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
248 template<typename RequestIdT = Aws::String>
249 GetEngagementInvitationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
251 private:
252
253 Aws::String m_arn;
254 bool m_arnHasBeenSet = false;
255
257 bool m_payloadTypeHasBeenSet = false;
258
259 Aws::String m_id;
260 bool m_idHasBeenSet = false;
261
262 Aws::String m_engagementId;
263 bool m_engagementIdHasBeenSet = false;
264
265 Aws::String m_engagementTitle;
266 bool m_engagementTitleHasBeenSet = false;
267
269 bool m_statusHasBeenSet = false;
270
271 Aws::Utils::DateTime m_invitationDate{};
272 bool m_invitationDateHasBeenSet = false;
273
274 Aws::Utils::DateTime m_expirationDate{};
275 bool m_expirationDateHasBeenSet = false;
276
277 Aws::String m_senderAwsAccountId;
278 bool m_senderAwsAccountIdHasBeenSet = false;
279
280 Aws::String m_senderCompanyName;
281 bool m_senderCompanyNameHasBeenSet = false;
282
283 Receiver m_receiver;
284 bool m_receiverHasBeenSet = false;
285
286 Aws::String m_catalog;
287 bool m_catalogHasBeenSet = false;
288
289 Aws::String m_rejectionReason;
290 bool m_rejectionReasonHasBeenSet = false;
291
292 Payload m_payload;
293 bool m_payloadHasBeenSet = false;
294
295 Aws::String m_invitationMessage;
296 bool m_invitationMessageHasBeenSet = false;
297
298 Aws::String m_engagementDescription;
299 bool m_engagementDescriptionHasBeenSet = false;
300
301 Aws::Vector<EngagementMemberSummary> m_existingMembers;
302 bool m_existingMembersHasBeenSet = false;
303
304 Aws::String m_requestId;
305 bool m_requestIdHasBeenSet = false;
306 };
307
308} // namespace Model
309} // namespace PartnerCentralSelling
310} // 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