AWS SDK for C++

AWS SDK for C++ Version 1.11.765

Loading...
Searching...
No Matches
RejectConnectionInvitationResult.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 RejectConnectionInvitationResult() = default;
32 AWS_PARTNERCENTRALACCOUNT_API RejectConnectionInvitationResult& 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
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 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
283
284 private:
285 Aws::String m_catalog;
286
287 Aws::String m_id;
288
289 Aws::String m_arn;
290
291 Aws::String m_connectionId;
292
293 ConnectionType m_connectionType{ConnectionType::NOT_SET};
294
295 Aws::Utils::DateTime m_createdAt{};
296
297 Aws::Utils::DateTime m_updatedAt{};
298
299 Aws::Utils::DateTime m_expiresAt{};
300
301 Aws::String m_otherParticipantIdentifier;
302
303 ParticipantType m_participantType{ParticipantType::NOT_SET};
304
306
307 Aws::String m_invitationMessage;
308
309 Aws::String m_inviterEmail;
310
311 Aws::String m_inviterName;
312
313 Aws::String m_requestId;
314 Aws::Http::HttpResponseCode m_HttpResponseCode;
315 bool m_catalogHasBeenSet = false;
316 bool m_idHasBeenSet = false;
317 bool m_arnHasBeenSet = false;
318 bool m_connectionIdHasBeenSet = false;
319 bool m_connectionTypeHasBeenSet = false;
320 bool m_createdAtHasBeenSet = false;
321 bool m_updatedAtHasBeenSet = false;
322 bool m_expiresAtHasBeenSet = false;
323 bool m_otherParticipantIdentifierHasBeenSet = false;
324 bool m_participantTypeHasBeenSet = false;
325 bool m_statusHasBeenSet = false;
326 bool m_invitationMessageHasBeenSet = false;
327 bool m_inviterEmailHasBeenSet = false;
328 bool m_inviterNameHasBeenSet = false;
329 bool m_requestIdHasBeenSet = false;
330};
331
332} // namespace Model
333} // namespace PartnerCentralAccount
334} // 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