AWS SDK for C++

AWS SDK for C++ Version 1.11.853

Loading...
Searching...
No Matches
StartQualificationsDisassociationTaskResult.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/QualificationsAssociationPartner.h>
12#include <aws/partnercentral-account/model/QualificationsDisassociationTaskStatus.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 StartQualificationsDisassociationTaskResult() = default;
30 AWS_PARTNERCENTRALACCOUNT_API StartQualificationsDisassociationTaskResult(
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
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template <typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template <typename IdT = Aws::String>
76 void SetId(IdT&& value) {
77 m_idHasBeenSet = true;
78 m_id = std::forward<IdT>(value);
79 }
80 template <typename IdT = Aws::String>
82 SetId(std::forward<IdT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetTaskId() const { return m_taskId; }
93 template <typename TaskIdT = Aws::String>
94 void SetTaskId(TaskIdT&& value) {
95 m_taskIdHasBeenSet = true;
96 m_taskId = std::forward<TaskIdT>(value);
97 }
98 template <typename TaskIdT = Aws::String>
100 SetTaskId(std::forward<TaskIdT>(value));
101 return *this;
102 }
104
106
110 inline QualificationsDisassociationTaskStatus GetStatus() const { return m_status; }
112 m_statusHasBeenSet = true;
113 m_status = value;
114 }
116 SetStatus(value);
117 return *this;
118 }
120
122
126 inline const QualificationsAssociationPartner& GetAssociatedPartner() const { return m_associatedPartner; }
127 template <typename AssociatedPartnerT = QualificationsAssociationPartner>
128 void SetAssociatedPartner(AssociatedPartnerT&& value) {
129 m_associatedPartnerHasBeenSet = true;
130 m_associatedPartner = std::forward<AssociatedPartnerT>(value);
131 }
132 template <typename AssociatedPartnerT = QualificationsAssociationPartner>
134 SetAssociatedPartner(std::forward<AssociatedPartnerT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
145 template <typename StartedAtT = Aws::Utils::DateTime>
146 void SetStartedAt(StartedAtT&& value) {
147 m_startedAtHasBeenSet = true;
148 m_startedAt = std::forward<StartedAtT>(value);
149 }
150 template <typename StartedAtT = Aws::Utils::DateTime>
152 SetStartedAt(std::forward<StartedAtT>(value));
153 return *this;
154 }
156
158
159 inline const Aws::String& GetRequestId() const { return m_requestId; }
160 template <typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) {
162 m_requestIdHasBeenSet = true;
163 m_requestId = std::forward<RequestIdT>(value);
164 }
165 template <typename RequestIdT = Aws::String>
167 SetRequestId(std::forward<RequestIdT>(value));
168 return *this;
169 }
171 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
172
173 private:
174 Aws::String m_catalog;
175
176 Aws::String m_arn;
177
178 Aws::String m_id;
179
180 Aws::String m_taskId;
181
183
184 QualificationsAssociationPartner m_associatedPartner;
185
186 Aws::Utils::DateTime m_startedAt{};
187
188 Aws::String m_requestId;
189 Aws::Http::HttpResponseCode m_HttpResponseCode;
190 bool m_catalogHasBeenSet = false;
191 bool m_arnHasBeenSet = false;
192 bool m_idHasBeenSet = false;
193 bool m_taskIdHasBeenSet = false;
194 bool m_statusHasBeenSet = false;
195 bool m_associatedPartnerHasBeenSet = false;
196 bool m_startedAtHasBeenSet = false;
197 bool m_requestIdHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace PartnerCentralAccount
202} // namespace Aws
StartQualificationsDisassociationTaskResult & WithAssociatedPartner(AssociatedPartnerT &&value)
AWS_PARTNERCENTRALACCOUNT_API StartQualificationsDisassociationTaskResult()=default
AWS_PARTNERCENTRALACCOUNT_API StartQualificationsDisassociationTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALACCOUNT_API StartQualificationsDisassociationTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartQualificationsDisassociationTaskResult & WithStatus(QualificationsDisassociationTaskStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue