AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribePartnerAppResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AvailableUpgrade.h>
11#include <aws/sagemaker/model/ErrorInfo.h>
12#include <aws/sagemaker/model/PartnerAppAuthType.h>
13#include <aws/sagemaker/model/PartnerAppConfig.h>
14#include <aws/sagemaker/model/PartnerAppMaintenanceConfig.h>
15#include <aws/sagemaker/model/PartnerAppStatus.h>
16#include <aws/sagemaker/model/PartnerAppType.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker {
30namespace Model {
32 public:
33 AWS_SAGEMAKER_API DescribePartnerAppResult() = default;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
77 inline PartnerAppType GetType() const { return m_type; }
78 inline void SetType(PartnerAppType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87
89
103 inline PartnerAppStatus GetStatus() const { return m_status; }
104 inline void SetStatus(PartnerAppStatus value) {
105 m_statusHasBeenSet = true;
106 m_status = value;
107 }
109 SetStatus(value);
110 return *this;
111 }
113
115
118 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
119 template <typename CreationTimeT = Aws::Utils::DateTime>
120 void SetCreationTime(CreationTimeT&& value) {
121 m_creationTimeHasBeenSet = true;
122 m_creationTime = std::forward<CreationTimeT>(value);
123 }
124 template <typename CreationTimeT = Aws::Utils::DateTime>
126 SetCreationTime(std::forward<CreationTimeT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
136 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
137 void SetLastModifiedTime(LastModifiedTimeT&& value) {
138 m_lastModifiedTimeHasBeenSet = true;
139 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
140 }
141 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
142 DescribePartnerAppResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
143 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
153 template <typename ExecutionRoleArnT = Aws::String>
154 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
155 m_executionRoleArnHasBeenSet = true;
156 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
157 }
158 template <typename ExecutionRoleArnT = Aws::String>
159 DescribePartnerAppResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
160 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
161 return *this;
162 }
164
166
170 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
171 template <typename KmsKeyIdT = Aws::String>
172 void SetKmsKeyId(KmsKeyIdT&& value) {
173 m_kmsKeyIdHasBeenSet = true;
174 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
175 }
176 template <typename KmsKeyIdT = Aws::String>
178 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
179 return *this;
180 }
182
184
188 inline const Aws::String& GetBaseUrl() const { return m_baseUrl; }
189 template <typename BaseUrlT = Aws::String>
190 void SetBaseUrl(BaseUrlT&& value) {
191 m_baseUrlHasBeenSet = true;
192 m_baseUrl = std::forward<BaseUrlT>(value);
193 }
194 template <typename BaseUrlT = Aws::String>
196 SetBaseUrl(std::forward<BaseUrlT>(value));
197 return *this;
198 }
200
202
205 inline const PartnerAppMaintenanceConfig& GetMaintenanceConfig() const { return m_maintenanceConfig; }
206 template <typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
207 void SetMaintenanceConfig(MaintenanceConfigT&& value) {
208 m_maintenanceConfigHasBeenSet = true;
209 m_maintenanceConfig = std::forward<MaintenanceConfigT>(value);
210 }
211 template <typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
212 DescribePartnerAppResult& WithMaintenanceConfig(MaintenanceConfigT&& value) {
213 SetMaintenanceConfig(std::forward<MaintenanceConfigT>(value));
214 return *this;
215 }
217
219
223 inline const Aws::String& GetTier() const { return m_tier; }
224 template <typename TierT = Aws::String>
225 void SetTier(TierT&& value) {
226 m_tierHasBeenSet = true;
227 m_tier = std::forward<TierT>(value);
228 }
229 template <typename TierT = Aws::String>
231 SetTier(std::forward<TierT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetVersion() const { return m_version; }
241 template <typename VersionT = Aws::String>
242 void SetVersion(VersionT&& value) {
243 m_versionHasBeenSet = true;
244 m_version = std::forward<VersionT>(value);
245 }
246 template <typename VersionT = Aws::String>
248 SetVersion(std::forward<VersionT>(value));
249 return *this;
250 }
252
254
257 inline const PartnerAppConfig& GetApplicationConfig() const { return m_applicationConfig; }
258 template <typename ApplicationConfigT = PartnerAppConfig>
259 void SetApplicationConfig(ApplicationConfigT&& value) {
260 m_applicationConfigHasBeenSet = true;
261 m_applicationConfig = std::forward<ApplicationConfigT>(value);
262 }
263 template <typename ApplicationConfigT = PartnerAppConfig>
264 DescribePartnerAppResult& WithApplicationConfig(ApplicationConfigT&& value) {
265 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
266 return *this;
267 }
269
271
275 inline PartnerAppAuthType GetAuthType() const { return m_authType; }
276 inline void SetAuthType(PartnerAppAuthType value) {
277 m_authTypeHasBeenSet = true;
278 m_authType = value;
279 }
281 SetAuthType(value);
282 return *this;
283 }
285
287
292 inline bool GetEnableIamSessionBasedIdentity() const { return m_enableIamSessionBasedIdentity; }
293 inline void SetEnableIamSessionBasedIdentity(bool value) {
294 m_enableIamSessionBasedIdentityHasBeenSet = true;
295 m_enableIamSessionBasedIdentity = value;
296 }
299 return *this;
300 }
302
304
308 inline const ErrorInfo& GetError() const { return m_error; }
309 template <typename ErrorT = ErrorInfo>
310 void SetError(ErrorT&& value) {
311 m_errorHasBeenSet = true;
312 m_error = std::forward<ErrorT>(value);
313 }
314 template <typename ErrorT = ErrorInfo>
316 SetError(std::forward<ErrorT>(value));
317 return *this;
318 }
320
322
326 inline bool GetEnableAutoMinorVersionUpgrade() const { return m_enableAutoMinorVersionUpgrade; }
327 inline void SetEnableAutoMinorVersionUpgrade(bool value) {
328 m_enableAutoMinorVersionUpgradeHasBeenSet = true;
329 m_enableAutoMinorVersionUpgrade = value;
330 }
333 return *this;
334 }
336
338
342 inline const Aws::Utils::DateTime& GetCurrentVersionEolDate() const { return m_currentVersionEolDate; }
343 template <typename CurrentVersionEolDateT = Aws::Utils::DateTime>
344 void SetCurrentVersionEolDate(CurrentVersionEolDateT&& value) {
345 m_currentVersionEolDateHasBeenSet = true;
346 m_currentVersionEolDate = std::forward<CurrentVersionEolDateT>(value);
347 }
348 template <typename CurrentVersionEolDateT = Aws::Utils::DateTime>
349 DescribePartnerAppResult& WithCurrentVersionEolDate(CurrentVersionEolDateT&& value) {
350 SetCurrentVersionEolDate(std::forward<CurrentVersionEolDateT>(value));
351 return *this;
352 }
354
356
361 inline const AvailableUpgrade& GetAvailableUpgrade() const { return m_availableUpgrade; }
362 template <typename AvailableUpgradeT = AvailableUpgrade>
363 void SetAvailableUpgrade(AvailableUpgradeT&& value) {
364 m_availableUpgradeHasBeenSet = true;
365 m_availableUpgrade = std::forward<AvailableUpgradeT>(value);
366 }
367 template <typename AvailableUpgradeT = AvailableUpgrade>
368 DescribePartnerAppResult& WithAvailableUpgrade(AvailableUpgradeT&& value) {
369 SetAvailableUpgrade(std::forward<AvailableUpgradeT>(value));
370 return *this;
371 }
373
375
376 inline const Aws::String& GetRequestId() const { return m_requestId; }
377 template <typename RequestIdT = Aws::String>
378 void SetRequestId(RequestIdT&& value) {
379 m_requestIdHasBeenSet = true;
380 m_requestId = std::forward<RequestIdT>(value);
381 }
382 template <typename RequestIdT = Aws::String>
384 SetRequestId(std::forward<RequestIdT>(value));
385 return *this;
386 }
388 private:
389 Aws::String m_arn;
390
391 Aws::String m_name;
392
394
396
397 Aws::Utils::DateTime m_creationTime{};
398
399 Aws::Utils::DateTime m_lastModifiedTime{};
400
401 Aws::String m_executionRoleArn;
402
403 Aws::String m_kmsKeyId;
404
405 Aws::String m_baseUrl;
406
407 PartnerAppMaintenanceConfig m_maintenanceConfig;
408
409 Aws::String m_tier;
410
411 Aws::String m_version;
412
413 PartnerAppConfig m_applicationConfig;
414
416
417 bool m_enableIamSessionBasedIdentity{false};
418
419 ErrorInfo m_error;
420
421 bool m_enableAutoMinorVersionUpgrade{false};
422
423 Aws::Utils::DateTime m_currentVersionEolDate{};
424
425 AvailableUpgrade m_availableUpgrade;
426
427 Aws::String m_requestId;
428 bool m_arnHasBeenSet = false;
429 bool m_nameHasBeenSet = false;
430 bool m_typeHasBeenSet = false;
431 bool m_statusHasBeenSet = false;
432 bool m_creationTimeHasBeenSet = false;
433 bool m_lastModifiedTimeHasBeenSet = false;
434 bool m_executionRoleArnHasBeenSet = false;
435 bool m_kmsKeyIdHasBeenSet = false;
436 bool m_baseUrlHasBeenSet = false;
437 bool m_maintenanceConfigHasBeenSet = false;
438 bool m_tierHasBeenSet = false;
439 bool m_versionHasBeenSet = false;
440 bool m_applicationConfigHasBeenSet = false;
441 bool m_authTypeHasBeenSet = false;
442 bool m_enableIamSessionBasedIdentityHasBeenSet = false;
443 bool m_errorHasBeenSet = false;
444 bool m_enableAutoMinorVersionUpgradeHasBeenSet = false;
445 bool m_currentVersionEolDateHasBeenSet = false;
446 bool m_availableUpgradeHasBeenSet = false;
447 bool m_requestIdHasBeenSet = false;
448};
449
450} // namespace Model
451} // namespace SageMaker
452} // namespace Aws
void SetCurrentVersionEolDate(CurrentVersionEolDateT &&value)
DescribePartnerAppResult & WithMaintenanceConfig(MaintenanceConfigT &&value)
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