AWS SDK for C++  1.9.108
AWS SDK for C++
TrainingDataSchema.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace FraudDetector
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetModelVariables() const{ return m_modelVariables; }
46 
50  inline bool ModelVariablesHasBeenSet() const { return m_modelVariablesHasBeenSet; }
51 
55  inline void SetModelVariables(const Aws::Vector<Aws::String>& value) { m_modelVariablesHasBeenSet = true; m_modelVariables = value; }
56 
60  inline void SetModelVariables(Aws::Vector<Aws::String>&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables = std::move(value); }
61 
65  inline TrainingDataSchema& WithModelVariables(const Aws::Vector<Aws::String>& value) { SetModelVariables(value); return *this;}
66 
70  inline TrainingDataSchema& WithModelVariables(Aws::Vector<Aws::String>&& value) { SetModelVariables(std::move(value)); return *this;}
71 
75  inline TrainingDataSchema& AddModelVariables(const Aws::String& value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(value); return *this; }
76 
80  inline TrainingDataSchema& AddModelVariables(Aws::String&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(std::move(value)); return *this; }
81 
85  inline TrainingDataSchema& AddModelVariables(const char* value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(value); return *this; }
86 
87 
88 
89  inline const LabelSchema& GetLabelSchema() const{ return m_labelSchema; }
90 
91 
92  inline bool LabelSchemaHasBeenSet() const { return m_labelSchemaHasBeenSet; }
93 
94 
95  inline void SetLabelSchema(const LabelSchema& value) { m_labelSchemaHasBeenSet = true; m_labelSchema = value; }
96 
97 
98  inline void SetLabelSchema(LabelSchema&& value) { m_labelSchemaHasBeenSet = true; m_labelSchema = std::move(value); }
99 
100 
101  inline TrainingDataSchema& WithLabelSchema(const LabelSchema& value) { SetLabelSchema(value); return *this;}
102 
103 
104  inline TrainingDataSchema& WithLabelSchema(LabelSchema&& value) { SetLabelSchema(std::move(value)); return *this;}
105 
106  private:
107 
108  Aws::Vector<Aws::String> m_modelVariables;
109  bool m_modelVariablesHasBeenSet;
110 
111  LabelSchema m_labelSchema;
112  bool m_labelSchemaHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace FraudDetector
117 } // namespace Aws
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::TrainingDataSchema::AddModelVariables
TrainingDataSchema & AddModelVariables(Aws::String &&value)
Definition: TrainingDataSchema.h:80
Aws::FraudDetector::Model::TrainingDataSchema::SetLabelSchema
void SetLabelSchema(const LabelSchema &value)
Definition: TrainingDataSchema.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::TrainingDataSchema::operator=
TrainingDataSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::FraudDetector::Model::TrainingDataSchema::WithLabelSchema
TrainingDataSchema & WithLabelSchema(LabelSchema &&value)
Definition: TrainingDataSchema.h:104
Aws::FraudDetector::Model::TrainingDataSchema::SetModelVariables
void SetModelVariables(Aws::Vector< Aws::String > &&value)
Definition: TrainingDataSchema.h:60
Aws::FraudDetector::Model::TrainingDataSchema::GetLabelSchema
const LabelSchema & GetLabelSchema() const
Definition: TrainingDataSchema.h:89
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::TrainingDataSchema::WithModelVariables
TrainingDataSchema & WithModelVariables(Aws::Vector< Aws::String > &&value)
Definition: TrainingDataSchema.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::FraudDetector::Model::TrainingDataSchema::WithModelVariables
TrainingDataSchema & WithModelVariables(const Aws::Vector< Aws::String > &value)
Definition: TrainingDataSchema.h:65
Aws::FraudDetector::Model::TrainingDataSchema::WithLabelSchema
TrainingDataSchema & WithLabelSchema(const LabelSchema &value)
Definition: TrainingDataSchema.h:101
Aws::FraudDetector::Model::TrainingDataSchema
Definition: TrainingDataSchema.h:34
Aws::FraudDetector::Model::TrainingDataSchema::TrainingDataSchema
TrainingDataSchema()
Aws::FraudDetector::Model::TrainingDataSchema::SetModelVariables
void SetModelVariables(const Aws::Vector< Aws::String > &value)
Definition: TrainingDataSchema.h:55
Aws::FraudDetector::Model::TrainingDataSchema::SetLabelSchema
void SetLabelSchema(LabelSchema &&value)
Definition: TrainingDataSchema.h:98
Aws::FraudDetector::Model::TrainingDataSchema::TrainingDataSchema
TrainingDataSchema(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::TrainingDataSchema::AddModelVariables
TrainingDataSchema & AddModelVariables(const char *value)
Definition: TrainingDataSchema.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::TrainingDataSchema::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::TrainingDataSchema::LabelSchemaHasBeenSet
bool LabelSchemaHasBeenSet() const
Definition: TrainingDataSchema.h:92
Aws::FraudDetector::Model::TrainingDataSchema::AddModelVariables
TrainingDataSchema & AddModelVariables(const Aws::String &value)
Definition: TrainingDataSchema.h:75
Aws::FraudDetector::Model::TrainingDataSchema::ModelVariablesHasBeenSet
bool ModelVariablesHasBeenSet() const
Definition: TrainingDataSchema.h:50
LabelSchema.h
Aws::FraudDetector::Model::TrainingDataSchema::GetModelVariables
const Aws::Vector< Aws::String > & GetModelVariables() const
Definition: TrainingDataSchema.h:45
Aws::FraudDetector::Model::LabelSchema
Definition: LabelSchema.h:34