AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeModelResult.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/ContainerDefinition.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/InferenceExecutionConfig.h>
12#include <aws/sagemaker/model/VpcConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sagemaker/model/DeploymentRecommendation.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SAGEMAKER_API DescribeModelResult();
39
40
42
45 inline const Aws::String& GetModelName() const{ return m_modelName; }
46 inline void SetModelName(const Aws::String& value) { m_modelName = value; }
47 inline void SetModelName(Aws::String&& value) { m_modelName = std::move(value); }
48 inline void SetModelName(const char* value) { m_modelName.assign(value); }
49 inline DescribeModelResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
50 inline DescribeModelResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
51 inline DescribeModelResult& WithModelName(const char* value) { SetModelName(value); return *this;}
53
55
60 inline const ContainerDefinition& GetPrimaryContainer() const{ return m_primaryContainer; }
61 inline void SetPrimaryContainer(const ContainerDefinition& value) { m_primaryContainer = value; }
62 inline void SetPrimaryContainer(ContainerDefinition&& value) { m_primaryContainer = std::move(value); }
64 inline DescribeModelResult& WithPrimaryContainer(ContainerDefinition&& value) { SetPrimaryContainer(std::move(value)); return *this;}
66
68
71 inline const Aws::Vector<ContainerDefinition>& GetContainers() const{ return m_containers; }
72 inline void SetContainers(const Aws::Vector<ContainerDefinition>& value) { m_containers = value; }
73 inline void SetContainers(Aws::Vector<ContainerDefinition>&& value) { m_containers = std::move(value); }
75 inline DescribeModelResult& WithContainers(Aws::Vector<ContainerDefinition>&& value) { SetContainers(std::move(value)); return *this;}
76 inline DescribeModelResult& AddContainers(const ContainerDefinition& value) { m_containers.push_back(value); return *this; }
77 inline DescribeModelResult& AddContainers(ContainerDefinition&& value) { m_containers.push_back(std::move(value)); return *this; }
79
81
85 inline const InferenceExecutionConfig& GetInferenceExecutionConfig() const{ return m_inferenceExecutionConfig; }
86 inline void SetInferenceExecutionConfig(const InferenceExecutionConfig& value) { m_inferenceExecutionConfig = value; }
87 inline void SetInferenceExecutionConfig(InferenceExecutionConfig&& value) { m_inferenceExecutionConfig = std::move(value); }
91
93
97 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
98 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArn = value; }
99 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArn = std::move(value); }
100 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); }
101 inline DescribeModelResult& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
102 inline DescribeModelResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
103 inline DescribeModelResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
105
107
115 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
116 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; }
117 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); }
118 inline DescribeModelResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
119 inline DescribeModelResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
127 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
128 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
129 inline DescribeModelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
130 inline DescribeModelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
138 inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
139 inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
140 inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
141 inline DescribeModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
142 inline DescribeModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
143 inline DescribeModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
145
147
151 inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
152 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolation = value; }
155
157
160 inline const DeploymentRecommendation& GetDeploymentRecommendation() const{ return m_deploymentRecommendation; }
161 inline void SetDeploymentRecommendation(const DeploymentRecommendation& value) { m_deploymentRecommendation = value; }
162 inline void SetDeploymentRecommendation(DeploymentRecommendation&& value) { m_deploymentRecommendation = std::move(value); }
166
168
169 inline const Aws::String& GetRequestId() const{ return m_requestId; }
170 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
171 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
172 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
173 inline DescribeModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
174 inline DescribeModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
175 inline DescribeModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
177 private:
178
179 Aws::String m_modelName;
180
181 ContainerDefinition m_primaryContainer;
182
184
185 InferenceExecutionConfig m_inferenceExecutionConfig;
186
187 Aws::String m_executionRoleArn;
188
189 VpcConfig m_vpcConfig;
190
191 Aws::Utils::DateTime m_creationTime;
192
193 Aws::String m_modelArn;
194
195 bool m_enableNetworkIsolation;
196
197 DeploymentRecommendation m_deploymentRecommendation;
198
199 Aws::String m_requestId;
200 };
201
202} // namespace Model
203} // namespace SageMaker
204} // namespace Aws
void SetModelName(const Aws::String &value)
DescribeModelResult & WithExecutionRoleArn(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetContainers(Aws::Vector< ContainerDefinition > &&value)
void SetDeploymentRecommendation(DeploymentRecommendation &&value)
DescribeModelResult & WithContainers(const Aws::Vector< ContainerDefinition > &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const DeploymentRecommendation & GetDeploymentRecommendation() const
DescribeModelResult & WithRequestId(Aws::String &&value)
DescribeModelResult & WithPrimaryContainer(ContainerDefinition &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetDeploymentRecommendation(const DeploymentRecommendation &value)
DescribeModelResult & WithEnableNetworkIsolation(bool value)
DescribeModelResult & WithExecutionRoleArn(const Aws::String &value)
const Aws::String & GetExecutionRoleArn() const
DescribeModelResult & WithPrimaryContainer(const ContainerDefinition &value)
DescribeModelResult & WithInferenceExecutionConfig(InferenceExecutionConfig &&value)
DescribeModelResult & AddContainers(const ContainerDefinition &value)
void SetContainers(const Aws::Vector< ContainerDefinition > &value)
void SetPrimaryContainer(const ContainerDefinition &value)
AWS_SAGEMAKER_API DescribeModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelResult & WithDeploymentRecommendation(DeploymentRecommendation &&value)
const Aws::Vector< ContainerDefinition > & GetContainers() const
void SetPrimaryContainer(ContainerDefinition &&value)
DescribeModelResult & WithRequestId(const char *value)
DescribeModelResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeModelResult & AddContainers(ContainerDefinition &&value)
DescribeModelResult & WithModelArn(Aws::String &&value)
DescribeModelResult & WithVpcConfig(const VpcConfig &value)
DescribeModelResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeModelResult & WithModelName(const char *value)
DescribeModelResult & WithModelName(const Aws::String &value)
AWS_SAGEMAKER_API DescribeModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
DescribeModelResult & WithExecutionRoleArn(Aws::String &&value)
DescribeModelResult & WithInferenceExecutionConfig(const InferenceExecutionConfig &value)
void SetInferenceExecutionConfig(const InferenceExecutionConfig &value)
DescribeModelResult & WithModelArn(const Aws::String &value)
DescribeModelResult & WithDeploymentRecommendation(const DeploymentRecommendation &value)
DescribeModelResult & WithContainers(Aws::Vector< ContainerDefinition > &&value)
void SetInferenceExecutionConfig(InferenceExecutionConfig &&value)
const ContainerDefinition & GetPrimaryContainer() const
DescribeModelResult & WithVpcConfig(VpcConfig &&value)
void SetExecutionRoleArn(const Aws::String &value)
DescribeModelResult & WithModelName(Aws::String &&value)
const InferenceExecutionConfig & GetInferenceExecutionConfig() const
DescribeModelResult & WithModelArn(const char *value)
DescribeModelResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue