AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdatePartnershipResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/CapabilityOptions.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.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 B2BI {
26namespace Model {
28 public:
29 AWS_B2BI_API UpdatePartnershipResult() = default;
32
34
38 inline const Aws::String& GetProfileId() const { return m_profileId; }
39 template <typename ProfileIdT = Aws::String>
40 void SetProfileId(ProfileIdT&& value) {
41 m_profileIdHasBeenSet = true;
42 m_profileId = std::forward<ProfileIdT>(value);
43 }
44 template <typename ProfileIdT = Aws::String>
46 SetProfileId(std::forward<ProfileIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetPartnershipId() const { return m_partnershipId; }
56 template <typename PartnershipIdT = Aws::String>
57 void SetPartnershipId(PartnershipIdT&& value) {
58 m_partnershipIdHasBeenSet = true;
59 m_partnershipId = std::forward<PartnershipIdT>(value);
60 }
61 template <typename PartnershipIdT = Aws::String>
62 UpdatePartnershipResult& WithPartnershipId(PartnershipIdT&& value) {
63 SetPartnershipId(std::forward<PartnershipIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetPartnershipArn() const { return m_partnershipArn; }
74 template <typename PartnershipArnT = Aws::String>
75 void SetPartnershipArn(PartnershipArnT&& value) {
76 m_partnershipArnHasBeenSet = true;
77 m_partnershipArn = std::forward<PartnershipArnT>(value);
78 }
79 template <typename PartnershipArnT = Aws::String>
80 UpdatePartnershipResult& WithPartnershipArn(PartnershipArnT&& value) {
81 SetPartnershipArn(std::forward<PartnershipArnT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetName() const { return m_name; }
91 template <typename NameT = Aws::String>
92 void SetName(NameT&& value) {
93 m_nameHasBeenSet = true;
94 m_name = std::forward<NameT>(value);
95 }
96 template <typename NameT = Aws::String>
98 SetName(std::forward<NameT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetEmail() const { return m_email; }
108 template <typename EmailT = Aws::String>
109 void SetEmail(EmailT&& value) {
110 m_emailHasBeenSet = true;
111 m_email = std::forward<EmailT>(value);
112 }
113 template <typename EmailT = Aws::String>
115 SetEmail(std::forward<EmailT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetPhone() const { return m_phone; }
125 template <typename PhoneT = Aws::String>
126 void SetPhone(PhoneT&& value) {
127 m_phoneHasBeenSet = true;
128 m_phone = std::forward<PhoneT>(value);
129 }
130 template <typename PhoneT = Aws::String>
132 SetPhone(std::forward<PhoneT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::Vector<Aws::String>& GetCapabilities() const { return m_capabilities; }
142 template <typename CapabilitiesT = Aws::Vector<Aws::String>>
143 void SetCapabilities(CapabilitiesT&& value) {
144 m_capabilitiesHasBeenSet = true;
145 m_capabilities = std::forward<CapabilitiesT>(value);
146 }
147 template <typename CapabilitiesT = Aws::Vector<Aws::String>>
149 SetCapabilities(std::forward<CapabilitiesT>(value));
150 return *this;
151 }
152 template <typename CapabilitiesT = Aws::String>
153 UpdatePartnershipResult& AddCapabilities(CapabilitiesT&& value) {
154 m_capabilitiesHasBeenSet = true;
155 m_capabilities.emplace_back(std::forward<CapabilitiesT>(value));
156 return *this;
157 }
159
161
165 inline const CapabilityOptions& GetCapabilityOptions() const { return m_capabilityOptions; }
166 template <typename CapabilityOptionsT = CapabilityOptions>
167 void SetCapabilityOptions(CapabilityOptionsT&& value) {
168 m_capabilityOptionsHasBeenSet = true;
169 m_capabilityOptions = std::forward<CapabilityOptionsT>(value);
170 }
171 template <typename CapabilityOptionsT = CapabilityOptions>
172 UpdatePartnershipResult& WithCapabilityOptions(CapabilityOptionsT&& value) {
173 SetCapabilityOptions(std::forward<CapabilityOptionsT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetTradingPartnerId() const { return m_tradingPartnerId; }
183 template <typename TradingPartnerIdT = Aws::String>
184 void SetTradingPartnerId(TradingPartnerIdT&& value) {
185 m_tradingPartnerIdHasBeenSet = true;
186 m_tradingPartnerId = std::forward<TradingPartnerIdT>(value);
187 }
188 template <typename TradingPartnerIdT = Aws::String>
189 UpdatePartnershipResult& WithTradingPartnerId(TradingPartnerIdT&& value) {
190 SetTradingPartnerId(std::forward<TradingPartnerIdT>(value));
191 return *this;
192 }
194
196
200 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
201 template <typename CreatedAtT = Aws::Utils::DateTime>
202 void SetCreatedAt(CreatedAtT&& value) {
203 m_createdAtHasBeenSet = true;
204 m_createdAt = std::forward<CreatedAtT>(value);
205 }
206 template <typename CreatedAtT = Aws::Utils::DateTime>
208 SetCreatedAt(std::forward<CreatedAtT>(value));
209 return *this;
210 }
212
214
218 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
219 template <typename ModifiedAtT = Aws::Utils::DateTime>
220 void SetModifiedAt(ModifiedAtT&& value) {
221 m_modifiedAtHasBeenSet = true;
222 m_modifiedAt = std::forward<ModifiedAtT>(value);
223 }
224 template <typename ModifiedAtT = Aws::Utils::DateTime>
226 SetModifiedAt(std::forward<ModifiedAtT>(value));
227 return *this;
228 }
230
232
233 inline const Aws::String& GetRequestId() const { return m_requestId; }
234 template <typename RequestIdT = Aws::String>
235 void SetRequestId(RequestIdT&& value) {
236 m_requestIdHasBeenSet = true;
237 m_requestId = std::forward<RequestIdT>(value);
238 }
239 template <typename RequestIdT = Aws::String>
241 SetRequestId(std::forward<RequestIdT>(value));
242 return *this;
243 }
245 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
246
247 private:
248 Aws::String m_profileId;
249
250 Aws::String m_partnershipId;
251
252 Aws::String m_partnershipArn;
253
254 Aws::String m_name;
255
256 Aws::String m_email;
257
258 Aws::String m_phone;
259
260 Aws::Vector<Aws::String> m_capabilities;
261
262 CapabilityOptions m_capabilityOptions;
263
264 Aws::String m_tradingPartnerId;
265
266 Aws::Utils::DateTime m_createdAt{};
267
268 Aws::Utils::DateTime m_modifiedAt{};
269
270 Aws::String m_requestId;
271 Aws::Http::HttpResponseCode m_HttpResponseCode;
272 bool m_profileIdHasBeenSet = false;
273 bool m_partnershipIdHasBeenSet = false;
274 bool m_partnershipArnHasBeenSet = false;
275 bool m_nameHasBeenSet = false;
276 bool m_emailHasBeenSet = false;
277 bool m_phoneHasBeenSet = false;
278 bool m_capabilitiesHasBeenSet = false;
279 bool m_capabilityOptionsHasBeenSet = false;
280 bool m_tradingPartnerIdHasBeenSet = false;
281 bool m_createdAtHasBeenSet = false;
282 bool m_modifiedAtHasBeenSet = false;
283 bool m_requestIdHasBeenSet = false;
284};
285
286} // namespace Model
287} // namespace B2BI
288} // namespace Aws
UpdatePartnershipResult & WithProfileId(ProfileIdT &&value)
UpdatePartnershipResult & WithPartnershipArn(PartnershipArnT &&value)
UpdatePartnershipResult & WithPhone(PhoneT &&value)
UpdatePartnershipResult & WithPartnershipId(PartnershipIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_B2BI_API UpdatePartnershipResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePartnershipResult & WithCapabilityOptions(CapabilityOptionsT &&value)
UpdatePartnershipResult & WithRequestId(RequestIdT &&value)
void SetTradingPartnerId(TradingPartnerIdT &&value)
UpdatePartnershipResult & AddCapabilities(CapabilitiesT &&value)
UpdatePartnershipResult & WithModifiedAt(ModifiedAtT &&value)
UpdatePartnershipResult & WithEmail(EmailT &&value)
UpdatePartnershipResult & WithName(NameT &&value)
UpdatePartnershipResult & WithTradingPartnerId(TradingPartnerIdT &&value)
UpdatePartnershipResult & WithCapabilities(CapabilitiesT &&value)
const Aws::Vector< Aws::String > & GetCapabilities() const
const CapabilityOptions & GetCapabilityOptions() const
AWS_B2BI_API UpdatePartnershipResult()=default
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
UpdatePartnershipResult & WithCreatedAt(CreatedAtT &&value)
void SetCapabilityOptions(CapabilityOptionsT &&value)
AWS_B2BI_API UpdatePartnershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue