AWS SDK for C++

AWS SDK for C++ Version 1.11.761

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/PartnerAppAuthType.h>
14#include <aws/sagemaker/model/PartnerAppConfig.h>
15#include <aws/sagemaker/model/PartnerAppMaintenanceConfig.h>
16#include <aws/sagemaker/model/PartnerAppStatus.h>
17#include <aws/sagemaker/model/PartnerAppType.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker {
31namespace Model {
33 public:
34 AWS_SAGEMAKER_API DescribePartnerAppResult() = default;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
78 inline PartnerAppType GetType() const { return m_type; }
79 inline void SetType(PartnerAppType value) {
80 m_typeHasBeenSet = true;
81 m_type = value;
82 }
84 SetType(value);
85 return *this;
86 }
88
90
104 inline PartnerAppStatus GetStatus() const { return m_status; }
105 inline void SetStatus(PartnerAppStatus value) {
106 m_statusHasBeenSet = true;
107 m_status = value;
108 }
110 SetStatus(value);
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
120 template <typename CreationTimeT = Aws::Utils::DateTime>
121 void SetCreationTime(CreationTimeT&& value) {
122 m_creationTimeHasBeenSet = true;
123 m_creationTime = std::forward<CreationTimeT>(value);
124 }
125 template <typename CreationTimeT = Aws::Utils::DateTime>
127 SetCreationTime(std::forward<CreationTimeT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
137 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
138 void SetLastModifiedTime(LastModifiedTimeT&& value) {
139 m_lastModifiedTimeHasBeenSet = true;
140 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
141 }
142 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
143 DescribePartnerAppResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
144 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
154 template <typename ExecutionRoleArnT = Aws::String>
155 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
156 m_executionRoleArnHasBeenSet = true;
157 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
158 }
159 template <typename ExecutionRoleArnT = Aws::String>
160 DescribePartnerAppResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
161 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
162 return *this;
163 }
165
167
171 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
172 template <typename KmsKeyIdT = Aws::String>
173 void SetKmsKeyId(KmsKeyIdT&& value) {
174 m_kmsKeyIdHasBeenSet = true;
175 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
176 }
177 template <typename KmsKeyIdT = Aws::String>
179 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
180 return *this;
181 }
183
185
189 inline const Aws::String& GetBaseUrl() const { return m_baseUrl; }
190 template <typename BaseUrlT = Aws::String>
191 void SetBaseUrl(BaseUrlT&& value) {
192 m_baseUrlHasBeenSet = true;
193 m_baseUrl = std::forward<BaseUrlT>(value);
194 }
195 template <typename BaseUrlT = Aws::String>
197 SetBaseUrl(std::forward<BaseUrlT>(value));
198 return *this;
199 }
201
203
206 inline const PartnerAppMaintenanceConfig& GetMaintenanceConfig() const { return m_maintenanceConfig; }
207 template <typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
208 void SetMaintenanceConfig(MaintenanceConfigT&& value) {
209 m_maintenanceConfigHasBeenSet = true;
210 m_maintenanceConfig = std::forward<MaintenanceConfigT>(value);
211 }
212 template <typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
213 DescribePartnerAppResult& WithMaintenanceConfig(MaintenanceConfigT&& value) {
214 SetMaintenanceConfig(std::forward<MaintenanceConfigT>(value));
215 return *this;
216 }
218
220
224 inline const Aws::String& GetTier() const { return m_tier; }
225 template <typename TierT = Aws::String>
226 void SetTier(TierT&& value) {
227 m_tierHasBeenSet = true;
228 m_tier = std::forward<TierT>(value);
229 }
230 template <typename TierT = Aws::String>
232 SetTier(std::forward<TierT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::String& GetVersion() const { return m_version; }
242 template <typename VersionT = Aws::String>
243 void SetVersion(VersionT&& value) {
244 m_versionHasBeenSet = true;
245 m_version = std::forward<VersionT>(value);
246 }
247 template <typename VersionT = Aws::String>
249 SetVersion(std::forward<VersionT>(value));
250 return *this;
251 }
253
255
258 inline const PartnerAppConfig& GetApplicationConfig() const { return m_applicationConfig; }
259 template <typename ApplicationConfigT = PartnerAppConfig>
260 void SetApplicationConfig(ApplicationConfigT&& value) {
261 m_applicationConfigHasBeenSet = true;
262 m_applicationConfig = std::forward<ApplicationConfigT>(value);
263 }
264 template <typename ApplicationConfigT = PartnerAppConfig>
265 DescribePartnerAppResult& WithApplicationConfig(ApplicationConfigT&& value) {
266 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
267 return *this;
268 }
270
272
276 inline PartnerAppAuthType GetAuthType() const { return m_authType; }
277 inline void SetAuthType(PartnerAppAuthType value) {
278 m_authTypeHasBeenSet = true;
279 m_authType = value;
280 }
282 SetAuthType(value);
283 return *this;
284 }
286
288
293 inline bool GetEnableIamSessionBasedIdentity() const { return m_enableIamSessionBasedIdentity; }
294 inline void SetEnableIamSessionBasedIdentity(bool value) {
295 m_enableIamSessionBasedIdentityHasBeenSet = true;
296 m_enableIamSessionBasedIdentity = value;
297 }
300 return *this;
301 }
303
305
309 inline const ErrorInfo& GetError() const { return m_error; }
310 template <typename ErrorT = ErrorInfo>
311 void SetError(ErrorT&& value) {
312 m_errorHasBeenSet = true;
313 m_error = std::forward<ErrorT>(value);
314 }
315 template <typename ErrorT = ErrorInfo>
317 SetError(std::forward<ErrorT>(value));
318 return *this;
319 }
321
323
327 inline bool GetEnableAutoMinorVersionUpgrade() const { return m_enableAutoMinorVersionUpgrade; }
328 inline void SetEnableAutoMinorVersionUpgrade(bool value) {
329 m_enableAutoMinorVersionUpgradeHasBeenSet = true;
330 m_enableAutoMinorVersionUpgrade = value;
331 }
334 return *this;
335 }
337
339
343 inline const Aws::Utils::DateTime& GetCurrentVersionEolDate() const { return m_currentVersionEolDate; }
344 template <typename CurrentVersionEolDateT = Aws::Utils::DateTime>
345 void SetCurrentVersionEolDate(CurrentVersionEolDateT&& value) {
346 m_currentVersionEolDateHasBeenSet = true;
347 m_currentVersionEolDate = std::forward<CurrentVersionEolDateT>(value);
348 }
349 template <typename CurrentVersionEolDateT = Aws::Utils::DateTime>
350 DescribePartnerAppResult& WithCurrentVersionEolDate(CurrentVersionEolDateT&& value) {
351 SetCurrentVersionEolDate(std::forward<CurrentVersionEolDateT>(value));
352 return *this;
353 }
355
357
362 inline const AvailableUpgrade& GetAvailableUpgrade() const { return m_availableUpgrade; }
363 template <typename AvailableUpgradeT = AvailableUpgrade>
364 void SetAvailableUpgrade(AvailableUpgradeT&& value) {
365 m_availableUpgradeHasBeenSet = true;
366 m_availableUpgrade = std::forward<AvailableUpgradeT>(value);
367 }
368 template <typename AvailableUpgradeT = AvailableUpgrade>
369 DescribePartnerAppResult& WithAvailableUpgrade(AvailableUpgradeT&& value) {
370 SetAvailableUpgrade(std::forward<AvailableUpgradeT>(value));
371 return *this;
372 }
374
376
377 inline const Aws::String& GetRequestId() const { return m_requestId; }
378 template <typename RequestIdT = Aws::String>
379 void SetRequestId(RequestIdT&& value) {
380 m_requestIdHasBeenSet = true;
381 m_requestId = std::forward<RequestIdT>(value);
382 }
383 template <typename RequestIdT = Aws::String>
385 SetRequestId(std::forward<RequestIdT>(value));
386 return *this;
387 }
389 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
390
391 private:
392 Aws::String m_arn;
393
394 Aws::String m_name;
395
397
399
400 Aws::Utils::DateTime m_creationTime{};
401
402 Aws::Utils::DateTime m_lastModifiedTime{};
403
404 Aws::String m_executionRoleArn;
405
406 Aws::String m_kmsKeyId;
407
408 Aws::String m_baseUrl;
409
410 PartnerAppMaintenanceConfig m_maintenanceConfig;
411
412 Aws::String m_tier;
413
414 Aws::String m_version;
415
416 PartnerAppConfig m_applicationConfig;
417
419
420 bool m_enableIamSessionBasedIdentity{false};
421
422 ErrorInfo m_error;
423
424 bool m_enableAutoMinorVersionUpgrade{false};
425
426 Aws::Utils::DateTime m_currentVersionEolDate{};
427
428 AvailableUpgrade m_availableUpgrade;
429
430 Aws::String m_requestId;
431 Aws::Http::HttpResponseCode m_HttpResponseCode;
432 bool m_arnHasBeenSet = false;
433 bool m_nameHasBeenSet = false;
434 bool m_typeHasBeenSet = false;
435 bool m_statusHasBeenSet = false;
436 bool m_creationTimeHasBeenSet = false;
437 bool m_lastModifiedTimeHasBeenSet = false;
438 bool m_executionRoleArnHasBeenSet = false;
439 bool m_kmsKeyIdHasBeenSet = false;
440 bool m_baseUrlHasBeenSet = false;
441 bool m_maintenanceConfigHasBeenSet = false;
442 bool m_tierHasBeenSet = false;
443 bool m_versionHasBeenSet = false;
444 bool m_applicationConfigHasBeenSet = false;
445 bool m_authTypeHasBeenSet = false;
446 bool m_enableIamSessionBasedIdentityHasBeenSet = false;
447 bool m_errorHasBeenSet = false;
448 bool m_enableAutoMinorVersionUpgradeHasBeenSet = false;
449 bool m_currentVersionEolDateHasBeenSet = false;
450 bool m_availableUpgradeHasBeenSet = false;
451 bool m_requestIdHasBeenSet = false;
452};
453
454} // namespace Model
455} // namespace SageMaker
456} // 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 & 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