AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrainingDataSchema.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/frauddetector/model/LabelSchema.h>
10#include <aws/core/utils/memory/stl/AWSString.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 FraudDetector
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FRAUDDETECTOR_API TrainingDataSchema() = default;
37 AWS_FRAUDDETECTOR_API TrainingDataSchema(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API TrainingDataSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetModelVariables() const { return m_modelVariables; }
47 inline bool ModelVariablesHasBeenSet() const { return m_modelVariablesHasBeenSet; }
48 template<typename ModelVariablesT = Aws::Vector<Aws::String>>
49 void SetModelVariables(ModelVariablesT&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables = std::forward<ModelVariablesT>(value); }
50 template<typename ModelVariablesT = Aws::Vector<Aws::String>>
51 TrainingDataSchema& WithModelVariables(ModelVariablesT&& value) { SetModelVariables(std::forward<ModelVariablesT>(value)); return *this;}
52 template<typename ModelVariablesT = Aws::String>
53 TrainingDataSchema& AddModelVariables(ModelVariablesT&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables.emplace_back(std::forward<ModelVariablesT>(value)); return *this; }
55
57
58 inline const LabelSchema& GetLabelSchema() const { return m_labelSchema; }
59 inline bool LabelSchemaHasBeenSet() const { return m_labelSchemaHasBeenSet; }
60 template<typename LabelSchemaT = LabelSchema>
61 void SetLabelSchema(LabelSchemaT&& value) { m_labelSchemaHasBeenSet = true; m_labelSchema = std::forward<LabelSchemaT>(value); }
62 template<typename LabelSchemaT = LabelSchema>
63 TrainingDataSchema& WithLabelSchema(LabelSchemaT&& value) { SetLabelSchema(std::forward<LabelSchemaT>(value)); return *this;}
65 private:
66
67 Aws::Vector<Aws::String> m_modelVariables;
68 bool m_modelVariablesHasBeenSet = false;
69
70 LabelSchema m_labelSchema;
71 bool m_labelSchemaHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace FraudDetector
76} // namespace Aws
void SetModelVariables(ModelVariablesT &&value)
AWS_FRAUDDETECTOR_API TrainingDataSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingDataSchema & WithLabelSchema(LabelSchemaT &&value)
const Aws::Vector< Aws::String > & GetModelVariables() const
TrainingDataSchema & AddModelVariables(ModelVariablesT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingDataSchema & WithModelVariables(ModelVariablesT &&value)
AWS_FRAUDDETECTOR_API TrainingDataSchema(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API TrainingDataSchema()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue