AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HumanEvaluationCustomMetric.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_BEDROCK_API HumanEvaluationCustomMetric();
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline HumanEvaluationCustomMetric& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline HumanEvaluationCustomMetric& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline HumanEvaluationCustomMetric& WithName(const char* value) { SetName(value); return *this;}
56
58
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline HumanEvaluationCustomMetric& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline HumanEvaluationCustomMetric& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline HumanEvaluationCustomMetric& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
79 inline const Aws::String& GetRatingMethod() const{ return m_ratingMethod; }
80 inline bool RatingMethodHasBeenSet() const { return m_ratingMethodHasBeenSet; }
81 inline void SetRatingMethod(const Aws::String& value) { m_ratingMethodHasBeenSet = true; m_ratingMethod = value; }
82 inline void SetRatingMethod(Aws::String&& value) { m_ratingMethodHasBeenSet = true; m_ratingMethod = std::move(value); }
83 inline void SetRatingMethod(const char* value) { m_ratingMethodHasBeenSet = true; m_ratingMethod.assign(value); }
84 inline HumanEvaluationCustomMetric& WithRatingMethod(const Aws::String& value) { SetRatingMethod(value); return *this;}
85 inline HumanEvaluationCustomMetric& WithRatingMethod(Aws::String&& value) { SetRatingMethod(std::move(value)); return *this;}
86 inline HumanEvaluationCustomMetric& WithRatingMethod(const char* value) { SetRatingMethod(value); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
96 Aws::String m_ratingMethod;
97 bool m_ratingMethodHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Bedrock
102} // namespace Aws
AWS_BEDROCK_API HumanEvaluationCustomMetric(Aws::Utils::Json::JsonView jsonValue)
HumanEvaluationCustomMetric & WithName(Aws::String &&value)
HumanEvaluationCustomMetric & WithDescription(const Aws::String &value)
HumanEvaluationCustomMetric & WithName(const Aws::String &value)
HumanEvaluationCustomMetric & WithDescription(const char *value)
AWS_BEDROCK_API HumanEvaluationCustomMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanEvaluationCustomMetric & WithRatingMethod(const char *value)
HumanEvaluationCustomMetric & WithRatingMethod(const Aws::String &value)
HumanEvaluationCustomMetric & WithName(const char *value)
HumanEvaluationCustomMetric & WithDescription(Aws::String &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
HumanEvaluationCustomMetric & WithRatingMethod(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue