AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
RejectConnectionInvitationResult.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 RejectConnectionInvitationResult() = default;
31 AWS_PARTNERCENTRALACCOUNT_API RejectConnectionInvitationResult& 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
155 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
156 template <typename ExpiresAtT = Aws::Utils::DateTime>
157 void SetExpiresAt(ExpiresAtT&& value) {
158 m_expiresAtHasBeenSet = true;
159 m_expiresAt = std::forward<ExpiresAtT>(value);
160 }
161 template <typename ExpiresAtT = Aws::Utils::DateTime>
163 SetExpiresAt(std::forward<ExpiresAtT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::String& GetOtherParticipantIdentifier() const { return m_otherParticipantIdentifier; }
173 template <typename OtherParticipantIdentifierT = Aws::String>
174 void SetOtherParticipantIdentifier(OtherParticipantIdentifierT&& value) {
175 m_otherParticipantIdentifierHasBeenSet = true;
176 m_otherParticipantIdentifier = std::forward<OtherParticipantIdentifierT>(value);
177 }
178 template <typename OtherParticipantIdentifierT = Aws::String>
180 SetOtherParticipantIdentifier(std::forward<OtherParticipantIdentifierT>(value));
181 return *this;
182 }
184
186
190 inline ParticipantType GetParticipantType() const { return m_participantType; }
192 m_participantTypeHasBeenSet = true;
193 m_participantType = value;
194 }
196 SetParticipantType(value);
197 return *this;
198 }
200
202
205 inline InvitationStatus GetStatus() const { return m_status; }
206 inline void SetStatus(InvitationStatus value) {
207 m_statusHasBeenSet = true;
208 m_status = value;
209 }
211 SetStatus(value);
212 return *this;
213 }
215
217
220 inline const Aws::String& GetInvitationMessage() const { return m_invitationMessage; }
221 template <typename InvitationMessageT = Aws::String>
222 void SetInvitationMessage(InvitationMessageT&& value) {
223 m_invitationMessageHasBeenSet = true;
224 m_invitationMessage = std::forward<InvitationMessageT>(value);
225 }
226 template <typename InvitationMessageT = Aws::String>
228 SetInvitationMessage(std::forward<InvitationMessageT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::String& GetInviterEmail() const { return m_inviterEmail; }
238 template <typename InviterEmailT = Aws::String>
239 void SetInviterEmail(InviterEmailT&& value) {
240 m_inviterEmailHasBeenSet = true;
241 m_inviterEmail = std::forward<InviterEmailT>(value);
242 }
243 template <typename InviterEmailT = Aws::String>
245 SetInviterEmail(std::forward<InviterEmailT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::String& GetInviterName() const { return m_inviterName; }
255 template <typename InviterNameT = Aws::String>
256 void SetInviterName(InviterNameT&& value) {
257 m_inviterNameHasBeenSet = true;
258 m_inviterName = std::forward<InviterNameT>(value);
259 }
260 template <typename InviterNameT = Aws::String>
262 SetInviterName(std::forward<InviterNameT>(value));
263 return *this;
264 }
266
268
269 inline const Aws::String& GetRequestId() const { return m_requestId; }
270 template <typename RequestIdT = Aws::String>
271 void SetRequestId(RequestIdT&& value) {
272 m_requestIdHasBeenSet = true;
273 m_requestId = std::forward<RequestIdT>(value);
274 }
275 template <typename RequestIdT = Aws::String>
277 SetRequestId(std::forward<RequestIdT>(value));
278 return *this;
279 }
281 private:
282 Aws::String m_catalog;
283
284 Aws::String m_id;
285
286 Aws::String m_arn;
287
288 Aws::String m_connectionId;
289
290 ConnectionType m_connectionType{ConnectionType::NOT_SET};
291
292 Aws::Utils::DateTime m_createdAt{};
293
294 Aws::Utils::DateTime m_updatedAt{};
295
296 Aws::Utils::DateTime m_expiresAt{};
297
298 Aws::String m_otherParticipantIdentifier;
299
300 ParticipantType m_participantType{ParticipantType::NOT_SET};
301
303
304 Aws::String m_invitationMessage;
305
306 Aws::String m_inviterEmail;
307
308 Aws::String m_inviterName;
309
310 Aws::String m_requestId;
311 bool m_catalogHasBeenSet = false;
312 bool m_idHasBeenSet = false;
313 bool m_arnHasBeenSet = false;
314 bool m_connectionIdHasBeenSet = false;
315 bool m_connectionTypeHasBeenSet = false;
316 bool m_createdAtHasBeenSet = false;
317 bool m_updatedAtHasBeenSet = false;
318 bool m_expiresAtHasBeenSet = false;
319 bool m_otherParticipantIdentifierHasBeenSet = false;
320 bool m_participantTypeHasBeenSet = false;
321 bool m_statusHasBeenSet = false;
322 bool m_invitationMessageHasBeenSet = false;
323 bool m_inviterEmailHasBeenSet = false;
324 bool m_inviterNameHasBeenSet = false;
325 bool m_requestIdHasBeenSet = false;
326};
327
328} // namespace Model
329} // namespace PartnerCentralAccount
330} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API RejectConnectionInvitationResult()=default
RejectConnectionInvitationResult & WithInvitationMessage(InvitationMessageT &&value)
RejectConnectionInvitationResult & WithStatus(InvitationStatus value)
RejectConnectionInvitationResult & WithInviterName(InviterNameT &&value)
AWS_PARTNERCENTRALACCOUNT_API RejectConnectionInvitationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectConnectionInvitationResult & WithConnectionType(ConnectionType value)
RejectConnectionInvitationResult & WithOtherParticipantIdentifier(OtherParticipantIdentifierT &&value)
AWS_PARTNERCENTRALACCOUNT_API RejectConnectionInvitationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectConnectionInvitationResult & WithInviterEmail(InviterEmailT &&value)
RejectConnectionInvitationResult & WithConnectionId(ConnectionIdT &&value)
RejectConnectionInvitationResult & WithParticipantType(ParticipantType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue