AWS SDK for C++

AWS SDK for C++ Version 1.11.742

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
29 public:
30 AWS_BEDROCK_API AutomatedEvaluationCustomMetricSource() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const CustomMetricDefinition& GetCustomMetricDefinition() const { return m_customMetricDefinition; }
41 inline bool CustomMetricDefinitionHasBeenSet() const { return m_customMetricDefinitionHasBeenSet; }
42 template <typename CustomMetricDefinitionT = CustomMetricDefinition>
44 m_customMetricDefinitionHasBeenSet = true;
45 m_customMetricDefinition = std::forward<CustomMetricDefinitionT>(value);
46 }
47 template <typename CustomMetricDefinitionT = CustomMetricDefinition>
49 SetCustomMetricDefinition(std::forward<CustomMetricDefinitionT>(value));
50 return *this;
51 }
53 private:
54 CustomMetricDefinition m_customMetricDefinition;
55 bool m_customMetricDefinitionHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Bedrock
60} // 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue