AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateConnectionInvitationResult.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/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/ConnectionType.h>
12#include <aws/partnercentral-account/model/InvitationStatus.h>
13#include <aws/partnercentral-account/model/ParticipantType.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralAccount {
27namespace Model {
29 public:
30 AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationResult() = default;
32 AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationResult& operator=(
34
36
39 inline const Aws::String& GetCatalog() const { return m_catalog; }
40 template <typename CatalogT = Aws::String>
41 void SetCatalog(CatalogT&& value) {
42 m_catalogHasBeenSet = true;
43 m_catalog = std::forward<CatalogT>(value);
44 }
45 template <typename CatalogT = Aws::String>
47 SetCatalog(std::forward<CatalogT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetArn() const { return m_arn; }
74 template <typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) {
76 m_arnHasBeenSet = true;
77 m_arn = std::forward<ArnT>(value);
78 }
79 template <typename ArnT = Aws::String>
81 SetArn(std::forward<ArnT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
91 template <typename ConnectionIdT = Aws::String>
92 void SetConnectionId(ConnectionIdT&& value) {
93 m_connectionIdHasBeenSet = true;
94 m_connectionId = std::forward<ConnectionIdT>(value);
95 }
96 template <typename ConnectionIdT = Aws::String>
98 SetConnectionId(std::forward<ConnectionIdT>(value));
99 return *this;
100 }
102
104
107 inline ConnectionType GetConnectionType() const { return m_connectionType; }
109 m_connectionTypeHasBeenSet = true;
110 m_connectionType = value;
111 }
113 SetConnectionType(value);
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
123 template <typename CreatedAtT = Aws::Utils::DateTime>
124 void SetCreatedAt(CreatedAtT&& value) {
125 m_createdAtHasBeenSet = true;
126 m_createdAt = std::forward<CreatedAtT>(value);
127 }
128 template <typename CreatedAtT = Aws::Utils::DateTime>
130 SetCreatedAt(std::forward<CreatedAtT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
140 template <typename UpdatedAtT = Aws::Utils::DateTime>
141 void SetUpdatedAt(UpdatedAtT&& value) {
142 m_updatedAtHasBeenSet = true;
143 m_updatedAt = std::forward<UpdatedAtT>(value);
144 }
145 template <typename UpdatedAtT = Aws::Utils::DateTime>
147 SetUpdatedAt(std::forward<UpdatedAtT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
158 template <typename ExpiresAtT = Aws::Utils::DateTime>
159 void SetExpiresAt(ExpiresAtT&& value) {
160 m_expiresAtHasBeenSet = true;
161 m_expiresAt = std::forward<ExpiresAtT>(value);
162 }
163 template <typename ExpiresAtT = Aws::Utils::DateTime>
165 SetExpiresAt(std::forward<ExpiresAtT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetOtherParticipantIdentifier() const { return m_otherParticipantIdentifier; }
175 template <typename OtherParticipantIdentifierT = Aws::String>
176 void SetOtherParticipantIdentifier(OtherParticipantIdentifierT&& value) {
177 m_otherParticipantIdentifierHasBeenSet = true;
178 m_otherParticipantIdentifier = std::forward<OtherParticipantIdentifierT>(value);
179 }
180 template <typename OtherParticipantIdentifierT = Aws::String>
182 SetOtherParticipantIdentifier(std::forward<OtherParticipantIdentifierT>(value));
183 return *this;
184 }
186
188
192 inline ParticipantType GetParticipantType() const { return m_participantType; }
194 m_participantTypeHasBeenSet = true;
195 m_participantType = value;
196 }
198 SetParticipantType(value);
199 return *this;
200 }
202
204
208 inline InvitationStatus GetStatus() const { return m_status; }
209 inline void SetStatus(InvitationStatus value) {
210 m_statusHasBeenSet = true;
211 m_status = value;
212 }
214 SetStatus(value);
215 return *this;
216 }
218
220
223 inline const Aws::String& GetInvitationMessage() const { return m_invitationMessage; }
224 template <typename InvitationMessageT = Aws::String>
225 void SetInvitationMessage(InvitationMessageT&& value) {
226 m_invitationMessageHasBeenSet = true;
227 m_invitationMessage = std::forward<InvitationMessageT>(value);
228 }
229 template <typename InvitationMessageT = Aws::String>
231 SetInvitationMessage(std::forward<InvitationMessageT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetInviterEmail() const { return m_inviterEmail; }
241 template <typename InviterEmailT = Aws::String>
242 void SetInviterEmail(InviterEmailT&& value) {
243 m_inviterEmailHasBeenSet = true;
244 m_inviterEmail = std::forward<InviterEmailT>(value);
245 }
246 template <typename InviterEmailT = Aws::String>
248 SetInviterEmail(std::forward<InviterEmailT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::String& GetInviterName() const { return m_inviterName; }
258 template <typename InviterNameT = Aws::String>
259 void SetInviterName(InviterNameT&& value) {
260 m_inviterNameHasBeenSet = true;
261 m_inviterName = std::forward<InviterNameT>(value);
262 }
263 template <typename InviterNameT = Aws::String>
265 SetInviterName(std::forward<InviterNameT>(value));
266 return *this;
267 }
269
271
272 inline const Aws::String& GetRequestId() const { return m_requestId; }
273 template <typename RequestIdT = Aws::String>
274 void SetRequestId(RequestIdT&& value) {
275 m_requestIdHasBeenSet = true;
276 m_requestId = std::forward<RequestIdT>(value);
277 }
278 template <typename RequestIdT = Aws::String>
280 SetRequestId(std::forward<RequestIdT>(value));
281 return *this;
282 }
284 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
285
286 private:
287 Aws::String m_catalog;
288
289 Aws::String m_id;
290
291 Aws::String m_arn;
292
293 Aws::String m_connectionId;
294
295 ConnectionType m_connectionType{ConnectionType::NOT_SET};
296
297 Aws::Utils::DateTime m_createdAt{};
298
299 Aws::Utils::DateTime m_updatedAt{};
300
301 Aws::Utils::DateTime m_expiresAt{};
302
303 Aws::String m_otherParticipantIdentifier;
304
305 ParticipantType m_participantType{ParticipantType::NOT_SET};
306
308
309 Aws::String m_invitationMessage;
310
311 Aws::String m_inviterEmail;
312
313 Aws::String m_inviterName;
314
315 Aws::String m_requestId;
316 Aws::Http::HttpResponseCode m_HttpResponseCode;
317 bool m_catalogHasBeenSet = false;
318 bool m_idHasBeenSet = false;
319 bool m_arnHasBeenSet = false;
320 bool m_connectionIdHasBeenSet = false;
321 bool m_connectionTypeHasBeenSet = false;
322 bool m_createdAtHasBeenSet = false;
323 bool m_updatedAtHasBeenSet = false;
324 bool m_expiresAtHasBeenSet = false;
325 bool m_otherParticipantIdentifierHasBeenSet = false;
326 bool m_participantTypeHasBeenSet = false;
327 bool m_statusHasBeenSet = false;
328 bool m_invitationMessageHasBeenSet = false;
329 bool m_inviterEmailHasBeenSet = false;
330 bool m_inviterNameHasBeenSet = false;
331 bool m_requestIdHasBeenSet = false;
332};
333
334} // namespace Model
335} // namespace PartnerCentralAccount
336} // namespace Aws
CreateConnectionInvitationResult & WithOtherParticipantIdentifier(OtherParticipantIdentifierT &&value)
CreateConnectionInvitationResult & WithStatus(InvitationStatus value)
AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationResult()=default
CreateConnectionInvitationResult & WithParticipantType(ParticipantType value)
CreateConnectionInvitationResult & WithInvitationMessage(InvitationMessageT &&value)
CreateConnectionInvitationResult & WithConnectionId(ConnectionIdT &&value)
CreateConnectionInvitationResult & WithInviterName(InviterNameT &&value)
AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectionInvitationResult & WithInviterEmail(InviterEmailT &&value)
CreateConnectionInvitationResult & WithConnectionType(ConnectionType value)
AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue