AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribePartnerAppResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/PartnerAppType.h>
10#include <aws/sagemaker/model/PartnerAppStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/PartnerAppMaintenanceConfig.h>
13#include <aws/sagemaker/model/PartnerAppConfig.h>
14#include <aws/sagemaker/model/PartnerAppAuthType.h>
15#include <aws/sagemaker/model/ErrorInfo.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker
31{
32namespace Model
33{
35 {
36 public:
37 AWS_SAGEMAKER_API DescribePartnerAppResult() = default;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 DescribePartnerAppResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 DescribePartnerAppResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
70 inline PartnerAppType GetType() const { return m_type; }
71 inline void SetType(PartnerAppType value) { m_typeHasBeenSet = true; m_type = value; }
72 inline DescribePartnerAppResult& WithType(PartnerAppType value) { SetType(value); return *this;}
74
76
79 inline PartnerAppStatus GetStatus() const { return m_status; }
80 inline void SetStatus(PartnerAppStatus value) { m_statusHasBeenSet = true; m_status = value; }
81 inline DescribePartnerAppResult& WithStatus(PartnerAppStatus value) { SetStatus(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
89 template<typename CreationTimeT = Aws::Utils::DateTime>
90 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
91 template<typename CreationTimeT = Aws::Utils::DateTime>
92 DescribePartnerAppResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
100 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
101 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
102 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
103 DescribePartnerAppResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
105
107
110 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
111 template<typename ExecutionRoleArnT = Aws::String>
112 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
113 template<typename ExecutionRoleArnT = Aws::String>
114 DescribePartnerAppResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
116
118
122 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
123 template<typename KmsKeyIdT = Aws::String>
124 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
125 template<typename KmsKeyIdT = Aws::String>
126 DescribePartnerAppResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
128
130
134 inline const Aws::String& GetBaseUrl() const { return m_baseUrl; }
135 template<typename BaseUrlT = Aws::String>
136 void SetBaseUrl(BaseUrlT&& value) { m_baseUrlHasBeenSet = true; m_baseUrl = std::forward<BaseUrlT>(value); }
137 template<typename BaseUrlT = Aws::String>
138 DescribePartnerAppResult& WithBaseUrl(BaseUrlT&& value) { SetBaseUrl(std::forward<BaseUrlT>(value)); return *this;}
140
142
145 inline const PartnerAppMaintenanceConfig& GetMaintenanceConfig() const { return m_maintenanceConfig; }
146 template<typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
147 void SetMaintenanceConfig(MaintenanceConfigT&& value) { m_maintenanceConfigHasBeenSet = true; m_maintenanceConfig = std::forward<MaintenanceConfigT>(value); }
148 template<typename MaintenanceConfigT = PartnerAppMaintenanceConfig>
149 DescribePartnerAppResult& WithMaintenanceConfig(MaintenanceConfigT&& value) { SetMaintenanceConfig(std::forward<MaintenanceConfigT>(value)); return *this;}
151
153
157 inline const Aws::String& GetTier() const { return m_tier; }
158 template<typename TierT = Aws::String>
159 void SetTier(TierT&& value) { m_tierHasBeenSet = true; m_tier = std::forward<TierT>(value); }
160 template<typename TierT = Aws::String>
161 DescribePartnerAppResult& WithTier(TierT&& value) { SetTier(std::forward<TierT>(value)); return *this;}
163
165
168 inline const Aws::String& GetVersion() const { return m_version; }
169 template<typename VersionT = Aws::String>
170 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
171 template<typename VersionT = Aws::String>
172 DescribePartnerAppResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
174
176
179 inline const PartnerAppConfig& GetApplicationConfig() const { return m_applicationConfig; }
180 template<typename ApplicationConfigT = PartnerAppConfig>
181 void SetApplicationConfig(ApplicationConfigT&& value) { m_applicationConfigHasBeenSet = true; m_applicationConfig = std::forward<ApplicationConfigT>(value); }
182 template<typename ApplicationConfigT = PartnerAppConfig>
183 DescribePartnerAppResult& WithApplicationConfig(ApplicationConfigT&& value) { SetApplicationConfig(std::forward<ApplicationConfigT>(value)); return *this;}
185
187
191 inline PartnerAppAuthType GetAuthType() const { return m_authType; }
192 inline void SetAuthType(PartnerAppAuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
195
197
202 inline bool GetEnableIamSessionBasedIdentity() const { return m_enableIamSessionBasedIdentity; }
203 inline void SetEnableIamSessionBasedIdentity(bool value) { m_enableIamSessionBasedIdentityHasBeenSet = true; m_enableIamSessionBasedIdentity = value; }
206
208
212 inline const ErrorInfo& GetError() const { return m_error; }
213 template<typename ErrorT = ErrorInfo>
214 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
215 template<typename ErrorT = ErrorInfo>
216 DescribePartnerAppResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
218
220
221 inline const Aws::String& GetRequestId() const { return m_requestId; }
222 template<typename RequestIdT = Aws::String>
223 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
224 template<typename RequestIdT = Aws::String>
225 DescribePartnerAppResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
227 private:
228
229 Aws::String m_arn;
230 bool m_arnHasBeenSet = false;
231
232 Aws::String m_name;
233 bool m_nameHasBeenSet = false;
234
236 bool m_typeHasBeenSet = false;
237
239 bool m_statusHasBeenSet = false;
240
241 Aws::Utils::DateTime m_creationTime{};
242 bool m_creationTimeHasBeenSet = false;
243
244 Aws::Utils::DateTime m_lastModifiedTime{};
245 bool m_lastModifiedTimeHasBeenSet = false;
246
247 Aws::String m_executionRoleArn;
248 bool m_executionRoleArnHasBeenSet = false;
249
250 Aws::String m_kmsKeyId;
251 bool m_kmsKeyIdHasBeenSet = false;
252
253 Aws::String m_baseUrl;
254 bool m_baseUrlHasBeenSet = false;
255
256 PartnerAppMaintenanceConfig m_maintenanceConfig;
257 bool m_maintenanceConfigHasBeenSet = false;
258
259 Aws::String m_tier;
260 bool m_tierHasBeenSet = false;
261
262 Aws::String m_version;
263 bool m_versionHasBeenSet = false;
264
265 PartnerAppConfig m_applicationConfig;
266 bool m_applicationConfigHasBeenSet = false;
267
269 bool m_authTypeHasBeenSet = false;
270
271 bool m_enableIamSessionBasedIdentity{false};
272 bool m_enableIamSessionBasedIdentityHasBeenSet = false;
273
274 ErrorInfo m_error;
275 bool m_errorHasBeenSet = false;
276
277 Aws::String m_requestId;
278 bool m_requestIdHasBeenSet = false;
279 };
280
281} // namespace Model
282} // namespace SageMaker
283} // namespace Aws
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)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribePartnerAppResult & WithTier(TierT &&value)
DescribePartnerAppResult & WithRequestId(RequestIdT &&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 & WithAuthType(PartnerAppAuthType value)
DescribePartnerAppResult & WithEnableIamSessionBasedIdentity(bool value)
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