AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
CancelConnectionInvitationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
10#include <aws/partnercentral-account/model/ConnectionType.h>
11#include <aws/partnercentral-account/model/InvitationStatus.h>
12#include <aws/partnercentral-account/model/ParticipantType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PartnerCentralAccount {
26namespace Model {
28 public:
29 AWS_PARTNERCENTRALACCOUNT_API CancelConnectionInvitationResult() = default;
31 AWS_PARTNERCENTRALACCOUNT_API CancelConnectionInvitationResult& operator=(
33
35
38 inline const Aws::String& GetCatalog() const { return m_catalog; }
39 template <typename CatalogT = Aws::String>
40 void SetCatalog(CatalogT&& value) {
41 m_catalogHasBeenSet = true;
42 m_catalog = std::forward<CatalogT>(value);
43 }
44 template <typename CatalogT = Aws::String>
46 SetCatalog(std::forward<CatalogT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetId() const { return m_id; }
56 template <typename IdT = Aws::String>
57 void SetId(IdT&& value) {
58 m_idHasBeenSet = true;
59 m_id = std::forward<IdT>(value);
60 }
61 template <typename IdT = Aws::String>
63 SetId(std::forward<IdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetArn() const { return m_arn; }
73 template <typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) {
75 m_arnHasBeenSet = true;
76 m_arn = std::forward<ArnT>(value);
77 }
78 template <typename ArnT = Aws::String>
80 SetArn(std::forward<ArnT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
90 template <typename ConnectionIdT = Aws::String>
91 void SetConnectionId(ConnectionIdT&& value) {
92 m_connectionIdHasBeenSet = true;
93 m_connectionId = std::forward<ConnectionIdT>(value);
94 }
95 template <typename ConnectionIdT = Aws::String>
97 SetConnectionId(std::forward<ConnectionIdT>(value));
98 return *this;
99 }
101
103
106 inline ConnectionType GetConnectionType() const { return m_connectionType; }
108 m_connectionTypeHasBeenSet = true;
109 m_connectionType = value;
110 }
112 SetConnectionType(value);
113 return *this;
114 }
116
118
121 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
122 template <typename CreatedAtT = Aws::Utils::DateTime>
123 void SetCreatedAt(CreatedAtT&& value) {
124 m_createdAtHasBeenSet = true;
125 m_createdAt = std::forward<CreatedAtT>(value);
126 }
127 template <typename CreatedAtT = Aws::Utils::DateTime>
129 SetCreatedAt(std::forward<CreatedAtT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
139 template <typename UpdatedAtT = Aws::Utils::DateTime>
140 void SetUpdatedAt(UpdatedAtT&& value) {
141 m_updatedAtHasBeenSet = true;
142 m_updatedAt = std::forward<UpdatedAtT>(value);
143 }
144 template <typename UpdatedAtT = Aws::Utils::DateTime>
146 SetUpdatedAt(std::forward<UpdatedAtT>(value));
147 return *this;
148 }
150
152
156 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
157 template <typename ExpiresAtT = Aws::Utils::DateTime>
158 void SetExpiresAt(ExpiresAtT&& value) {
159 m_expiresAtHasBeenSet = true;
160 m_expiresAt = std::forward<ExpiresAtT>(value);
161 }
162 template <typename ExpiresAtT = Aws::Utils::DateTime>
164 SetExpiresAt(std::forward<ExpiresAtT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetOtherParticipantIdentifier() const { return m_otherParticipantIdentifier; }
174 template <typename OtherParticipantIdentifierT = Aws::String>
175 void SetOtherParticipantIdentifier(OtherParticipantIdentifierT&& value) {
176 m_otherParticipantIdentifierHasBeenSet = true;
177 m_otherParticipantIdentifier = std::forward<OtherParticipantIdentifierT>(value);
178 }
179 template <typename OtherParticipantIdentifierT = Aws::String>
181 SetOtherParticipantIdentifier(std::forward<OtherParticipantIdentifierT>(value));
182 return *this;
183 }
185
187
191 inline ParticipantType GetParticipantType() const { return m_participantType; }
193 m_participantTypeHasBeenSet = true;
194 m_participantType = value;
195 }
197 SetParticipantType(value);
198 return *this;
199 }
201
203
206 inline InvitationStatus GetStatus() const { return m_status; }
207 inline void SetStatus(InvitationStatus value) {
208 m_statusHasBeenSet = true;
209 m_status = value;
210 }
212 SetStatus(value);
213 return *this;
214 }
216
218
221 inline const Aws::String& GetInvitationMessage() const { return m_invitationMessage; }
222 template <typename InvitationMessageT = Aws::String>
223 void SetInvitationMessage(InvitationMessageT&& value) {
224 m_invitationMessageHasBeenSet = true;
225 m_invitationMessage = std::forward<InvitationMessageT>(value);
226 }
227 template <typename InvitationMessageT = Aws::String>
229 SetInvitationMessage(std::forward<InvitationMessageT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetInviterEmail() const { return m_inviterEmail; }
239 template <typename InviterEmailT = Aws::String>
240 void SetInviterEmail(InviterEmailT&& value) {
241 m_inviterEmailHasBeenSet = true;
242 m_inviterEmail = std::forward<InviterEmailT>(value);
243 }
244 template <typename InviterEmailT = Aws::String>
246 SetInviterEmail(std::forward<InviterEmailT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::String& GetInviterName() const { return m_inviterName; }
256 template <typename InviterNameT = Aws::String>
257 void SetInviterName(InviterNameT&& value) {
258 m_inviterNameHasBeenSet = true;
259 m_inviterName = std::forward<InviterNameT>(value);
260 }
261 template <typename InviterNameT = Aws::String>
263 SetInviterName(std::forward<InviterNameT>(value));
264 return *this;
265 }
267
269
270 inline const Aws::String& GetRequestId() const { return m_requestId; }
271 template <typename RequestIdT = Aws::String>
272 void SetRequestId(RequestIdT&& value) {
273 m_requestIdHasBeenSet = true;
274 m_requestId = std::forward<RequestIdT>(value);
275 }
276 template <typename RequestIdT = Aws::String>
278 SetRequestId(std::forward<RequestIdT>(value));
279 return *this;
280 }
282 private:
283 Aws::String m_catalog;
284
285 Aws::String m_id;
286
287 Aws::String m_arn;
288
289 Aws::String m_connectionId;
290
291 ConnectionType m_connectionType{ConnectionType::NOT_SET};
292
293 Aws::Utils::DateTime m_createdAt{};
294
295 Aws::Utils::DateTime m_updatedAt{};
296
297 Aws::Utils::DateTime m_expiresAt{};
298
299 Aws::String m_otherParticipantIdentifier;
300
301 ParticipantType m_participantType{ParticipantType::NOT_SET};
302
304
305 Aws::String m_invitationMessage;
306
307 Aws::String m_inviterEmail;
308
309 Aws::String m_inviterName;
310
311 Aws::String m_requestId;
312 bool m_catalogHasBeenSet = false;
313 bool m_idHasBeenSet = false;
314 bool m_arnHasBeenSet = false;
315 bool m_connectionIdHasBeenSet = false;
316 bool m_connectionTypeHasBeenSet = false;
317 bool m_createdAtHasBeenSet = false;
318 bool m_updatedAtHasBeenSet = false;
319 bool m_expiresAtHasBeenSet = false;
320 bool m_otherParticipantIdentifierHasBeenSet = false;
321 bool m_participantTypeHasBeenSet = false;
322 bool m_statusHasBeenSet = false;
323 bool m_invitationMessageHasBeenSet = false;
324 bool m_inviterEmailHasBeenSet = false;
325 bool m_inviterNameHasBeenSet = false;
326 bool m_requestIdHasBeenSet = false;
327};
328
329} // namespace Model
330} // namespace PartnerCentralAccount
331} // namespace Aws
CancelConnectionInvitationResult & WithInvitationMessage(InvitationMessageT &&value)
CancelConnectionInvitationResult & WithStatus(InvitationStatus value)
AWS_PARTNERCENTRALACCOUNT_API CancelConnectionInvitationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALACCOUNT_API CancelConnectionInvitationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelConnectionInvitationResult & WithInviterEmail(InviterEmailT &&value)
CancelConnectionInvitationResult & WithParticipantType(ParticipantType value)
AWS_PARTNERCENTRALACCOUNT_API CancelConnectionInvitationResult()=default
CancelConnectionInvitationResult & WithOtherParticipantIdentifier(OtherParticipantIdentifierT &&value)
CancelConnectionInvitationResult & WithInviterName(InviterNameT &&value)
CancelConnectionInvitationResult & WithConnectionType(ConnectionType value)
CancelConnectionInvitationResult & WithConnectionId(ConnectionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue