AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
DescribePartnerAppResult.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/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/AvailableUpgrade.h>
12#include <aws/sagemaker/model/ErrorInfo.h>
13#include <aws/sagemaker/model/IdcConfigOutput.h>
14#include <aws/sagemaker/model/PartnerAppAuthType.h>
15#include <aws/sagemaker/model/PartnerAppConfig.h>
16#include <aws/sagemaker/model/PartnerAppMaintenanceConfig.h>
17#include <aws/sagemaker/model/PartnerAppStatus.h>
18#include <aws/sagemaker/model/PartnerAppType.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SageMaker {
32namespace Model {
34 public:
35 AWS_SAGEMAKER_API DescribePartnerAppResult() = default;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
79 inline PartnerAppType GetType() const { return m_type; }
80 inline void SetType(PartnerAppType value) {
81 m_typeHasBeenSet = true;
82 m_type = value;
83 }
85 SetType(value);
86 return *this;
87 }
89
91
105 inline PartnerAppStatus GetStatus() const { return m_status; }
106 inline void SetStatus(PartnerAppStatus value) {
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
121 template <typename CreationTimeT = Aws::Utils::DateTime>
122 void SetCreationTime(CreationTimeT&& value) {
123 m_creationTimeHasBeenSet = true;
124 m_creationTime = std::forward<CreationTimeT>(value);
125 }
126 template <typename CreationTimeT = Aws::Utils::DateTime>
128 SetCreationTime(std::forward<CreationTimeT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
138 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
139 void SetLastModifiedTime(LastModifiedTimeT&& value) {
140 m_lastModifiedTimeHasBeenSet = true;
141 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
142 }
143 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
144 DescribePartnerAppResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
145 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
155 template <typename ExecutionRoleArnT = Aws::String>
156 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
157 m_executionRoleArnHasBeenSet = true;
158 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
159 }
160 template <typename ExecutionRoleArnT = Aws::String>
161 DescribePartnerAppResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
162 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
173 template <typename KmsKeyIdT = Aws::String>
174 void SetKmsKeyId(KmsKeyIdT&& value) {
175 m_kmsKeyIdHasBeenSet = true;
176 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
177 }
178 template <typename KmsKeyIdT = Aws::String>
180 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
181 return *this;
182 }
184
186
190 inline const Aws::String& GetBaseUrl() const { return m_baseUrl; }
191 template <typename BaseUrlT = Aws::String>
192 void SetBaseUrl(BaseUrlT&& value) {
193 m_baseUrlHasBeenSet = true;
194 m_baseUrl = std::forward<BaseUrlT>(value);
195 }
196 template <typename BaseUrlT = Aws::String>
198 SetBaseUrl(std::forward<BaseUrlT>(value));
199 return *this;
200 }
202
204
207 inline const PartnerAppMaintenanceConfig& GetMaintenanceConfig() const { return m_maintenanceConfig; }
208 template <typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
209 void SetMaintenanceConfig(MaintenanceConfigT&& value) {
210 m_maintenanceConfigHasBeenSet = true;
211 m_maintenanceConfig = std::forward<MaintenanceConfigT>(value);
212 }
213 template <typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
214 DescribePartnerAppResult& WithMaintenanceConfig(MaintenanceConfigT&& value) {
215 SetMaintenanceConfig(std::forward<MaintenanceConfigT>(value));
216 return *this;
217 }
219
221
225 inline const Aws::String& GetTier() const { return m_tier; }
226 template <typename TierT = Aws::String>
227 void SetTier(TierT&& value) {
228 m_tierHasBeenSet = true;
229 m_tier = std::forward<TierT>(value);
230 }
231 template <typename TierT = Aws::String>
233 SetTier(std::forward<TierT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::String& GetVersion() const { return m_version; }
243 template <typename VersionT = Aws::String>
244 void SetVersion(VersionT&& value) {
245 m_versionHasBeenSet = true;
246 m_version = std::forward<VersionT>(value);
247 }
248 template <typename VersionT = Aws::String>
250 SetVersion(std::forward<VersionT>(value));
251 return *this;
252 }
254
256
259 inline const PartnerAppConfig& GetApplicationConfig() const { return m_applicationConfig; }
260 template <typename ApplicationConfigT = PartnerAppConfig>
261 void SetApplicationConfig(ApplicationConfigT&& value) {
262 m_applicationConfigHasBeenSet = true;
263 m_applicationConfig = std::forward<ApplicationConfigT>(value);
264 }
265 template <typename ApplicationConfigT = PartnerAppConfig>
266 DescribePartnerAppResult& WithApplicationConfig(ApplicationConfigT&& value) {
267 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
268 return *this;
269 }
271
273
280 inline PartnerAppAuthType GetAuthType() const { return m_authType; }
281 inline void SetAuthType(PartnerAppAuthType value) {
282 m_authTypeHasBeenSet = true;
283 m_authType = value;
284 }
286 SetAuthType(value);
287 return *this;
288 }
290
292
297 inline bool GetEnableIamSessionBasedIdentity() const { return m_enableIamSessionBasedIdentity; }
298 inline void SetEnableIamSessionBasedIdentity(bool value) {
299 m_enableIamSessionBasedIdentityHasBeenSet = true;
300 m_enableIamSessionBasedIdentity = value;
301 }
304 return *this;
305 }
307
309
313 inline const ErrorInfo& GetError() const { return m_error; }
314 template <typename ErrorT = ErrorInfo>
315 void SetError(ErrorT&& value) {
316 m_errorHasBeenSet = true;
317 m_error = std::forward<ErrorT>(value);
318 }
319 template <typename ErrorT = ErrorInfo>
321 SetError(std::forward<ErrorT>(value));
322 return *this;
323 }
325
327
331 inline bool GetEnableAutoMinorVersionUpgrade() const { return m_enableAutoMinorVersionUpgrade; }
332 inline void SetEnableAutoMinorVersionUpgrade(bool value) {
333 m_enableAutoMinorVersionUpgradeHasBeenSet = true;
334 m_enableAutoMinorVersionUpgrade = value;
335 }
338 return *this;
339 }
341
343
347 inline const Aws::Utils::DateTime& GetCurrentVersionEolDate() const { return m_currentVersionEolDate; }
348 template <typename CurrentVersionEolDateT = Aws::Utils::DateTime>
349 void SetCurrentVersionEolDate(CurrentVersionEolDateT&& value) {
350 m_currentVersionEolDateHasBeenSet = true;
351 m_currentVersionEolDate = std::forward<CurrentVersionEolDateT>(value);
352 }
353 template <typename CurrentVersionEolDateT = Aws::Utils::DateTime>
354 DescribePartnerAppResult& WithCurrentVersionEolDate(CurrentVersionEolDateT&& value) {
355 SetCurrentVersionEolDate(std::forward<CurrentVersionEolDateT>(value));
356 return *this;
357 }
359
361
366 inline const AvailableUpgrade& GetAvailableUpgrade() const { return m_availableUpgrade; }
367 template <typename AvailableUpgradeT = AvailableUpgrade>
368 void SetAvailableUpgrade(AvailableUpgradeT&& value) {
369 m_availableUpgradeHasBeenSet = true;
370 m_availableUpgrade = std::forward<AvailableUpgradeT>(value);
371 }
372 template <typename AvailableUpgradeT = AvailableUpgrade>
373 DescribePartnerAppResult& WithAvailableUpgrade(AvailableUpgradeT&& value) {
374 SetAvailableUpgrade(std::forward<AvailableUpgradeT>(value));
375 return *this;
376 }
378
380
386 inline const IdcConfigOutput& GetIdcConfig() const { return m_idcConfig; }
387 template <typename IdcConfigT = IdcConfigOutput>
388 void SetIdcConfig(IdcConfigT&& value) {
389 m_idcConfigHasBeenSet = true;
390 m_idcConfig = std::forward<IdcConfigT>(value);
391 }
392 template <typename IdcConfigT = IdcConfigOutput>
394 SetIdcConfig(std::forward<IdcConfigT>(value));
395 return *this;
396 }
398
400
401 inline const Aws::String& GetRequestId() const { return m_requestId; }
402 template <typename RequestIdT = Aws::String>
403 void SetRequestId(RequestIdT&& value) {
404 m_requestIdHasBeenSet = true;
405 m_requestId = std::forward<RequestIdT>(value);
406 }
407 template <typename RequestIdT = Aws::String>
409 SetRequestId(std::forward<RequestIdT>(value));
410 return *this;
411 }
413 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
414
415 private:
416 Aws::String m_arn;
417
418 Aws::String m_name;
419
421
423
424 Aws::Utils::DateTime m_creationTime{};
425
426 Aws::Utils::DateTime m_lastModifiedTime{};
427
428 Aws::String m_executionRoleArn;
429
430 Aws::String m_kmsKeyId;
431
432 Aws::String m_baseUrl;
433
434 PartnerAppMaintenanceConfig m_maintenanceConfig;
435
436 Aws::String m_tier;
437
438 Aws::String m_version;
439
440 PartnerAppConfig m_applicationConfig;
441
443
444 bool m_enableIamSessionBasedIdentity{false};
445
446 ErrorInfo m_error;
447
448 bool m_enableAutoMinorVersionUpgrade{false};
449
450 Aws::Utils::DateTime m_currentVersionEolDate{};
451
452 AvailableUpgrade m_availableUpgrade;
453
454 IdcConfigOutput m_idcConfig;
455
456 Aws::String m_requestId;
457 Aws::Http::HttpResponseCode m_HttpResponseCode;
458 bool m_arnHasBeenSet = false;
459 bool m_nameHasBeenSet = false;
460 bool m_typeHasBeenSet = false;
461 bool m_statusHasBeenSet = false;
462 bool m_creationTimeHasBeenSet = false;
463 bool m_lastModifiedTimeHasBeenSet = false;
464 bool m_executionRoleArnHasBeenSet = false;
465 bool m_kmsKeyIdHasBeenSet = false;
466 bool m_baseUrlHasBeenSet = false;
467 bool m_maintenanceConfigHasBeenSet = false;
468 bool m_tierHasBeenSet = false;
469 bool m_versionHasBeenSet = false;
470 bool m_applicationConfigHasBeenSet = false;
471 bool m_authTypeHasBeenSet = false;
472 bool m_enableIamSessionBasedIdentityHasBeenSet = false;
473 bool m_errorHasBeenSet = false;
474 bool m_enableAutoMinorVersionUpgradeHasBeenSet = false;
475 bool m_currentVersionEolDateHasBeenSet = false;
476 bool m_availableUpgradeHasBeenSet = false;
477 bool m_idcConfigHasBeenSet = false;
478 bool m_requestIdHasBeenSet = false;
479};
480
481} // namespace Model
482} // namespace SageMaker
483} // namespace Aws
void SetCurrentVersionEolDate(CurrentVersionEolDateT &&value)
DescribePartnerAppResult & WithMaintenanceConfig(MaintenanceConfigT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribePartnerAppResult & WithName(NameT &&value)
DescribePartnerAppResult & WithApplicationConfig(ApplicationConfigT &&value)
DescribePartnerAppResult & WithVersion(VersionT &&value)
AWS_SAGEMAKER_API DescribePartnerAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePartnerAppResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribePartnerAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePartnerAppResult & WithCreationTime(CreationTimeT &&value)
DescribePartnerAppResult & WithCurrentVersionEolDate(CurrentVersionEolDateT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribePartnerAppResult & WithTier(TierT &&value)
DescribePartnerAppResult & WithRequestId(RequestIdT &&value)
DescribePartnerAppResult & WithAvailableUpgrade(AvailableUpgradeT &&value)
DescribePartnerAppResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribePartnerAppResult & WithArn(ArnT &&value)
AWS_SAGEMAKER_API DescribePartnerAppResult()=default
DescribePartnerAppResult & WithKmsKeyId(KmsKeyIdT &&value)
DescribePartnerAppResult & WithStatus(PartnerAppStatus value)
DescribePartnerAppResult & WithEnableAutoMinorVersionUpgrade(bool value)
DescribePartnerAppResult & WithAuthType(PartnerAppAuthType value)
DescribePartnerAppResult & WithIdcConfig(IdcConfigT &&value)
DescribePartnerAppResult & WithEnableIamSessionBasedIdentity(bool value)
const Aws::Utils::DateTime & GetCurrentVersionEolDate() const
DescribePartnerAppResult & WithError(ErrorT &&value)
DescribePartnerAppResult & WithBaseUrl(BaseUrlT &&value)
DescribePartnerAppResult & WithType(PartnerAppType value)
const PartnerAppMaintenanceConfig & GetMaintenanceConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue