/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

The training data schema.

See Also:

AWS * API Reference

*/ class TrainingDataSchema { public: AWS_FRAUDDETECTOR_API TrainingDataSchema(); AWS_FRAUDDETECTOR_API TrainingDataSchema(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API TrainingDataSchema& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The training data schema variables.

*/ inline const Aws::Vector& GetModelVariables() const{ return m_modelVariables; } /** *

The training data schema variables.

*/ inline bool ModelVariablesHasBeenSet() const { return m_modelVariablesHasBeenSet; } /** *

The training data schema variables.

*/ inline void SetModelVariables(const Aws::Vector& value) { m_modelVariablesHasBeenSet = true; m_modelVariables = value; } /** *

The training data schema variables.

*/ inline void SetModelVariables(Aws::Vector&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables = std::move(value); } /** *

The training data schema variables.

*/ inline TrainingDataSchema& WithModelVariables(const Aws::Vector& value) { SetModelVariables(value); return *this;} /** *

The training data schema variables.

*/ inline TrainingDataSchema& WithModelVariables(Aws::Vector&& value) { SetModelVariables(std::move(value)); return *this;} /** *

The training data schema variables.

*/ inline TrainingDataSchema& AddModelVariables(const Aws::String& value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(value); return *this; } /** *

The training data schema variables.

*/ inline TrainingDataSchema& AddModelVariables(Aws::String&& value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(std::move(value)); return *this; } /** *

The training data schema variables.

*/ inline TrainingDataSchema& AddModelVariables(const char* value) { m_modelVariablesHasBeenSet = true; m_modelVariables.push_back(value); return *this; } inline const LabelSchema& GetLabelSchema() const{ return m_labelSchema; } inline bool LabelSchemaHasBeenSet() const { return m_labelSchemaHasBeenSet; } inline void SetLabelSchema(const LabelSchema& value) { m_labelSchemaHasBeenSet = true; m_labelSchema = value; } inline void SetLabelSchema(LabelSchema&& value) { m_labelSchemaHasBeenSet = true; m_labelSchema = std::move(value); } inline TrainingDataSchema& WithLabelSchema(const LabelSchema& value) { SetLabelSchema(value); return *this;} inline TrainingDataSchema& WithLabelSchema(LabelSchema&& value) { SetLabelSchema(std::move(value)); return *this;} private: Aws::Vector m_modelVariables; bool m_modelVariablesHasBeenSet = false; LabelSchema m_labelSchema; bool m_labelSchemaHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws