AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeModelResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace SageMaker
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetModelName() const{ return m_modelName; }
44 
48  inline void SetModelName(const Aws::String& value) { m_modelName = value; }
49 
53  inline void SetModelName(Aws::String&& value) { m_modelName = std::move(value); }
54 
58  inline void SetModelName(const char* value) { m_modelName.assign(value); }
59 
63  inline DescribeModelResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
64 
68  inline DescribeModelResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
69 
73  inline DescribeModelResult& WithModelName(const char* value) { SetModelName(value); return *this;}
74 
75 
81  inline const ContainerDefinition& GetPrimaryContainer() const{ return m_primaryContainer; }
82 
88  inline void SetPrimaryContainer(const ContainerDefinition& value) { m_primaryContainer = value; }
89 
95  inline void SetPrimaryContainer(ContainerDefinition&& value) { m_primaryContainer = std::move(value); }
96 
102  inline DescribeModelResult& WithPrimaryContainer(const ContainerDefinition& value) { SetPrimaryContainer(value); return *this;}
103 
109  inline DescribeModelResult& WithPrimaryContainer(ContainerDefinition&& value) { SetPrimaryContainer(std::move(value)); return *this;}
110 
111 
115  inline const Aws::Vector<ContainerDefinition>& GetContainers() const{ return m_containers; }
116 
120  inline void SetContainers(const Aws::Vector<ContainerDefinition>& value) { m_containers = value; }
121 
125  inline void SetContainers(Aws::Vector<ContainerDefinition>&& value) { m_containers = std::move(value); }
126 
130  inline DescribeModelResult& WithContainers(const Aws::Vector<ContainerDefinition>& value) { SetContainers(value); return *this;}
131 
135  inline DescribeModelResult& WithContainers(Aws::Vector<ContainerDefinition>&& value) { SetContainers(std::move(value)); return *this;}
136 
140  inline DescribeModelResult& AddContainers(const ContainerDefinition& value) { m_containers.push_back(value); return *this; }
141 
145  inline DescribeModelResult& AddContainers(ContainerDefinition&& value) { m_containers.push_back(std::move(value)); return *this; }
146 
147 
152  inline const InferenceExecutionConfig& GetInferenceExecutionConfig() const{ return m_inferenceExecutionConfig; }
153 
158  inline void SetInferenceExecutionConfig(const InferenceExecutionConfig& value) { m_inferenceExecutionConfig = value; }
159 
164  inline void SetInferenceExecutionConfig(InferenceExecutionConfig&& value) { m_inferenceExecutionConfig = std::move(value); }
165 
170  inline DescribeModelResult& WithInferenceExecutionConfig(const InferenceExecutionConfig& value) { SetInferenceExecutionConfig(value); return *this;}
171 
176  inline DescribeModelResult& WithInferenceExecutionConfig(InferenceExecutionConfig&& value) { SetInferenceExecutionConfig(std::move(value)); return *this;}
177 
178 
183  inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
184 
189  inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArn = value; }
190 
195  inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArn = std::move(value); }
196 
201  inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); }
202 
207  inline DescribeModelResult& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
208 
213  inline DescribeModelResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
214 
219  inline DescribeModelResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
220 
221 
228  inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
229 
236  inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; }
237 
244  inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); }
245 
252  inline DescribeModelResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
253 
260  inline DescribeModelResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
261 
262 
266  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
267 
271  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
272 
276  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
277 
281  inline DescribeModelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
282 
286  inline DescribeModelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
287 
288 
292  inline const Aws::String& GetModelArn() const{ return m_modelArn; }
293 
297  inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
298 
302  inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
303 
307  inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
308 
312  inline DescribeModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
313 
317  inline DescribeModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
318 
322  inline DescribeModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
323 
324 
329  inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
330 
335  inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolation = value; }
336 
341  inline DescribeModelResult& WithEnableNetworkIsolation(bool value) { SetEnableNetworkIsolation(value); return *this;}
342 
343  private:
344 
345  Aws::String m_modelName;
346 
347  ContainerDefinition m_primaryContainer;
348 
350 
351  InferenceExecutionConfig m_inferenceExecutionConfig;
352 
353  Aws::String m_executionRoleArn;
354 
355  VpcConfig m_vpcConfig;
356 
357  Aws::Utils::DateTime m_creationTime;
358 
359  Aws::String m_modelArn;
360 
361  bool m_enableNetworkIsolation;
362  };
363 
364 } // namespace Model
365 } // namespace SageMaker
366 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeModelResult::DescribeModelResult
DescribeModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeModelResult
Definition: DescribeModelResult.h:33
VpcConfig.h
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeModelResult::WithEnableNetworkIsolation
DescribeModelResult & WithEnableNetworkIsolation(bool value)
Definition: DescribeModelResult.h:341
ContainerDefinition.h
Aws::SageMaker::Model::DescribeModelResult::WithCreationTime
DescribeModelResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeModelResult.h:286
Aws::SageMaker::Model::DescribeModelResult::GetExecutionRoleArn
const Aws::String & GetExecutionRoleArn() const
Definition: DescribeModelResult.h:183
Aws::SageMaker::Model::DescribeModelResult::WithVpcConfig
DescribeModelResult & WithVpcConfig(VpcConfig &&value)
Definition: DescribeModelResult.h:260
Aws::SageMaker::Model::DescribeModelResult::WithExecutionRoleArn
DescribeModelResult & WithExecutionRoleArn(Aws::String &&value)
Definition: DescribeModelResult.h:213
Aws::SageMaker::Model::DescribeModelResult::SetModelArn
void SetModelArn(Aws::String &&value)
Definition: DescribeModelResult.h:302
DateTime.h
Aws::SageMaker::Model::DescribeModelResult::GetModelArn
const Aws::String & GetModelArn() const
Definition: DescribeModelResult.h:292
Aws::SageMaker::Model::DescribeModelResult::SetEnableNetworkIsolation
void SetEnableNetworkIsolation(bool value)
Definition: DescribeModelResult.h:335
Aws::SageMaker::Model::DescribeModelResult::AddContainers
DescribeModelResult & AddContainers(const ContainerDefinition &value)
Definition: DescribeModelResult.h:140
Aws::SageMaker::Model::DescribeModelResult::SetContainers
void SetContainers(const Aws::Vector< ContainerDefinition > &value)
Definition: DescribeModelResult.h:120
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::DescribeModelResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeModelResult.h:266
Aws::SageMaker::Model::ContainerDefinition
Definition: ContainerDefinition.h:37
Aws::SageMaker::Model::DescribeModelResult::WithModelName
DescribeModelResult & WithModelName(const char *value)
Definition: DescribeModelResult.h:73
Aws::SageMaker::Model::DescribeModelResult::AddContainers
DescribeModelResult & AddContainers(ContainerDefinition &&value)
Definition: DescribeModelResult.h:145
Aws::SageMaker::Model::DescribeModelResult::SetInferenceExecutionConfig
void SetInferenceExecutionConfig(const InferenceExecutionConfig &value)
Definition: DescribeModelResult.h:158
AWSVector.h
Aws::SageMaker::Model::DescribeModelResult::WithExecutionRoleArn
DescribeModelResult & WithExecutionRoleArn(const char *value)
Definition: DescribeModelResult.h:219
Aws::SageMaker::Model::DescribeModelResult::SetModelName
void SetModelName(const char *value)
Definition: DescribeModelResult.h:58
Aws::SageMaker::Model::DescribeModelResult::GetVpcConfig
const VpcConfig & GetVpcConfig() const
Definition: DescribeModelResult.h:228
Aws::SageMaker::Model::DescribeModelResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeModelResult.h:276
Aws::SageMaker::Model::DescribeModelResult::WithVpcConfig
DescribeModelResult & WithVpcConfig(const VpcConfig &value)
Definition: DescribeModelResult.h:252
Aws::SageMaker::Model::DescribeModelResult::SetModelArn
void SetModelArn(const char *value)
Definition: DescribeModelResult.h:307
Aws::SageMaker::Model::DescribeModelResult::SetContainers
void SetContainers(Aws::Vector< ContainerDefinition > &&value)
Definition: DescribeModelResult.h:125
Aws::SageMaker::Model::InferenceExecutionConfig
Definition: InferenceExecutionConfig.h:33
Aws::SageMaker::Model::DescribeModelResult::SetExecutionRoleArn
void SetExecutionRoleArn(const char *value)
Definition: DescribeModelResult.h:201
Aws::SageMaker::Model::DescribeModelResult::SetModelArn
void SetModelArn(const Aws::String &value)
Definition: DescribeModelResult.h:297
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeModelResult::DescribeModelResult
DescribeModelResult()
Aws::SageMaker::Model::DescribeModelResult::WithContainers
DescribeModelResult & WithContainers(const Aws::Vector< ContainerDefinition > &value)
Definition: DescribeModelResult.h:130
Aws::SageMaker::Model::DescribeModelResult::SetExecutionRoleArn
void SetExecutionRoleArn(const Aws::String &value)
Definition: DescribeModelResult.h:189
Aws::SageMaker::Model::DescribeModelResult::SetInferenceExecutionConfig
void SetInferenceExecutionConfig(InferenceExecutionConfig &&value)
Definition: DescribeModelResult.h:164
Aws::SageMaker::Model::DescribeModelResult::GetPrimaryContainer
const ContainerDefinition & GetPrimaryContainer() const
Definition: DescribeModelResult.h:81
Aws::SageMaker::Model::DescribeModelResult::WithCreationTime
DescribeModelResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeModelResult.h:281
Aws::SageMaker::Model::DescribeModelResult::WithPrimaryContainer
DescribeModelResult & WithPrimaryContainer(ContainerDefinition &&value)
Definition: DescribeModelResult.h:109
AWSString.h
Aws::SageMaker::Model::DescribeModelResult::SetModelName
void SetModelName(const Aws::String &value)
Definition: DescribeModelResult.h:48
Aws::SageMaker::Model::DescribeModelResult::WithModelArn
DescribeModelResult & WithModelArn(Aws::String &&value)
Definition: DescribeModelResult.h:317
Aws::SageMaker::Model::DescribeModelResult::SetPrimaryContainer
void SetPrimaryContainer(ContainerDefinition &&value)
Definition: DescribeModelResult.h:95
Aws::SageMaker::Model::DescribeModelResult::WithInferenceExecutionConfig
DescribeModelResult & WithInferenceExecutionConfig(const InferenceExecutionConfig &value)
Definition: DescribeModelResult.h:170
Aws::SageMaker::Model::DescribeModelResult::WithModelName
DescribeModelResult & WithModelName(const Aws::String &value)
Definition: DescribeModelResult.h:63
Aws::SageMaker::Model::DescribeModelResult::GetEnableNetworkIsolation
bool GetEnableNetworkIsolation() const
Definition: DescribeModelResult.h:329
Aws::SageMaker::Model::DescribeModelResult::GetInferenceExecutionConfig
const InferenceExecutionConfig & GetInferenceExecutionConfig() const
Definition: DescribeModelResult.h:152
Aws::SageMaker::Model::DescribeModelResult::SetVpcConfig
void SetVpcConfig(const VpcConfig &value)
Definition: DescribeModelResult.h:236
Aws::SageMaker::Model::DescribeModelResult::WithModelArn
DescribeModelResult & WithModelArn(const char *value)
Definition: DescribeModelResult.h:322
Aws::SageMaker::Model::DescribeModelResult::WithContainers
DescribeModelResult & WithContainers(Aws::Vector< ContainerDefinition > &&value)
Definition: DescribeModelResult.h:135
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeModelResult::WithPrimaryContainer
DescribeModelResult & WithPrimaryContainer(const ContainerDefinition &value)
Definition: DescribeModelResult.h:102
Aws::SageMaker::Model::DescribeModelResult::WithExecutionRoleArn
DescribeModelResult & WithExecutionRoleArn(const Aws::String &value)
Definition: DescribeModelResult.h:207
Aws::SageMaker::Model::DescribeModelResult::WithInferenceExecutionConfig
DescribeModelResult & WithInferenceExecutionConfig(InferenceExecutionConfig &&value)
Definition: DescribeModelResult.h:176
Aws::SageMaker::Model::DescribeModelResult::SetExecutionRoleArn
void SetExecutionRoleArn(Aws::String &&value)
Definition: DescribeModelResult.h:195
Aws::SageMaker::Model::DescribeModelResult::SetModelName
void SetModelName(Aws::String &&value)
Definition: DescribeModelResult.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::VpcConfig
Definition: VpcConfig.h:40
Aws::SageMaker::Model::DescribeModelResult::WithModelArn
DescribeModelResult & WithModelArn(const Aws::String &value)
Definition: DescribeModelResult.h:312
Aws::SageMaker::Model::DescribeModelResult::SetVpcConfig
void SetVpcConfig(VpcConfig &&value)
Definition: DescribeModelResult.h:244
Aws::SageMaker::Model::DescribeModelResult::WithModelName
DescribeModelResult & WithModelName(Aws::String &&value)
Definition: DescribeModelResult.h:68
InferenceExecutionConfig.h
Aws::SageMaker::Model::DescribeModelResult::GetContainers
const Aws::Vector< ContainerDefinition > & GetContainers() const
Definition: DescribeModelResult.h:115
Aws::SageMaker::Model::DescribeModelResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeModelResult.h:271
Aws::SageMaker::Model::DescribeModelResult::SetPrimaryContainer
void SetPrimaryContainer(const ContainerDefinition &value)
Definition: DescribeModelResult.h:88
Aws::SageMaker::Model::DescribeModelResult::GetModelName
const Aws::String & GetModelName() const
Definition: DescribeModelResult.h:43
Aws::SageMaker::Model::DescribeModelResult::operator=
DescribeModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)