AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EndpointInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/ProcessingS3DataDistributionType.h>
10#include <aws/sagemaker/model/ProcessingS3InputMode.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
30 public:
31 AWS_SAGEMAKER_API EndpointInput() = default;
32 AWS_SAGEMAKER_API EndpointInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API EndpointInput& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
42 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
43 template <typename EndpointNameT = Aws::String>
44 void SetEndpointName(EndpointNameT&& value) {
45 m_endpointNameHasBeenSet = true;
46 m_endpointName = std::forward<EndpointNameT>(value);
47 }
48 template <typename EndpointNameT = Aws::String>
49 EndpointInput& WithEndpointName(EndpointNameT&& value) {
50 SetEndpointName(std::forward<EndpointNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetLocalPath() const { return m_localPath; }
61 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
62 template <typename LocalPathT = Aws::String>
63 void SetLocalPath(LocalPathT&& value) {
64 m_localPathHasBeenSet = true;
65 m_localPath = std::forward<LocalPathT>(value);
66 }
67 template <typename LocalPathT = Aws::String>
68 EndpointInput& WithLocalPath(LocalPathT&& value) {
69 SetLocalPath(std::forward<LocalPathT>(value));
70 return *this;
71 }
73
75
81 inline ProcessingS3InputMode GetS3InputMode() const { return m_s3InputMode; }
82 inline bool S3InputModeHasBeenSet() const { return m_s3InputModeHasBeenSet; }
84 m_s3InputModeHasBeenSet = true;
85 m_s3InputMode = value;
86 }
88 SetS3InputMode(value);
89 return *this;
90 }
92
94
98 inline ProcessingS3DataDistributionType GetS3DataDistributionType() const { return m_s3DataDistributionType; }
99 inline bool S3DataDistributionTypeHasBeenSet() const { return m_s3DataDistributionTypeHasBeenSet; }
101 m_s3DataDistributionTypeHasBeenSet = true;
102 m_s3DataDistributionType = value;
103 }
106 return *this;
107 }
109
111
114 inline const Aws::String& GetFeaturesAttribute() const { return m_featuresAttribute; }
115 inline bool FeaturesAttributeHasBeenSet() const { return m_featuresAttributeHasBeenSet; }
116 template <typename FeaturesAttributeT = Aws::String>
117 void SetFeaturesAttribute(FeaturesAttributeT&& value) {
118 m_featuresAttributeHasBeenSet = true;
119 m_featuresAttribute = std::forward<FeaturesAttributeT>(value);
120 }
121 template <typename FeaturesAttributeT = Aws::String>
122 EndpointInput& WithFeaturesAttribute(FeaturesAttributeT&& value) {
123 SetFeaturesAttribute(std::forward<FeaturesAttributeT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetInferenceAttribute() const { return m_inferenceAttribute; }
133 inline bool InferenceAttributeHasBeenSet() const { return m_inferenceAttributeHasBeenSet; }
134 template <typename InferenceAttributeT = Aws::String>
135 void SetInferenceAttribute(InferenceAttributeT&& value) {
136 m_inferenceAttributeHasBeenSet = true;
137 m_inferenceAttribute = std::forward<InferenceAttributeT>(value);
138 }
139 template <typename InferenceAttributeT = Aws::String>
140 EndpointInput& WithInferenceAttribute(InferenceAttributeT&& value) {
141 SetInferenceAttribute(std::forward<InferenceAttributeT>(value));
142 return *this;
143 }
145
147
151 inline const Aws::String& GetProbabilityAttribute() const { return m_probabilityAttribute; }
152 inline bool ProbabilityAttributeHasBeenSet() const { return m_probabilityAttributeHasBeenSet; }
153 template <typename ProbabilityAttributeT = Aws::String>
154 void SetProbabilityAttribute(ProbabilityAttributeT&& value) {
155 m_probabilityAttributeHasBeenSet = true;
156 m_probabilityAttribute = std::forward<ProbabilityAttributeT>(value);
157 }
158 template <typename ProbabilityAttributeT = Aws::String>
159 EndpointInput& WithProbabilityAttribute(ProbabilityAttributeT&& value) {
160 SetProbabilityAttribute(std::forward<ProbabilityAttributeT>(value));
161 return *this;
162 }
164
166
170 inline double GetProbabilityThresholdAttribute() const { return m_probabilityThresholdAttribute; }
171 inline bool ProbabilityThresholdAttributeHasBeenSet() const { return m_probabilityThresholdAttributeHasBeenSet; }
172 inline void SetProbabilityThresholdAttribute(double value) {
173 m_probabilityThresholdAttributeHasBeenSet = true;
174 m_probabilityThresholdAttribute = value;
175 }
178 return *this;
179 }
181
183
189 inline const Aws::String& GetStartTimeOffset() const { return m_startTimeOffset; }
190 inline bool StartTimeOffsetHasBeenSet() const { return m_startTimeOffsetHasBeenSet; }
191 template <typename StartTimeOffsetT = Aws::String>
192 void SetStartTimeOffset(StartTimeOffsetT&& value) {
193 m_startTimeOffsetHasBeenSet = true;
194 m_startTimeOffset = std::forward<StartTimeOffsetT>(value);
195 }
196 template <typename StartTimeOffsetT = Aws::String>
197 EndpointInput& WithStartTimeOffset(StartTimeOffsetT&& value) {
198 SetStartTimeOffset(std::forward<StartTimeOffsetT>(value));
199 return *this;
200 }
202
204
210 inline const Aws::String& GetEndTimeOffset() const { return m_endTimeOffset; }
211 inline bool EndTimeOffsetHasBeenSet() const { return m_endTimeOffsetHasBeenSet; }
212 template <typename EndTimeOffsetT = Aws::String>
213 void SetEndTimeOffset(EndTimeOffsetT&& value) {
214 m_endTimeOffsetHasBeenSet = true;
215 m_endTimeOffset = std::forward<EndTimeOffsetT>(value);
216 }
217 template <typename EndTimeOffsetT = Aws::String>
218 EndpointInput& WithEndTimeOffset(EndTimeOffsetT&& value) {
219 SetEndTimeOffset(std::forward<EndTimeOffsetT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::String& GetExcludeFeaturesAttribute() const { return m_excludeFeaturesAttribute; }
229 inline bool ExcludeFeaturesAttributeHasBeenSet() const { return m_excludeFeaturesAttributeHasBeenSet; }
230 template <typename ExcludeFeaturesAttributeT = Aws::String>
231 void SetExcludeFeaturesAttribute(ExcludeFeaturesAttributeT&& value) {
232 m_excludeFeaturesAttributeHasBeenSet = true;
233 m_excludeFeaturesAttribute = std::forward<ExcludeFeaturesAttributeT>(value);
234 }
235 template <typename ExcludeFeaturesAttributeT = Aws::String>
236 EndpointInput& WithExcludeFeaturesAttribute(ExcludeFeaturesAttributeT&& value) {
237 SetExcludeFeaturesAttribute(std::forward<ExcludeFeaturesAttributeT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_endpointName;
243
244 Aws::String m_localPath;
245
247
249
250 Aws::String m_featuresAttribute;
251
252 Aws::String m_inferenceAttribute;
253
254 Aws::String m_probabilityAttribute;
255
256 double m_probabilityThresholdAttribute{0.0};
257
258 Aws::String m_startTimeOffset;
259
260 Aws::String m_endTimeOffset;
261
262 Aws::String m_excludeFeaturesAttribute;
263 bool m_endpointNameHasBeenSet = false;
264 bool m_localPathHasBeenSet = false;
265 bool m_s3InputModeHasBeenSet = false;
266 bool m_s3DataDistributionTypeHasBeenSet = false;
267 bool m_featuresAttributeHasBeenSet = false;
268 bool m_inferenceAttributeHasBeenSet = false;
269 bool m_probabilityAttributeHasBeenSet = false;
270 bool m_probabilityThresholdAttributeHasBeenSet = false;
271 bool m_startTimeOffsetHasBeenSet = false;
272 bool m_endTimeOffsetHasBeenSet = false;
273 bool m_excludeFeaturesAttributeHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace SageMaker
278} // namespace Aws
EndpointInput & WithEndTimeOffset(EndTimeOffsetT &&value)
EndpointInput & WithLocalPath(LocalPathT &&value)
const Aws::String & GetProbabilityAttribute() const
AWS_SAGEMAKER_API EndpointInput()=default
ProcessingS3DataDistributionType GetS3DataDistributionType() const
void SetLocalPath(LocalPathT &&value)
void SetProbabilityAttribute(ProbabilityAttributeT &&value)
void SetEndpointName(EndpointNameT &&value)
EndpointInput & WithEndpointName(EndpointNameT &&value)
const Aws::String & GetEndTimeOffset() const
AWS_SAGEMAKER_API EndpointInput(Aws::Utils::Json::JsonView jsonValue)
void SetProbabilityThresholdAttribute(double value)
EndpointInput & WithStartTimeOffset(StartTimeOffsetT &&value)
void SetInferenceAttribute(InferenceAttributeT &&value)
void SetS3InputMode(ProcessingS3InputMode value)
void SetExcludeFeaturesAttribute(ExcludeFeaturesAttributeT &&value)
EndpointInput & WithS3DataDistributionType(ProcessingS3DataDistributionType value)
void SetFeaturesAttribute(FeaturesAttributeT &&value)
void SetStartTimeOffset(StartTimeOffsetT &&value)
void SetS3DataDistributionType(ProcessingS3DataDistributionType value)
const Aws::String & GetFeaturesAttribute() const
void SetEndTimeOffset(EndTimeOffsetT &&value)
AWS_SAGEMAKER_API EndpointInput & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointInput & WithFeaturesAttribute(FeaturesAttributeT &&value)
EndpointInput & WithProbabilityThresholdAttribute(double value)
const Aws::String & GetInferenceAttribute() const
EndpointInput & WithProbabilityAttribute(ProbabilityAttributeT &&value)
const Aws::String & GetLocalPath() const
const Aws::String & GetStartTimeOffset() const
const Aws::String & GetExcludeFeaturesAttribute() const
const Aws::String & GetEndpointName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointInput & WithInferenceAttribute(InferenceAttributeT &&value)
EndpointInput & WithS3InputMode(ProcessingS3InputMode value)
EndpointInput & WithExcludeFeaturesAttribute(ExcludeFeaturesAttributeT &&value)
ProcessingS3InputMode GetS3InputMode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue