AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GenerationResults.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgentCore {
17namespace Model {
18
26 public:
27 AWS_BEDROCKAGENTCORE_API GenerationResults() = default;
28 AWS_BEDROCKAGENTCORE_API GenerationResults(Aws::Utils::Json::JsonView jsonValue);
29 AWS_BEDROCKAGENTCORE_API GenerationResults& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetSessionsMatched() const { return m_sessionsMatched; }
38 inline bool SessionsMatchedHasBeenSet() const { return m_sessionsMatchedHasBeenSet; }
39 inline void SetSessionsMatched(int value) {
40 m_sessionsMatchedHasBeenSet = true;
41 m_sessionsMatched = value;
42 }
44 SetSessionsMatched(value);
45 return *this;
46 }
48
50
53 inline int GetSessionsSelected() const { return m_sessionsSelected; }
54 inline bool SessionsSelectedHasBeenSet() const { return m_sessionsSelectedHasBeenSet; }
55 inline void SetSessionsSelected(int value) {
56 m_sessionsSelectedHasBeenSet = true;
57 m_sessionsSelected = value;
58 }
61 return *this;
62 }
64
66
71 inline int GetSessionsUnscored() const { return m_sessionsUnscored; }
72 inline bool SessionsUnscoredHasBeenSet() const { return m_sessionsUnscoredHasBeenSet; }
73 inline void SetSessionsUnscored(int value) {
74 m_sessionsUnscoredHasBeenSet = true;
75 m_sessionsUnscored = value;
76 }
79 return *this;
80 }
82
84
88 inline int GetSessionsFailed() const { return m_sessionsFailed; }
89 inline bool SessionsFailedHasBeenSet() const { return m_sessionsFailedHasBeenSet; }
90 inline void SetSessionsFailed(int value) {
91 m_sessionsFailedHasBeenSet = true;
92 m_sessionsFailed = value;
93 }
95 SetSessionsFailed(value);
96 return *this;
97 }
99
101
104 inline int GetScenariosGenerated() const { return m_scenariosGenerated; }
105 inline bool ScenariosGeneratedHasBeenSet() const { return m_scenariosGeneratedHasBeenSet; }
106 inline void SetScenariosGenerated(int value) {
107 m_scenariosGeneratedHasBeenSet = true;
108 m_scenariosGenerated = value;
109 }
112 return *this;
113 }
115
117
121 inline int GetScenariosDeduplicated() const { return m_scenariosDeduplicated; }
122 inline bool ScenariosDeduplicatedHasBeenSet() const { return m_scenariosDeduplicatedHasBeenSet; }
123 inline void SetScenariosDeduplicated(int value) {
124 m_scenariosDeduplicatedHasBeenSet = true;
125 m_scenariosDeduplicated = value;
126 }
129 return *this;
130 }
132
134
137 inline int GetExamplesWritten() const { return m_examplesWritten; }
138 inline bool ExamplesWrittenHasBeenSet() const { return m_examplesWrittenHasBeenSet; }
139 inline void SetExamplesWritten(int value) {
140 m_examplesWrittenHasBeenSet = true;
141 m_examplesWritten = value;
142 }
144 SetExamplesWritten(value);
145 return *this;
146 }
148
150
153 inline int GetExamplesWithGroundTruth() const { return m_examplesWithGroundTruth; }
154 inline bool ExamplesWithGroundTruthHasBeenSet() const { return m_examplesWithGroundTruthHasBeenSet; }
155 inline void SetExamplesWithGroundTruth(int value) {
156 m_examplesWithGroundTruthHasBeenSet = true;
157 m_examplesWithGroundTruth = value;
158 }
161 return *this;
162 }
164 private:
165 int m_sessionsMatched{0};
166
167 int m_sessionsSelected{0};
168
169 int m_sessionsUnscored{0};
170
171 int m_sessionsFailed{0};
172
173 int m_scenariosGenerated{0};
174
175 int m_scenariosDeduplicated{0};
176
177 int m_examplesWritten{0};
178
179 int m_examplesWithGroundTruth{0};
180 bool m_sessionsMatchedHasBeenSet = false;
181 bool m_sessionsSelectedHasBeenSet = false;
182 bool m_sessionsUnscoredHasBeenSet = false;
183 bool m_sessionsFailedHasBeenSet = false;
184 bool m_scenariosGeneratedHasBeenSet = false;
185 bool m_scenariosDeduplicatedHasBeenSet = false;
186 bool m_examplesWrittenHasBeenSet = false;
187 bool m_examplesWithGroundTruthHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace BedrockAgentCore
192} // namespace Aws
AWS_BEDROCKAGENTCORE_API GenerationResults & operator=(Aws::Utils::Json::JsonView jsonValue)
GenerationResults & WithSessionsUnscored(int value)
GenerationResults & WithExamplesWithGroundTruth(int value)
GenerationResults & WithScenariosDeduplicated(int value)
AWS_BEDROCKAGENTCORE_API GenerationResults()=default
GenerationResults & WithScenariosGenerated(int value)
GenerationResults & WithSessionsMatched(int value)
GenerationResults & WithSessionsFailed(int value)
GenerationResults & WithSessionsSelected(int value)
GenerationResults & WithExamplesWritten(int value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API GenerationResults(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue