AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingDataResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/TrainingData.h>
9#include <aws/rekognition/model/ValidationData.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REKOGNITION_API TrainingDataResult();
37 AWS_REKOGNITION_API TrainingDataResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const TrainingData& GetInput() const{ return m_input; }
47 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
48 inline void SetInput(const TrainingData& value) { m_inputHasBeenSet = true; m_input = value; }
49 inline void SetInput(TrainingData&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
50 inline TrainingDataResult& WithInput(const TrainingData& value) { SetInput(value); return *this;}
51 inline TrainingDataResult& WithInput(TrainingData&& value) { SetInput(std::move(value)); return *this;}
53
55
59 inline const TrainingData& GetOutput() const{ return m_output; }
60 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
61 inline void SetOutput(const TrainingData& value) { m_outputHasBeenSet = true; m_output = value; }
62 inline void SetOutput(TrainingData&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
63 inline TrainingDataResult& WithOutput(const TrainingData& value) { SetOutput(value); return *this;}
64 inline TrainingDataResult& WithOutput(TrainingData&& value) { SetOutput(std::move(value)); return *this;}
66
68
72 inline const ValidationData& GetValidation() const{ return m_validation; }
73 inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; }
74 inline void SetValidation(const ValidationData& value) { m_validationHasBeenSet = true; m_validation = value; }
75 inline void SetValidation(ValidationData&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); }
76 inline TrainingDataResult& WithValidation(const ValidationData& value) { SetValidation(value); return *this;}
77 inline TrainingDataResult& WithValidation(ValidationData&& value) { SetValidation(std::move(value)); return *this;}
79 private:
80
81 TrainingData m_input;
82 bool m_inputHasBeenSet = false;
83
84 TrainingData m_output;
85 bool m_outputHasBeenSet = false;
86
87 ValidationData m_validation;
88 bool m_validationHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Rekognition
93} // namespace Aws
TrainingDataResult & WithValidation(ValidationData &&value)
void SetOutput(const TrainingData &value)
TrainingDataResult & WithOutput(const TrainingData &value)
TrainingDataResult & WithInput(TrainingData &&value)
AWS_REKOGNITION_API TrainingDataResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValidation(const ValidationData &value)
TrainingDataResult & WithOutput(TrainingData &&value)
const ValidationData & GetValidation() const
AWS_REKOGNITION_API TrainingDataResult(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingDataResult & WithValidation(const ValidationData &value)
void SetInput(const TrainingData &value)
TrainingDataResult & WithInput(const TrainingData &value)
Aws::Utils::Json::JsonValue JsonValue