AWS SDK for C++

AWS SDK for C++ Version 1.11.853

Loading...
Searching...
No Matches
GetQualificationsAssociationDetailsResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
12#include <aws/partnercentral-account/model/QualificationsAssociationPartner.h>
13#include <aws/partnercentral-account/model/QualificationsAssociationStatus.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 GetQualificationsAssociationDetailsResult() = default;
31 AWS_PARTNERCENTRALACCOUNT_API GetQualificationsAssociationDetailsResult(
35
37
40 inline const Aws::String& GetCatalog() const { return m_catalog; }
41 template <typename CatalogT = Aws::String>
42 void SetCatalog(CatalogT&& value) {
43 m_catalogHasBeenSet = true;
44 m_catalog = std::forward<CatalogT>(value);
45 }
46 template <typename CatalogT = Aws::String>
48 SetCatalog(std::forward<CatalogT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetArn() const { return m_arn; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetId() const { return m_id; }
76 template <typename IdT = Aws::String>
77 void SetId(IdT&& value) {
78 m_idHasBeenSet = true;
79 m_id = std::forward<IdT>(value);
80 }
81 template <typename IdT = Aws::String>
83 SetId(std::forward<IdT>(value));
84 return *this;
85 }
87
89
94 inline QualificationsAssociationStatus GetStatus() const { return m_status; }
96 m_statusHasBeenSet = true;
97 m_status = value;
98 }
100 SetStatus(value);
101 return *this;
102 }
104
106
110 inline const QualificationsAssociationPartner& GetPrimaryPartner() const { return m_primaryPartner; }
111 template <typename PrimaryPartnerT = QualificationsAssociationPartner>
112 void SetPrimaryPartner(PrimaryPartnerT&& value) {
113 m_primaryPartnerHasBeenSet = true;
114 m_primaryPartner = std::forward<PrimaryPartnerT>(value);
115 }
116 template <typename PrimaryPartnerT = QualificationsAssociationPartner>
118 SetPrimaryPartner(std::forward<PrimaryPartnerT>(value));
119 return *this;
120 }
122
124
129 inline const Aws::Vector<QualificationsAssociationPartner>& GetAssociatedPartners() const { return m_associatedPartners; }
130 template <typename AssociatedPartnersT = Aws::Vector<QualificationsAssociationPartner>>
131 void SetAssociatedPartners(AssociatedPartnersT&& value) {
132 m_associatedPartnersHasBeenSet = true;
133 m_associatedPartners = std::forward<AssociatedPartnersT>(value);
134 }
135 template <typename AssociatedPartnersT = Aws::Vector<QualificationsAssociationPartner>>
137 SetAssociatedPartners(std::forward<AssociatedPartnersT>(value));
138 return *this;
139 }
140 template <typename AssociatedPartnersT = QualificationsAssociationPartner>
142 m_associatedPartnersHasBeenSet = true;
143 m_associatedPartners.emplace_back(std::forward<AssociatedPartnersT>(value));
144 return *this;
145 }
147
149
154 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
155 template <typename UpdatedAtT = Aws::Utils::DateTime>
156 void SetUpdatedAt(UpdatedAtT&& value) {
157 m_updatedAtHasBeenSet = true;
158 m_updatedAt = std::forward<UpdatedAtT>(value);
159 }
160 template <typename UpdatedAtT = Aws::Utils::DateTime>
162 SetUpdatedAt(std::forward<UpdatedAtT>(value));
163 return *this;
164 }
166
168
169 inline const Aws::String& GetRequestId() const { return m_requestId; }
170 template <typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) {
172 m_requestIdHasBeenSet = true;
173 m_requestId = std::forward<RequestIdT>(value);
174 }
175 template <typename RequestIdT = Aws::String>
177 SetRequestId(std::forward<RequestIdT>(value));
178 return *this;
179 }
181 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
182
183 private:
184 Aws::String m_catalog;
185
186 Aws::String m_arn;
187
188 Aws::String m_id;
189
191
192 QualificationsAssociationPartner m_primaryPartner;
193
195
196 Aws::Utils::DateTime m_updatedAt{};
197
198 Aws::String m_requestId;
199 Aws::Http::HttpResponseCode m_HttpResponseCode;
200 bool m_catalogHasBeenSet = false;
201 bool m_arnHasBeenSet = false;
202 bool m_idHasBeenSet = false;
203 bool m_statusHasBeenSet = false;
204 bool m_primaryPartnerHasBeenSet = false;
205 bool m_associatedPartnersHasBeenSet = false;
206 bool m_updatedAtHasBeenSet = false;
207 bool m_requestIdHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace PartnerCentralAccount
212} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API GetQualificationsAssociationDetailsResult()=default
GetQualificationsAssociationDetailsResult & WithAssociatedPartners(AssociatedPartnersT &&value)
GetQualificationsAssociationDetailsResult & WithPrimaryPartner(PrimaryPartnerT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetQualificationsAssociationDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALACCOUNT_API GetQualificationsAssociationDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQualificationsAssociationDetailsResult & AddAssociatedPartners(AssociatedPartnersT &&value)
GetQualificationsAssociationDetailsResult & WithStatus(QualificationsAssociationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue