AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
EngagementInvitationSummary.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/ParticipantType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralSelling
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary() = default;
42 AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PARTNERCENTRALSELLING_API EngagementInvitationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Aws::String& GetArn() const { return m_arn; }
54 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 template<typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
57 template<typename ArnT = Aws::String>
58 EngagementInvitationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
60
62
67 inline EngagementInvitationPayloadType GetPayloadType() const { return m_payloadType; }
68 inline bool PayloadTypeHasBeenSet() const { return m_payloadTypeHasBeenSet; }
69 inline void SetPayloadType(EngagementInvitationPayloadType value) { m_payloadTypeHasBeenSet = true; m_payloadType = value; }
72
74
79 inline const Aws::String& GetId() const { return m_id; }
80 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
81 template<typename IdT = Aws::String>
82 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
83 template<typename IdT = Aws::String>
84 EngagementInvitationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
86
88
92 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
93 inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; }
94 template<typename EngagementIdT = Aws::String>
95 void SetEngagementId(EngagementIdT&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::forward<EngagementIdT>(value); }
96 template<typename EngagementIdT = Aws::String>
97 EngagementInvitationSummary& WithEngagementId(EngagementIdT&& value) { SetEngagementId(std::forward<EngagementIdT>(value)); return *this;}
99
101
106 inline const Aws::String& GetEngagementTitle() const { return m_engagementTitle; }
107 inline bool EngagementTitleHasBeenSet() const { return m_engagementTitleHasBeenSet; }
108 template<typename EngagementTitleT = Aws::String>
109 void SetEngagementTitle(EngagementTitleT&& value) { m_engagementTitleHasBeenSet = true; m_engagementTitle = std::forward<EngagementTitleT>(value); }
110 template<typename EngagementTitleT = Aws::String>
111 EngagementInvitationSummary& WithEngagementTitle(EngagementTitleT&& value) { SetEngagementTitle(std::forward<EngagementTitleT>(value)); return *this;}
113
115
120 inline InvitationStatus GetStatus() const { return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(InvitationStatus value) { m_statusHasBeenSet = true; m_status = value; }
123 inline EngagementInvitationSummary& WithStatus(InvitationStatus value) { SetStatus(value); return *this;}
125
127
132 inline const Aws::Utils::DateTime& GetInvitationDate() const { return m_invitationDate; }
133 inline bool InvitationDateHasBeenSet() const { return m_invitationDateHasBeenSet; }
134 template<typename InvitationDateT = Aws::Utils::DateTime>
135 void SetInvitationDate(InvitationDateT&& value) { m_invitationDateHasBeenSet = true; m_invitationDate = std::forward<InvitationDateT>(value); }
136 template<typename InvitationDateT = Aws::Utils::DateTime>
137 EngagementInvitationSummary& WithInvitationDate(InvitationDateT&& value) { SetInvitationDate(std::forward<InvitationDateT>(value)); return *this;}
139
141
146 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
147 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
148 template<typename ExpirationDateT = Aws::Utils::DateTime>
149 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
150 template<typename ExpirationDateT = Aws::Utils::DateTime>
151 EngagementInvitationSummary& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
153
155
160 inline const Aws::String& GetSenderAwsAccountId() const { return m_senderAwsAccountId; }
161 inline bool SenderAwsAccountIdHasBeenSet() const { return m_senderAwsAccountIdHasBeenSet; }
162 template<typename SenderAwsAccountIdT = Aws::String>
163 void SetSenderAwsAccountId(SenderAwsAccountIdT&& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId = std::forward<SenderAwsAccountIdT>(value); }
164 template<typename SenderAwsAccountIdT = Aws::String>
165 EngagementInvitationSummary& WithSenderAwsAccountId(SenderAwsAccountIdT&& value) { SetSenderAwsAccountId(std::forward<SenderAwsAccountIdT>(value)); return *this;}
167
169
174 inline const Aws::String& GetSenderCompanyName() const { return m_senderCompanyName; }
175 inline bool SenderCompanyNameHasBeenSet() const { return m_senderCompanyNameHasBeenSet; }
176 template<typename SenderCompanyNameT = Aws::String>
177 void SetSenderCompanyName(SenderCompanyNameT&& value) { m_senderCompanyNameHasBeenSet = true; m_senderCompanyName = std::forward<SenderCompanyNameT>(value); }
178 template<typename SenderCompanyNameT = Aws::String>
179 EngagementInvitationSummary& WithSenderCompanyName(SenderCompanyNameT&& value) { SetSenderCompanyName(std::forward<SenderCompanyNameT>(value)); return *this;}
181
183
188 inline const Receiver& GetReceiver() const { return m_receiver; }
189 inline bool ReceiverHasBeenSet() const { return m_receiverHasBeenSet; }
190 template<typename ReceiverT = Receiver>
191 void SetReceiver(ReceiverT&& value) { m_receiverHasBeenSet = true; m_receiver = std::forward<ReceiverT>(value); }
192 template<typename ReceiverT = Receiver>
193 EngagementInvitationSummary& WithReceiver(ReceiverT&& value) { SetReceiver(std::forward<ReceiverT>(value)); return *this;}
195
197
202 inline const Aws::String& GetCatalog() const { return m_catalog; }
203 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
204 template<typename CatalogT = Aws::String>
205 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
206 template<typename CatalogT = Aws::String>
207 EngagementInvitationSummary& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
209
211
214 inline ParticipantType GetParticipantType() const { return m_participantType; }
215 inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; }
216 inline void SetParticipantType(ParticipantType value) { m_participantTypeHasBeenSet = true; m_participantType = value; }
219 private:
220
221 Aws::String m_arn;
222 bool m_arnHasBeenSet = false;
223
225 bool m_payloadTypeHasBeenSet = false;
226
227 Aws::String m_id;
228 bool m_idHasBeenSet = false;
229
230 Aws::String m_engagementId;
231 bool m_engagementIdHasBeenSet = false;
232
233 Aws::String m_engagementTitle;
234 bool m_engagementTitleHasBeenSet = false;
235
237 bool m_statusHasBeenSet = false;
238
239 Aws::Utils::DateTime m_invitationDate{};
240 bool m_invitationDateHasBeenSet = false;
241
242 Aws::Utils::DateTime m_expirationDate{};
243 bool m_expirationDateHasBeenSet = false;
244
245 Aws::String m_senderAwsAccountId;
246 bool m_senderAwsAccountIdHasBeenSet = false;
247
248 Aws::String m_senderCompanyName;
249 bool m_senderCompanyNameHasBeenSet = false;
250
251 Receiver m_receiver;
252 bool m_receiverHasBeenSet = false;
253
254 Aws::String m_catalog;
255 bool m_catalogHasBeenSet = false;
256
257 ParticipantType m_participantType{ParticipantType::NOT_SET};
258 bool m_participantTypeHasBeenSet = false;
259 };
260
261} // namespace Model
262} // namespace PartnerCentralSelling
263} // 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