AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
InferenceComponentSummary.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/InferenceComponentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API InferenceComponentSummary() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
42 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
43 template <typename CreationTimeT = Aws::Utils::DateTime>
44 void SetCreationTime(CreationTimeT&& value) {
45 m_creationTimeHasBeenSet = true;
46 m_creationTime = std::forward<CreationTimeT>(value);
47 }
48 template <typename CreationTimeT = Aws::Utils::DateTime>
50 SetCreationTime(std::forward<CreationTimeT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetInferenceComponentArn() const { return m_inferenceComponentArn; }
60 inline bool InferenceComponentArnHasBeenSet() const { return m_inferenceComponentArnHasBeenSet; }
61 template <typename InferenceComponentArnT = Aws::String>
62 void SetInferenceComponentArn(InferenceComponentArnT&& value) {
63 m_inferenceComponentArnHasBeenSet = true;
64 m_inferenceComponentArn = std::forward<InferenceComponentArnT>(value);
65 }
66 template <typename InferenceComponentArnT = Aws::String>
67 InferenceComponentSummary& WithInferenceComponentArn(InferenceComponentArnT&& value) {
68 SetInferenceComponentArn(std::forward<InferenceComponentArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetInferenceComponentName() const { return m_inferenceComponentName; }
78 inline bool InferenceComponentNameHasBeenSet() const { return m_inferenceComponentNameHasBeenSet; }
79 template <typename InferenceComponentNameT = Aws::String>
80 void SetInferenceComponentName(InferenceComponentNameT&& value) {
81 m_inferenceComponentNameHasBeenSet = true;
82 m_inferenceComponentName = std::forward<InferenceComponentNameT>(value);
83 }
84 template <typename InferenceComponentNameT = Aws::String>
85 InferenceComponentSummary& WithInferenceComponentName(InferenceComponentNameT&& value) {
86 SetInferenceComponentName(std::forward<InferenceComponentNameT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
97 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
98 template <typename EndpointArnT = Aws::String>
99 void SetEndpointArn(EndpointArnT&& value) {
100 m_endpointArnHasBeenSet = true;
101 m_endpointArn = std::forward<EndpointArnT>(value);
102 }
103 template <typename EndpointArnT = Aws::String>
105 SetEndpointArn(std::forward<EndpointArnT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
115 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
116 template <typename EndpointNameT = Aws::String>
117 void SetEndpointName(EndpointNameT&& value) {
118 m_endpointNameHasBeenSet = true;
119 m_endpointName = std::forward<EndpointNameT>(value);
120 }
121 template <typename EndpointNameT = Aws::String>
123 SetEndpointName(std::forward<EndpointNameT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetVariantName() const { return m_variantName; }
133 inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; }
134 template <typename VariantNameT = Aws::String>
135 void SetVariantName(VariantNameT&& value) {
136 m_variantNameHasBeenSet = true;
137 m_variantName = std::forward<VariantNameT>(value);
138 }
139 template <typename VariantNameT = Aws::String>
141 SetVariantName(std::forward<VariantNameT>(value));
142 return *this;
143 }
145
147
150 inline InferenceComponentStatus GetInferenceComponentStatus() const { return m_inferenceComponentStatus; }
151 inline bool InferenceComponentStatusHasBeenSet() const { return m_inferenceComponentStatusHasBeenSet; }
153 m_inferenceComponentStatusHasBeenSet = true;
154 m_inferenceComponentStatus = value;
155 }
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
167 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
168 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
169 void SetLastModifiedTime(LastModifiedTimeT&& value) {
170 m_lastModifiedTimeHasBeenSet = true;
171 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
172 }
173 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
175 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
176 return *this;
177 }
179 private:
180 Aws::Utils::DateTime m_creationTime{};
181
182 Aws::String m_inferenceComponentArn;
183
184 Aws::String m_inferenceComponentName;
185
186 Aws::String m_endpointArn;
187
188 Aws::String m_endpointName;
189
190 Aws::String m_variantName;
191
193
194 Aws::Utils::DateTime m_lastModifiedTime{};
195 bool m_creationTimeHasBeenSet = false;
196 bool m_inferenceComponentArnHasBeenSet = false;
197 bool m_inferenceComponentNameHasBeenSet = false;
198 bool m_endpointArnHasBeenSet = false;
199 bool m_endpointNameHasBeenSet = false;
200 bool m_variantNameHasBeenSet = false;
201 bool m_inferenceComponentStatusHasBeenSet = false;
202 bool m_lastModifiedTimeHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace SageMaker
207} // namespace Aws
InferenceComponentSummary & WithInferenceComponentArn(InferenceComponentArnT &&value)
AWS_SAGEMAKER_API InferenceComponentSummary()=default
InferenceComponentSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
InferenceComponentSummary & WithEndpointArn(EndpointArnT &&value)
InferenceComponentSummary & WithInferenceComponentStatus(InferenceComponentStatus value)
InferenceComponentSummary & WithInferenceComponentName(InferenceComponentNameT &&value)
InferenceComponentSummary & WithVariantName(VariantNameT &&value)
AWS_SAGEMAKER_API InferenceComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceComponentSummary & WithEndpointName(EndpointNameT &&value)
InferenceComponentSummary & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetInferenceComponentArn(InferenceComponentArnT &&value)
AWS_SAGEMAKER_API InferenceComponentSummary(Aws::Utils::Json::JsonView jsonValue)
void SetInferenceComponentName(InferenceComponentNameT &&value)
void SetInferenceComponentStatus(InferenceComponentStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue