AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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/core/utils/DateTime.h>
10#include <aws/partnercentral-selling/model/ParticipantType.h>
11#include <aws/partnercentral-selling/model/EngagementInvitationPayloadType.h>
12#include <aws/partnercentral-selling/model/Receiver.h>
13#include <aws/partnercentral-selling/model/InvitationStatus.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 const Aws::String& GetCatalog() const { return m_catalog; }
68 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
69 template<typename CatalogT = Aws::String>
70 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
71 template<typename CatalogT = Aws::String>
72 EngagementInvitationSummary& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
74
76
80 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
81 inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; }
82 template<typename EngagementIdT = Aws::String>
83 void SetEngagementId(EngagementIdT&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::forward<EngagementIdT>(value); }
84 template<typename EngagementIdT = Aws::String>
85 EngagementInvitationSummary& WithEngagementId(EngagementIdT&& value) { SetEngagementId(std::forward<EngagementIdT>(value)); return *this;}
87
89
94 inline const Aws::String& GetEngagementTitle() const { return m_engagementTitle; }
95 inline bool EngagementTitleHasBeenSet() const { return m_engagementTitleHasBeenSet; }
96 template<typename EngagementTitleT = Aws::String>
97 void SetEngagementTitle(EngagementTitleT&& value) { m_engagementTitleHasBeenSet = true; m_engagementTitle = std::forward<EngagementTitleT>(value); }
98 template<typename EngagementTitleT = Aws::String>
99 EngagementInvitationSummary& WithEngagementTitle(EngagementTitleT&& value) { SetEngagementTitle(std::forward<EngagementTitleT>(value)); return *this;}
101
103
108 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
109 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
110 template<typename ExpirationDateT = Aws::Utils::DateTime>
111 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
112 template<typename ExpirationDateT = Aws::Utils::DateTime>
113 EngagementInvitationSummary& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
115
117
122 inline const Aws::String& GetId() const { return m_id; }
123 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
124 template<typename IdT = Aws::String>
125 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
126 template<typename IdT = Aws::String>
127 EngagementInvitationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
129
131
136 inline const Aws::Utils::DateTime& GetInvitationDate() const { return m_invitationDate; }
137 inline bool InvitationDateHasBeenSet() const { return m_invitationDateHasBeenSet; }
138 template<typename InvitationDateT = Aws::Utils::DateTime>
139 void SetInvitationDate(InvitationDateT&& value) { m_invitationDateHasBeenSet = true; m_invitationDate = std::forward<InvitationDateT>(value); }
140 template<typename InvitationDateT = Aws::Utils::DateTime>
141 EngagementInvitationSummary& WithInvitationDate(InvitationDateT&& value) { SetInvitationDate(std::forward<InvitationDateT>(value)); return *this;}
143
145
148 inline ParticipantType GetParticipantType() const { return m_participantType; }
149 inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; }
150 inline void SetParticipantType(ParticipantType value) { m_participantTypeHasBeenSet = true; m_participantType = value; }
153
155
160 inline EngagementInvitationPayloadType GetPayloadType() const { return m_payloadType; }
161 inline bool PayloadTypeHasBeenSet() const { return m_payloadTypeHasBeenSet; }
162 inline void SetPayloadType(EngagementInvitationPayloadType value) { m_payloadTypeHasBeenSet = true; m_payloadType = value; }
165
167
172 inline const Receiver& GetReceiver() const { return m_receiver; }
173 inline bool ReceiverHasBeenSet() const { return m_receiverHasBeenSet; }
174 template<typename ReceiverT = Receiver>
175 void SetReceiver(ReceiverT&& value) { m_receiverHasBeenSet = true; m_receiver = std::forward<ReceiverT>(value); }
176 template<typename ReceiverT = Receiver>
177 EngagementInvitationSummary& WithReceiver(ReceiverT&& value) { SetReceiver(std::forward<ReceiverT>(value)); return *this;}
179
181
186 inline const Aws::String& GetSenderAwsAccountId() const { return m_senderAwsAccountId; }
187 inline bool SenderAwsAccountIdHasBeenSet() const { return m_senderAwsAccountIdHasBeenSet; }
188 template<typename SenderAwsAccountIdT = Aws::String>
189 void SetSenderAwsAccountId(SenderAwsAccountIdT&& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId = std::forward<SenderAwsAccountIdT>(value); }
190 template<typename SenderAwsAccountIdT = Aws::String>
191 EngagementInvitationSummary& WithSenderAwsAccountId(SenderAwsAccountIdT&& value) { SetSenderAwsAccountId(std::forward<SenderAwsAccountIdT>(value)); return *this;}
193
195
200 inline const Aws::String& GetSenderCompanyName() const { return m_senderCompanyName; }
201 inline bool SenderCompanyNameHasBeenSet() const { return m_senderCompanyNameHasBeenSet; }
202 template<typename SenderCompanyNameT = Aws::String>
203 void SetSenderCompanyName(SenderCompanyNameT&& value) { m_senderCompanyNameHasBeenSet = true; m_senderCompanyName = std::forward<SenderCompanyNameT>(value); }
204 template<typename SenderCompanyNameT = Aws::String>
205 EngagementInvitationSummary& WithSenderCompanyName(SenderCompanyNameT&& value) { SetSenderCompanyName(std::forward<SenderCompanyNameT>(value)); return *this;}
207
209
214 inline InvitationStatus GetStatus() const { return m_status; }
215 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
216 inline void SetStatus(InvitationStatus value) { m_statusHasBeenSet = true; m_status = value; }
217 inline EngagementInvitationSummary& WithStatus(InvitationStatus value) { SetStatus(value); return *this;}
219 private:
220
221 Aws::String m_arn;
222 bool m_arnHasBeenSet = false;
223
224 Aws::String m_catalog;
225 bool m_catalogHasBeenSet = false;
226
227 Aws::String m_engagementId;
228 bool m_engagementIdHasBeenSet = false;
229
230 Aws::String m_engagementTitle;
231 bool m_engagementTitleHasBeenSet = false;
232
233 Aws::Utils::DateTime m_expirationDate{};
234 bool m_expirationDateHasBeenSet = false;
235
236 Aws::String m_id;
237 bool m_idHasBeenSet = false;
238
239 Aws::Utils::DateTime m_invitationDate{};
240 bool m_invitationDateHasBeenSet = false;
241
242 ParticipantType m_participantType{ParticipantType::NOT_SET};
243 bool m_participantTypeHasBeenSet = false;
244
246 bool m_payloadTypeHasBeenSet = false;
247
248 Receiver m_receiver;
249 bool m_receiverHasBeenSet = false;
250
251 Aws::String m_senderAwsAccountId;
252 bool m_senderAwsAccountIdHasBeenSet = false;
253
254 Aws::String m_senderCompanyName;
255 bool m_senderCompanyNameHasBeenSet = false;
256
258 bool m_statusHasBeenSet = 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