AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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() = default;
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 template<typename AutomatedT = AutomatedEvaluationConfig>
50 void SetAutomated(AutomatedT&& value) { m_automatedHasBeenSet = true; m_automated = std::forward<AutomatedT>(value); }
51 template<typename AutomatedT = AutomatedEvaluationConfig>
52 EvaluationConfig& WithAutomated(AutomatedT&& value) { SetAutomated(std::forward<AutomatedT>(value)); return *this;}
54
56
60 inline const HumanEvaluationConfig& GetHuman() const { return m_human; }
61 inline bool HumanHasBeenSet() const { return m_humanHasBeenSet; }
62 template<typename HumanT = HumanEvaluationConfig>
63 void SetHuman(HumanT&& value) { m_humanHasBeenSet = true; m_human = std::forward<HumanT>(value); }
64 template<typename HumanT = HumanEvaluationConfig>
65 EvaluationConfig& WithHuman(HumanT&& value) { SetHuman(std::forward<HumanT>(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
AWS_BEDROCK_API EvaluationConfig()=default
EvaluationConfig & WithAutomated(AutomatedT &&value)
EvaluationConfig & WithHuman(HumanT &&value)
AWS_BEDROCK_API EvaluationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const HumanEvaluationConfig & GetHuman() const
void SetAutomated(AutomatedT &&value)
AWS_BEDROCK_API EvaluationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const AutomatedEvaluationConfig & GetAutomated() const
Aws::Utils::Json::JsonValue JsonValue