AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename FeaturesAttributeT = Aws::String>
54 void SetFeaturesAttribute(FeaturesAttributeT&& value) { m_featuresAttributeHasBeenSet = true; m_featuresAttribute = std::forward<FeaturesAttributeT>(value); }
55 template<typename FeaturesAttributeT = Aws::String>
56 ClarifyInferenceConfig& WithFeaturesAttribute(FeaturesAttributeT&& value) { SetFeaturesAttribute(std::forward<FeaturesAttributeT>(value)); return *this;}
58
60
68 inline const Aws::String& GetContentTemplate() const { return m_contentTemplate; }
69 inline bool ContentTemplateHasBeenSet() const { return m_contentTemplateHasBeenSet; }
70 template<typename ContentTemplateT = Aws::String>
71 void SetContentTemplate(ContentTemplateT&& value) { m_contentTemplateHasBeenSet = true; m_contentTemplate = std::forward<ContentTemplateT>(value); }
72 template<typename ContentTemplateT = Aws::String>
73 ClarifyInferenceConfig& WithContentTemplate(ContentTemplateT&& value) { SetContentTemplate(std::forward<ContentTemplateT>(value)); return *this;}
75
77
89 inline int GetMaxRecordCount() const { return m_maxRecordCount; }
90 inline bool MaxRecordCountHasBeenSet() const { return m_maxRecordCountHasBeenSet; }
91 inline void SetMaxRecordCount(int value) { m_maxRecordCountHasBeenSet = true; m_maxRecordCount = value; }
92 inline ClarifyInferenceConfig& WithMaxRecordCount(int value) { SetMaxRecordCount(value); return *this;}
94
96
100 inline int GetMaxPayloadInMB() const { return m_maxPayloadInMB; }
101 inline bool MaxPayloadInMBHasBeenSet() const { return m_maxPayloadInMBHasBeenSet; }
102 inline void SetMaxPayloadInMB(int value) { m_maxPayloadInMBHasBeenSet = true; m_maxPayloadInMB = value; }
103 inline ClarifyInferenceConfig& WithMaxPayloadInMB(int value) { SetMaxPayloadInMB(value); return *this;}
105
107
121 inline int GetProbabilityIndex() const { return m_probabilityIndex; }
122 inline bool ProbabilityIndexHasBeenSet() const { return m_probabilityIndexHasBeenSet; }
123 inline void SetProbabilityIndex(int value) { m_probabilityIndexHasBeenSet = true; m_probabilityIndex = value; }
124 inline ClarifyInferenceConfig& WithProbabilityIndex(int value) { SetProbabilityIndex(value); return *this;}
126
128
136 inline int GetLabelIndex() const { return m_labelIndex; }
137 inline bool LabelIndexHasBeenSet() const { return m_labelIndexHasBeenSet; }
138 inline void SetLabelIndex(int value) { m_labelIndexHasBeenSet = true; m_labelIndex = value; }
139 inline ClarifyInferenceConfig& WithLabelIndex(int value) { SetLabelIndex(value); return *this;}
141
143
150 inline const Aws::String& GetProbabilityAttribute() const { return m_probabilityAttribute; }
151 inline bool ProbabilityAttributeHasBeenSet() const { return m_probabilityAttributeHasBeenSet; }
152 template<typename ProbabilityAttributeT = Aws::String>
153 void SetProbabilityAttribute(ProbabilityAttributeT&& value) { m_probabilityAttributeHasBeenSet = true; m_probabilityAttribute = std::forward<ProbabilityAttributeT>(value); }
154 template<typename ProbabilityAttributeT = Aws::String>
155 ClarifyInferenceConfig& WithProbabilityAttribute(ProbabilityAttributeT&& value) { SetProbabilityAttribute(std::forward<ProbabilityAttributeT>(value)); return *this;}
157
159
167 inline const Aws::String& GetLabelAttribute() const { return m_labelAttribute; }
168 inline bool LabelAttributeHasBeenSet() const { return m_labelAttributeHasBeenSet; }
169 template<typename LabelAttributeT = Aws::String>
170 void SetLabelAttribute(LabelAttributeT&& value) { m_labelAttributeHasBeenSet = true; m_labelAttribute = std::forward<LabelAttributeT>(value); }
171 template<typename LabelAttributeT = Aws::String>
172 ClarifyInferenceConfig& WithLabelAttribute(LabelAttributeT&& value) { SetLabelAttribute(std::forward<LabelAttributeT>(value)); return *this;}
174
176
186 inline const Aws::Vector<Aws::String>& GetLabelHeaders() const { return m_labelHeaders; }
187 inline bool LabelHeadersHasBeenSet() const { return m_labelHeadersHasBeenSet; }
188 template<typename LabelHeadersT = Aws::Vector<Aws::String>>
189 void SetLabelHeaders(LabelHeadersT&& value) { m_labelHeadersHasBeenSet = true; m_labelHeaders = std::forward<LabelHeadersT>(value); }
190 template<typename LabelHeadersT = Aws::Vector<Aws::String>>
191 ClarifyInferenceConfig& WithLabelHeaders(LabelHeadersT&& value) { SetLabelHeaders(std::forward<LabelHeadersT>(value)); return *this;}
192 template<typename LabelHeadersT = Aws::String>
193 ClarifyInferenceConfig& AddLabelHeaders(LabelHeadersT&& value) { m_labelHeadersHasBeenSet = true; m_labelHeaders.emplace_back(std::forward<LabelHeadersT>(value)); return *this; }
195
197
205 inline const Aws::Vector<Aws::String>& GetFeatureHeaders() const { return m_featureHeaders; }
206 inline bool FeatureHeadersHasBeenSet() const { return m_featureHeadersHasBeenSet; }
207 template<typename FeatureHeadersT = Aws::Vector<Aws::String>>
208 void SetFeatureHeaders(FeatureHeadersT&& value) { m_featureHeadersHasBeenSet = true; m_featureHeaders = std::forward<FeatureHeadersT>(value); }
209 template<typename FeatureHeadersT = Aws::Vector<Aws::String>>
210 ClarifyInferenceConfig& WithFeatureHeaders(FeatureHeadersT&& value) { SetFeatureHeaders(std::forward<FeatureHeadersT>(value)); return *this;}
211 template<typename FeatureHeadersT = Aws::String>
212 ClarifyInferenceConfig& AddFeatureHeaders(FeatureHeadersT&& value) { m_featureHeadersHasBeenSet = true; m_featureHeaders.emplace_back(std::forward<FeatureHeadersT>(value)); return *this; }
214
216
227 inline const Aws::Vector<ClarifyFeatureType>& GetFeatureTypes() const { return m_featureTypes; }
228 inline bool FeatureTypesHasBeenSet() const { return m_featureTypesHasBeenSet; }
229 template<typename FeatureTypesT = Aws::Vector<ClarifyFeatureType>>
230 void SetFeatureTypes(FeatureTypesT&& value) { m_featureTypesHasBeenSet = true; m_featureTypes = std::forward<FeatureTypesT>(value); }
231 template<typename FeatureTypesT = Aws::Vector<ClarifyFeatureType>>
232 ClarifyInferenceConfig& WithFeatureTypes(FeatureTypesT&& value) { SetFeatureTypes(std::forward<FeatureTypesT>(value)); return *this;}
233 inline ClarifyInferenceConfig& AddFeatureTypes(ClarifyFeatureType value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
235 private:
236
237 Aws::String m_featuresAttribute;
238 bool m_featuresAttributeHasBeenSet = false;
239
240 Aws::String m_contentTemplate;
241 bool m_contentTemplateHasBeenSet = false;
242
243 int m_maxRecordCount{0};
244 bool m_maxRecordCountHasBeenSet = false;
245
246 int m_maxPayloadInMB{0};
247 bool m_maxPayloadInMBHasBeenSet = false;
248
249 int m_probabilityIndex{0};
250 bool m_probabilityIndexHasBeenSet = false;
251
252 int m_labelIndex{0};
253 bool m_labelIndexHasBeenSet = false;
254
255 Aws::String m_probabilityAttribute;
256 bool m_probabilityAttributeHasBeenSet = false;
257
258 Aws::String m_labelAttribute;
259 bool m_labelAttributeHasBeenSet = false;
260
261 Aws::Vector<Aws::String> m_labelHeaders;
262 bool m_labelHeadersHasBeenSet = false;
263
264 Aws::Vector<Aws::String> m_featureHeaders;
265 bool m_featureHeadersHasBeenSet = false;
266
267 Aws::Vector<ClarifyFeatureType> m_featureTypes;
268 bool m_featureTypesHasBeenSet = false;
269 };
270
271} // namespace Model
272} // namespace SageMaker
273} // namespace Aws
ClarifyInferenceConfig & WithMaxPayloadInMB(int value)
ClarifyInferenceConfig & WithLabelIndex(int value)
void SetProbabilityAttribute(ProbabilityAttributeT &&value)
const Aws::Vector< Aws::String > & GetLabelHeaders() const
ClarifyInferenceConfig & WithProbabilityAttribute(ProbabilityAttributeT &&value)
ClarifyInferenceConfig & WithContentTemplate(ContentTemplateT &&value)
ClarifyInferenceConfig & WithLabelAttribute(LabelAttributeT &&value)
AWS_SAGEMAKER_API ClarifyInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
ClarifyInferenceConfig & WithFeatureTypes(FeatureTypesT &&value)
ClarifyInferenceConfig & WithMaxRecordCount(int value)
ClarifyInferenceConfig & WithLabelHeaders(LabelHeadersT &&value)
ClarifyInferenceConfig & AddFeatureHeaders(FeatureHeadersT &&value)
const Aws::Vector< Aws::String > & GetFeatureHeaders() const
ClarifyInferenceConfig & WithFeatureHeaders(FeatureHeadersT &&value)
AWS_SAGEMAKER_API ClarifyInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClarifyInferenceConfig & AddLabelHeaders(LabelHeadersT &&value)
void SetFeaturesAttribute(FeaturesAttributeT &&value)
const Aws::Vector< ClarifyFeatureType > & GetFeatureTypes() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClarifyInferenceConfig & AddFeatureTypes(ClarifyFeatureType value)
AWS_SAGEMAKER_API ClarifyInferenceConfig()=default
ClarifyInferenceConfig & WithProbabilityIndex(int value)
ClarifyInferenceConfig & WithFeaturesAttribute(FeaturesAttributeT &&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