AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClarifyInferenceConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/ClarifyFeatureType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API ClarifyInferenceConfig();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetFeaturesAttribute() const{ return m_featuresAttribute; }
52 inline bool FeaturesAttributeHasBeenSet() const { return m_featuresAttributeHasBeenSet; }
53 inline void SetFeaturesAttribute(const Aws::String& value) { m_featuresAttributeHasBeenSet = true; m_featuresAttribute = value; }
54 inline void SetFeaturesAttribute(Aws::String&& value) { m_featuresAttributeHasBeenSet = true; m_featuresAttribute = std::move(value); }
55 inline void SetFeaturesAttribute(const char* value) { m_featuresAttributeHasBeenSet = true; m_featuresAttribute.assign(value); }
57 inline ClarifyInferenceConfig& WithFeaturesAttribute(Aws::String&& value) { SetFeaturesAttribute(std::move(value)); return *this;}
58 inline ClarifyInferenceConfig& WithFeaturesAttribute(const char* value) { SetFeaturesAttribute(value); return *this;}
60
62
70 inline const Aws::String& GetContentTemplate() const{ return m_contentTemplate; }
71 inline bool ContentTemplateHasBeenSet() const { return m_contentTemplateHasBeenSet; }
72 inline void SetContentTemplate(const Aws::String& value) { m_contentTemplateHasBeenSet = true; m_contentTemplate = value; }
73 inline void SetContentTemplate(Aws::String&& value) { m_contentTemplateHasBeenSet = true; m_contentTemplate = std::move(value); }
74 inline void SetContentTemplate(const char* value) { m_contentTemplateHasBeenSet = true; m_contentTemplate.assign(value); }
75 inline ClarifyInferenceConfig& WithContentTemplate(const Aws::String& value) { SetContentTemplate(value); return *this;}
76 inline ClarifyInferenceConfig& WithContentTemplate(Aws::String&& value) { SetContentTemplate(std::move(value)); return *this;}
77 inline ClarifyInferenceConfig& WithContentTemplate(const char* value) { SetContentTemplate(value); return *this;}
79
81
93 inline int GetMaxRecordCount() const{ return m_maxRecordCount; }
94 inline bool MaxRecordCountHasBeenSet() const { return m_maxRecordCountHasBeenSet; }
95 inline void SetMaxRecordCount(int value) { m_maxRecordCountHasBeenSet = true; m_maxRecordCount = value; }
96 inline ClarifyInferenceConfig& WithMaxRecordCount(int value) { SetMaxRecordCount(value); return *this;}
98
100
104 inline int GetMaxPayloadInMB() const{ return m_maxPayloadInMB; }
105 inline bool MaxPayloadInMBHasBeenSet() const { return m_maxPayloadInMBHasBeenSet; }
106 inline void SetMaxPayloadInMB(int value) { m_maxPayloadInMBHasBeenSet = true; m_maxPayloadInMB = value; }
107 inline ClarifyInferenceConfig& WithMaxPayloadInMB(int value) { SetMaxPayloadInMB(value); return *this;}
109
111
125 inline int GetProbabilityIndex() const{ return m_probabilityIndex; }
126 inline bool ProbabilityIndexHasBeenSet() const { return m_probabilityIndexHasBeenSet; }
127 inline void SetProbabilityIndex(int value) { m_probabilityIndexHasBeenSet = true; m_probabilityIndex = value; }
128 inline ClarifyInferenceConfig& WithProbabilityIndex(int value) { SetProbabilityIndex(value); return *this;}
130
132
140 inline int GetLabelIndex() const{ return m_labelIndex; }
141 inline bool LabelIndexHasBeenSet() const { return m_labelIndexHasBeenSet; }
142 inline void SetLabelIndex(int value) { m_labelIndexHasBeenSet = true; m_labelIndex = value; }
143 inline ClarifyInferenceConfig& WithLabelIndex(int value) { SetLabelIndex(value); return *this;}
145
147
154 inline const Aws::String& GetProbabilityAttribute() const{ return m_probabilityAttribute; }
155 inline bool ProbabilityAttributeHasBeenSet() const { return m_probabilityAttributeHasBeenSet; }
156 inline void SetProbabilityAttribute(const Aws::String& value) { m_probabilityAttributeHasBeenSet = true; m_probabilityAttribute = value; }
157 inline void SetProbabilityAttribute(Aws::String&& value) { m_probabilityAttributeHasBeenSet = true; m_probabilityAttribute = std::move(value); }
158 inline void SetProbabilityAttribute(const char* value) { m_probabilityAttributeHasBeenSet = true; m_probabilityAttribute.assign(value); }
160 inline ClarifyInferenceConfig& WithProbabilityAttribute(Aws::String&& value) { SetProbabilityAttribute(std::move(value)); return *this;}
161 inline ClarifyInferenceConfig& WithProbabilityAttribute(const char* value) { SetProbabilityAttribute(value); return *this;}
163
165
173 inline const Aws::String& GetLabelAttribute() const{ return m_labelAttribute; }
174 inline bool LabelAttributeHasBeenSet() const { return m_labelAttributeHasBeenSet; }
175 inline void SetLabelAttribute(const Aws::String& value) { m_labelAttributeHasBeenSet = true; m_labelAttribute = value; }
176 inline void SetLabelAttribute(Aws::String&& value) { m_labelAttributeHasBeenSet = true; m_labelAttribute = std::move(value); }
177 inline void SetLabelAttribute(const char* value) { m_labelAttributeHasBeenSet = true; m_labelAttribute.assign(value); }
178 inline ClarifyInferenceConfig& WithLabelAttribute(const Aws::String& value) { SetLabelAttribute(value); return *this;}
179 inline ClarifyInferenceConfig& WithLabelAttribute(Aws::String&& value) { SetLabelAttribute(std::move(value)); return *this;}
180 inline ClarifyInferenceConfig& WithLabelAttribute(const char* value) { SetLabelAttribute(value); return *this;}
182
184
194 inline const Aws::Vector<Aws::String>& GetLabelHeaders() const{ return m_labelHeaders; }
195 inline bool LabelHeadersHasBeenSet() const { return m_labelHeadersHasBeenSet; }
196 inline void SetLabelHeaders(const Aws::Vector<Aws::String>& value) { m_labelHeadersHasBeenSet = true; m_labelHeaders = value; }
197 inline void SetLabelHeaders(Aws::Vector<Aws::String>&& value) { m_labelHeadersHasBeenSet = true; m_labelHeaders = std::move(value); }
199 inline ClarifyInferenceConfig& WithLabelHeaders(Aws::Vector<Aws::String>&& value) { SetLabelHeaders(std::move(value)); return *this;}
200 inline ClarifyInferenceConfig& AddLabelHeaders(const Aws::String& value) { m_labelHeadersHasBeenSet = true; m_labelHeaders.push_back(value); return *this; }
201 inline ClarifyInferenceConfig& AddLabelHeaders(Aws::String&& value) { m_labelHeadersHasBeenSet = true; m_labelHeaders.push_back(std::move(value)); return *this; }
202 inline ClarifyInferenceConfig& AddLabelHeaders(const char* value) { m_labelHeadersHasBeenSet = true; m_labelHeaders.push_back(value); return *this; }
204
206
214 inline const Aws::Vector<Aws::String>& GetFeatureHeaders() const{ return m_featureHeaders; }
215 inline bool FeatureHeadersHasBeenSet() const { return m_featureHeadersHasBeenSet; }
216 inline void SetFeatureHeaders(const Aws::Vector<Aws::String>& value) { m_featureHeadersHasBeenSet = true; m_featureHeaders = value; }
217 inline void SetFeatureHeaders(Aws::Vector<Aws::String>&& value) { m_featureHeadersHasBeenSet = true; m_featureHeaders = std::move(value); }
219 inline ClarifyInferenceConfig& WithFeatureHeaders(Aws::Vector<Aws::String>&& value) { SetFeatureHeaders(std::move(value)); return *this;}
220 inline ClarifyInferenceConfig& AddFeatureHeaders(const Aws::String& value) { m_featureHeadersHasBeenSet = true; m_featureHeaders.push_back(value); return *this; }
221 inline ClarifyInferenceConfig& AddFeatureHeaders(Aws::String&& value) { m_featureHeadersHasBeenSet = true; m_featureHeaders.push_back(std::move(value)); return *this; }
222 inline ClarifyInferenceConfig& AddFeatureHeaders(const char* value) { m_featureHeadersHasBeenSet = true; m_featureHeaders.push_back(value); return *this; }
224
226
237 inline const Aws::Vector<ClarifyFeatureType>& GetFeatureTypes() const{ return m_featureTypes; }
238 inline bool FeatureTypesHasBeenSet() const { return m_featureTypesHasBeenSet; }
239 inline void SetFeatureTypes(const Aws::Vector<ClarifyFeatureType>& value) { m_featureTypesHasBeenSet = true; m_featureTypes = value; }
240 inline void SetFeatureTypes(Aws::Vector<ClarifyFeatureType>&& value) { m_featureTypesHasBeenSet = true; m_featureTypes = std::move(value); }
243 inline ClarifyInferenceConfig& AddFeatureTypes(const ClarifyFeatureType& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
244 inline ClarifyInferenceConfig& AddFeatureTypes(ClarifyFeatureType&& value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(std::move(value)); return *this; }
246 private:
247
248 Aws::String m_featuresAttribute;
249 bool m_featuresAttributeHasBeenSet = false;
250
251 Aws::String m_contentTemplate;
252 bool m_contentTemplateHasBeenSet = false;
253
254 int m_maxRecordCount;
255 bool m_maxRecordCountHasBeenSet = false;
256
257 int m_maxPayloadInMB;
258 bool m_maxPayloadInMBHasBeenSet = false;
259
260 int m_probabilityIndex;
261 bool m_probabilityIndexHasBeenSet = false;
262
263 int m_labelIndex;
264 bool m_labelIndexHasBeenSet = false;
265
266 Aws::String m_probabilityAttribute;
267 bool m_probabilityAttributeHasBeenSet = false;
268
269 Aws::String m_labelAttribute;
270 bool m_labelAttributeHasBeenSet = false;
271
272 Aws::Vector<Aws::String> m_labelHeaders;
273 bool m_labelHeadersHasBeenSet = false;
274
275 Aws::Vector<Aws::String> m_featureHeaders;
276 bool m_featureHeadersHasBeenSet = false;
277
278 Aws::Vector<ClarifyFeatureType> m_featureTypes;
279 bool m_featureTypesHasBeenSet = false;
280 };
281
282} // namespace Model
283} // namespace SageMaker
284} // namespace Aws
ClarifyInferenceConfig & WithProbabilityAttribute(const char *value)
ClarifyInferenceConfig & WithProbabilityAttribute(Aws::String &&value)
ClarifyInferenceConfig & WithFeatureTypes(Aws::Vector< ClarifyFeatureType > &&value)
ClarifyInferenceConfig & AddLabelHeaders(const char *value)
ClarifyInferenceConfig & WithFeatureHeaders(const Aws::Vector< Aws::String > &value)
ClarifyInferenceConfig & WithMaxPayloadInMB(int value)
ClarifyInferenceConfig & WithLabelIndex(int value)
ClarifyInferenceConfig & WithFeaturesAttribute(const Aws::String &value)
ClarifyInferenceConfig & WithContentTemplate(Aws::String &&value)
void SetFeatureTypes(const Aws::Vector< ClarifyFeatureType > &value)
const Aws::Vector< Aws::String > & GetLabelHeaders() const
ClarifyInferenceConfig & AddFeatureHeaders(Aws::String &&value)
ClarifyInferenceConfig & AddFeatureTypes(const ClarifyFeatureType &value)
void SetFeatureHeaders(Aws::Vector< Aws::String > &&value)
ClarifyInferenceConfig & WithLabelAttribute(const Aws::String &value)
void SetLabelHeaders(const Aws::Vector< Aws::String > &value)
void SetFeatureTypes(Aws::Vector< ClarifyFeatureType > &&value)
ClarifyInferenceConfig & WithLabelHeaders(const Aws::Vector< Aws::String > &value)
ClarifyInferenceConfig & AddLabelHeaders(Aws::String &&value)
AWS_SAGEMAKER_API ClarifyInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
void SetLabelHeaders(Aws::Vector< Aws::String > &&value)
ClarifyInferenceConfig & WithMaxRecordCount(int value)
ClarifyInferenceConfig & AddFeatureTypes(ClarifyFeatureType &&value)
ClarifyInferenceConfig & AddFeatureHeaders(const char *value)
ClarifyInferenceConfig & WithFeaturesAttribute(Aws::String &&value)
ClarifyInferenceConfig & WithLabelHeaders(Aws::Vector< Aws::String > &&value)
ClarifyInferenceConfig & WithLabelAttribute(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFeatureHeaders() const
ClarifyInferenceConfig & WithContentTemplate(const Aws::String &value)
ClarifyInferenceConfig & WithProbabilityAttribute(const Aws::String &value)
ClarifyInferenceConfig & AddLabelHeaders(const Aws::String &value)
AWS_SAGEMAKER_API ClarifyInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClarifyInferenceConfig & WithFeatureTypes(const Aws::Vector< ClarifyFeatureType > &value)
ClarifyInferenceConfig & WithLabelAttribute(const char *value)
ClarifyInferenceConfig & AddFeatureHeaders(const Aws::String &value)
ClarifyInferenceConfig & WithContentTemplate(const char *value)
const Aws::Vector< ClarifyFeatureType > & GetFeatureTypes() const
void SetFeatureHeaders(const Aws::Vector< Aws::String > &value)
ClarifyInferenceConfig & WithFeaturesAttribute(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClarifyInferenceConfig & WithFeatureHeaders(Aws::Vector< Aws::String > &&value)
ClarifyInferenceConfig & WithProbabilityIndex(int 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