AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
CreateConnectionInvitationResult.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 CreateConnectionInvitationResult() = default;
31 AWS_PARTNERCENTRALACCOUNT_API CreateConnectionInvitationResult& 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
207 inline InvitationStatus GetStatus() const { return m_status; }
208 inline void SetStatus(InvitationStatus value) {
209 m_statusHasBeenSet = true;
210 m_status = value;
211 }
213 SetStatus(value);
214 return *this;
215 }
217
219
222 inline const Aws::String& GetInvitationMessage() const { return m_invitationMessage; }
223 template <typename InvitationMessageT = Aws::String>
224 void SetInvitationMessage(InvitationMessageT&& value) {
225 m_invitationMessageHasBeenSet = true;
226 m_invitationMessage = std::forward<InvitationMessageT>(value);
227 }
228 template <typename InvitationMessageT = Aws::String>
230 SetInvitationMessage(std::forward<InvitationMessageT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::String& GetInviterEmail() const { return m_inviterEmail; }
240 template <typename InviterEmailT = Aws::String>
241 void SetInviterEmail(InviterEmailT&& value) {
242 m_inviterEmailHasBeenSet = true;
243 m_inviterEmail = std::forward<InviterEmailT>(value);
244 }
245 template <typename InviterEmailT = Aws::String>
247 SetInviterEmail(std::forward<InviterEmailT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::String& GetInviterName() const { return m_inviterName; }
257 template <typename InviterNameT = Aws::String>
258 void SetInviterName(InviterNameT&& value) {
259 m_inviterNameHasBeenSet = true;
260 m_inviterName = std::forward<InviterNameT>(value);
261 }
262 template <typename InviterNameT = Aws::String>
264 SetInviterName(std::forward<InviterNameT>(value));
265 return *this;
266 }
268
270
271 inline const Aws::String& GetRequestId() const { return m_requestId; }
272 template <typename RequestIdT = Aws::String>
273 void SetRequestId(RequestIdT&& value) {
274 m_requestIdHasBeenSet = true;
275 m_requestId = std::forward<RequestIdT>(value);
276 }
277 template <typename RequestIdT = Aws::String>
279 SetRequestId(std::forward<RequestIdT>(value));
280 return *this;
281 }
283 private:
284 Aws::String m_catalog;
285
286 Aws::String m_id;
287
288 Aws::String m_arn;
289
290 Aws::String m_connectionId;
291
292 ConnectionType m_connectionType{ConnectionType::NOT_SET};
293
294 Aws::Utils::DateTime m_createdAt{};
295
296 Aws::Utils::DateTime m_updatedAt{};
297
298 Aws::Utils::DateTime m_expiresAt{};
299
300 Aws::String m_otherParticipantIdentifier;
301
302 ParticipantType m_participantType{ParticipantType::NOT_SET};
303
305
306 Aws::String m_invitationMessage;
307
308 Aws::String m_inviterEmail;
309
310 Aws::String m_inviterName;
311
312 Aws::String m_requestId;
313 bool m_catalogHasBeenSet = false;
314 bool m_idHasBeenSet = false;
315 bool m_arnHasBeenSet = false;
316 bool m_connectionIdHasBeenSet = false;
317 bool m_connectionTypeHasBeenSet = false;
318 bool m_createdAtHasBeenSet = false;
319 bool m_updatedAtHasBeenSet = false;
320 bool m_expiresAtHasBeenSet = false;
321 bool m_otherParticipantIdentifierHasBeenSet = false;
322 bool m_participantTypeHasBeenSet = false;
323 bool m_statusHasBeenSet = false;
324 bool m_invitationMessageHasBeenSet = false;
325 bool m_inviterEmailHasBeenSet = false;
326 bool m_inviterNameHasBeenSet = false;
327 bool m_requestIdHasBeenSet = false;
328};
329
330} // namespace Model
331} // namespace PartnerCentralAccount
332} // 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