AWS SDK for C++

AWS SDK for C++ Version 1.11.686

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
30 public:
31 AWS_BEDROCK_API EvaluationConfig() = default;
32 AWS_BEDROCK_API EvaluationConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const AutomatedEvaluationConfig& GetAutomated() const { return m_automated; }
42 inline bool AutomatedHasBeenSet() const { return m_automatedHasBeenSet; }
43 template <typename AutomatedT = AutomatedEvaluationConfig>
44 void SetAutomated(AutomatedT&& value) {
45 m_automatedHasBeenSet = true;
46 m_automated = std::forward<AutomatedT>(value);
47 }
48 template <typename AutomatedT = AutomatedEvaluationConfig>
49 EvaluationConfig& WithAutomated(AutomatedT&& value) {
50 SetAutomated(std::forward<AutomatedT>(value));
51 return *this;
52 }
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) {
64 m_humanHasBeenSet = true;
65 m_human = std::forward<HumanT>(value);
66 }
67 template <typename HumanT = HumanEvaluationConfig>
68 EvaluationConfig& WithHuman(HumanT&& value) {
69 SetHuman(std::forward<HumanT>(value));
70 return *this;
71 }
73 private:
74 AutomatedEvaluationConfig m_automated;
75 bool m_automatedHasBeenSet = false;
76
78 bool m_humanHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Bedrock
83} // 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