AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelVariables(const Aws::Vector<Aws::String>& value) { m_modelVariablesHasBeenSet = true; m_modelVariables = value; }
49 inline void SetModelVariables(Aws::Vector<Aws::String>&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables = std::move(value); }
51 inline TrainingDataSchema& WithModelVariables(Aws::Vector<Aws::String>&& value) { SetModelVariables(std::move(value)); return *this;}
52 inline TrainingDataSchema& AddModelVariables(const Aws::String& value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(value); return *this; }
53 inline TrainingDataSchema& AddModelVariables(Aws::String&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(std::move(value)); return *this; }
54 inline TrainingDataSchema& AddModelVariables(const char* value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(value); return *this; }
56
58
59 inline const LabelSchema& GetLabelSchema() const{ return m_labelSchema; }
60 inline bool LabelSchemaHasBeenSet() const { return m_labelSchemaHasBeenSet; }
61 inline void SetLabelSchema(const LabelSchema& value) { m_labelSchemaHasBeenSet = true; m_labelSchema = value; }
62 inline void SetLabelSchema(LabelSchema&& value) { m_labelSchemaHasBeenSet = true; m_labelSchema = std::move(value); }
63 inline TrainingDataSchema& WithLabelSchema(const LabelSchema& value) { SetLabelSchema(value); return *this;}
64 inline TrainingDataSchema& WithLabelSchema(LabelSchema&& value) { SetLabelSchema(std::move(value)); return *this;}
66 private:
67
68 Aws::Vector<Aws::String> m_modelVariables;
69 bool m_modelVariablesHasBeenSet = false;
70
71 LabelSchema m_labelSchema;
72 bool m_labelSchemaHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FraudDetector
77} // namespace Aws
AWS_FRAUDDETECTOR_API TrainingDataSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetModelVariables() const
TrainingDataSchema & AddModelVariables(const char *value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingDataSchema & WithModelVariables(Aws::Vector< Aws::String > &&value)
TrainingDataSchema & WithModelVariables(const Aws::Vector< Aws::String > &value)
void SetModelVariables(const Aws::Vector< Aws::String > &value)
AWS_FRAUDDETECTOR_API TrainingDataSchema(Aws::Utils::Json::JsonView jsonValue)
TrainingDataSchema & AddModelVariables(const Aws::String &value)
TrainingDataSchema & WithLabelSchema(const LabelSchema &value)
TrainingDataSchema & WithLabelSchema(LabelSchema &&value)
TrainingDataSchema & AddModelVariables(Aws::String &&value)
void SetLabelSchema(const LabelSchema &value)
void SetModelVariables(Aws::Vector< Aws::String > &&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