AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
AutomatedEvaluationCustomMetricSource.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomMetricDefinition.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCK_API AutomatedEvaluationCustomMetricSource() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const CustomMetricDefinition& GetCustomMetricDefinition() const { return m_customMetricDefinition; }
47 inline bool CustomMetricDefinitionHasBeenSet() const { return m_customMetricDefinitionHasBeenSet; }
48 template<typename CustomMetricDefinitionT = CustomMetricDefinition>
49 void SetCustomMetricDefinition(CustomMetricDefinitionT&& value) { m_customMetricDefinitionHasBeenSet = true; m_customMetricDefinition = std::forward<CustomMetricDefinitionT>(value); }
50 template<typename CustomMetricDefinitionT = CustomMetricDefinition>
51 AutomatedEvaluationCustomMetricSource& WithCustomMetricDefinition(CustomMetricDefinitionT&& value) { SetCustomMetricDefinition(std::forward<CustomMetricDefinitionT>(value)); return *this;}
53 private:
54
55 CustomMetricDefinition m_customMetricDefinition;
56 bool m_customMetricDefinitionHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Bedrock
61} // namespace Aws
AWS_BEDROCK_API AutomatedEvaluationCustomMetricSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API AutomatedEvaluationCustomMetricSource(Aws::Utils::Json::JsonView jsonValue)
AutomatedEvaluationCustomMetricSource & WithCustomMetricDefinition(CustomMetricDefinitionT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue