AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedEvaluationConfig.h>
9#include <aws/bedrock/model/HumanEvaluationConfig.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 Bedrock
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCK_API EvaluationConfig();
37 AWS_BEDROCK_API EvaluationConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AutomatedEvaluationConfig& GetAutomated() const{ return m_automated; }
48 inline bool AutomatedHasBeenSet() const { return m_automatedHasBeenSet; }
49 inline void SetAutomated(const AutomatedEvaluationConfig& value) { m_automatedHasBeenSet = true; m_automated = value; }
50 inline void SetAutomated(AutomatedEvaluationConfig&& value) { m_automatedHasBeenSet = true; m_automated = std::move(value); }
51 inline EvaluationConfig& WithAutomated(const AutomatedEvaluationConfig& value) { SetAutomated(value); return *this;}
52 inline EvaluationConfig& WithAutomated(AutomatedEvaluationConfig&& value) { SetAutomated(std::move(value)); return *this;}
54
56
60 inline const HumanEvaluationConfig& GetHuman() const{ return m_human; }
61 inline bool HumanHasBeenSet() const { return m_humanHasBeenSet; }
62 inline void SetHuman(const HumanEvaluationConfig& value) { m_humanHasBeenSet = true; m_human = value; }
63 inline void SetHuman(HumanEvaluationConfig&& value) { m_humanHasBeenSet = true; m_human = std::move(value); }
64 inline EvaluationConfig& WithHuman(const HumanEvaluationConfig& value) { SetHuman(value); return *this;}
65 inline EvaluationConfig& WithHuman(HumanEvaluationConfig&& value) { SetHuman(std::move(value)); return *this;}
67 private:
68
69 AutomatedEvaluationConfig m_automated;
70 bool m_automatedHasBeenSet = false;
71
73 bool m_humanHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Bedrock
78} // namespace Aws
void SetHuman(const HumanEvaluationConfig &value)
EvaluationConfig & WithHuman(const HumanEvaluationConfig &value)
AWS_BEDROCK_API EvaluationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const HumanEvaluationConfig & GetHuman() const
void SetAutomated(const AutomatedEvaluationConfig &value)
AWS_BEDROCK_API EvaluationConfig(Aws::Utils::Json::JsonView jsonValue)
EvaluationConfig & WithHuman(HumanEvaluationConfig &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAutomated(AutomatedEvaluationConfig &&value)
const AutomatedEvaluationConfig & GetAutomated() const
EvaluationConfig & WithAutomated(const AutomatedEvaluationConfig &value)
void SetHuman(HumanEvaluationConfig &&value)
EvaluationConfig & WithAutomated(AutomatedEvaluationConfig &&value)
Aws::Utils::Json::JsonValue JsonValue