AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInferenceComponentResult.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/InferenceComponentSpecificationSummary.h>
10#include <aws/sagemaker/model/InferenceComponentRuntimeConfigSummary.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/InferenceComponentStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetInferenceComponentName() const{ return m_inferenceComponentName; }
44 inline void SetInferenceComponentName(const Aws::String& value) { m_inferenceComponentName = value; }
45 inline void SetInferenceComponentName(Aws::String&& value) { m_inferenceComponentName = std::move(value); }
46 inline void SetInferenceComponentName(const char* value) { m_inferenceComponentName.assign(value); }
51
53
56 inline const Aws::String& GetInferenceComponentArn() const{ return m_inferenceComponentArn; }
57 inline void SetInferenceComponentArn(const Aws::String& value) { m_inferenceComponentArn = value; }
58 inline void SetInferenceComponentArn(Aws::String&& value) { m_inferenceComponentArn = std::move(value); }
59 inline void SetInferenceComponentArn(const char* value) { m_inferenceComponentArn.assign(value); }
64
66
69 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
70 inline void SetEndpointName(const Aws::String& value) { m_endpointName = value; }
71 inline void SetEndpointName(Aws::String&& value) { m_endpointName = std::move(value); }
72 inline void SetEndpointName(const char* value) { m_endpointName.assign(value); }
74 inline DescribeInferenceComponentResult& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
75 inline DescribeInferenceComponentResult& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
77
79
83 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
84 inline void SetEndpointArn(const Aws::String& value) { m_endpointArn = value; }
85 inline void SetEndpointArn(Aws::String&& value) { m_endpointArn = std::move(value); }
86 inline void SetEndpointArn(const char* value) { m_endpointArn.assign(value); }
87 inline DescribeInferenceComponentResult& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
88 inline DescribeInferenceComponentResult& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
89 inline DescribeInferenceComponentResult& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
91
93
96 inline const Aws::String& GetVariantName() const{ return m_variantName; }
97 inline void SetVariantName(const Aws::String& value) { m_variantName = value; }
98 inline void SetVariantName(Aws::String&& value) { m_variantName = std::move(value); }
99 inline void SetVariantName(const char* value) { m_variantName.assign(value); }
100 inline DescribeInferenceComponentResult& WithVariantName(const Aws::String& value) { SetVariantName(value); return *this;}
101 inline DescribeInferenceComponentResult& WithVariantName(Aws::String&& value) { SetVariantName(std::move(value)); return *this;}
102 inline DescribeInferenceComponentResult& WithVariantName(const char* value) { SetVariantName(value); return *this;}
104
106
110 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
111 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
112 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
113 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
115 inline DescribeInferenceComponentResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
116 inline DescribeInferenceComponentResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
118
120
124 inline const InferenceComponentSpecificationSummary& GetSpecification() const{ return m_specification; }
125 inline void SetSpecification(const InferenceComponentSpecificationSummary& value) { m_specification = value; }
126 inline void SetSpecification(InferenceComponentSpecificationSummary&& value) { m_specification = std::move(value); }
130
132
136 inline const InferenceComponentRuntimeConfigSummary& GetRuntimeConfig() const{ return m_runtimeConfig; }
137 inline void SetRuntimeConfig(const InferenceComponentRuntimeConfigSummary& value) { m_runtimeConfig = value; }
138 inline void SetRuntimeConfig(InferenceComponentRuntimeConfigSummary&& value) { m_runtimeConfig = std::move(value); }
142
144
147 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
148 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
149 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
153
155
158 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
159 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
160 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
164
166
169 inline const InferenceComponentStatus& GetInferenceComponentStatus() const{ return m_inferenceComponentStatus; }
170 inline void SetInferenceComponentStatus(const InferenceComponentStatus& value) { m_inferenceComponentStatus = value; }
171 inline void SetInferenceComponentStatus(InferenceComponentStatus&& value) { m_inferenceComponentStatus = std::move(value); }
175
177
178 inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
180 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
181 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
182 inline DescribeInferenceComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
183 inline DescribeInferenceComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
184 inline DescribeInferenceComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
186 private:
187
188 Aws::String m_inferenceComponentName;
189
190 Aws::String m_inferenceComponentArn;
191
192 Aws::String m_endpointName;
193
194 Aws::String m_endpointArn;
195
196 Aws::String m_variantName;
197
198 Aws::String m_failureReason;
199
201
203
204 Aws::Utils::DateTime m_creationTime;
205
206 Aws::Utils::DateTime m_lastModifiedTime;
207
208 InferenceComponentStatus m_inferenceComponentStatus;
209
210 Aws::String m_requestId;
211 };
212
213} // namespace Model
214} // namespace SageMaker
215} // namespace Aws
void SetRuntimeConfig(const InferenceComponentRuntimeConfigSummary &value)
DescribeInferenceComponentResult & WithRuntimeConfig(InferenceComponentRuntimeConfigSummary &&value)
DescribeInferenceComponentResult & WithEndpointArn(const Aws::String &value)
void SetSpecification(InferenceComponentSpecificationSummary &&value)
DescribeInferenceComponentResult & WithInferenceComponentArn(const Aws::String &value)
const InferenceComponentSpecificationSummary & GetSpecification() const
DescribeInferenceComponentResult & WithSpecification(const InferenceComponentSpecificationSummary &value)
DescribeInferenceComponentResult & WithSpecification(InferenceComponentSpecificationSummary &&value)
DescribeInferenceComponentResult & WithVariantName(const Aws::String &value)
AWS_SAGEMAKER_API DescribeInferenceComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceComponentResult & WithInferenceComponentArn(const char *value)
DescribeInferenceComponentResult & WithInferenceComponentStatus(const InferenceComponentStatus &value)
DescribeInferenceComponentResult & WithRequestId(const Aws::String &value)
DescribeInferenceComponentResult & WithInferenceComponentName(const char *value)
DescribeInferenceComponentResult & WithFailureReason(Aws::String &&value)
void SetInferenceComponentStatus(const InferenceComponentStatus &value)
DescribeInferenceComponentResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeInferenceComponentResult & WithFailureReason(const char *value)
DescribeInferenceComponentResult & WithVariantName(Aws::String &&value)
DescribeInferenceComponentResult & WithEndpointName(Aws::String &&value)
DescribeInferenceComponentResult & WithInferenceComponentStatus(InferenceComponentStatus &&value)
DescribeInferenceComponentResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeInferenceComponentResult & WithRequestId(const char *value)
DescribeInferenceComponentResult & WithInferenceComponentArn(Aws::String &&value)
DescribeInferenceComponentResult & WithRuntimeConfig(const InferenceComponentRuntimeConfigSummary &value)
DescribeInferenceComponentResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const InferenceComponentRuntimeConfigSummary & GetRuntimeConfig() const
DescribeInferenceComponentResult & WithEndpointName(const char *value)
void SetRuntimeConfig(InferenceComponentRuntimeConfigSummary &&value)
DescribeInferenceComponentResult & WithRequestId(Aws::String &&value)
DescribeInferenceComponentResult & WithInferenceComponentName(Aws::String &&value)
DescribeInferenceComponentResult & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API DescribeInferenceComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceComponentResult & WithInferenceComponentName(const Aws::String &value)
DescribeInferenceComponentResult & WithEndpointArn(Aws::String &&value)
DescribeInferenceComponentResult & WithEndpointArn(const char *value)
void SetSpecification(const InferenceComponentSpecificationSummary &value)
DescribeInferenceComponentResult & WithFailureReason(const Aws::String &value)
DescribeInferenceComponentResult & WithVariantName(const char *value)
DescribeInferenceComponentResult & WithEndpointName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue