AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ConversationLevelResultDetail.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/TestResultMatchStatus.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API ConversationLevelResultDetail() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline TestResultMatchStatus GetEndToEndResult() const { return m_endToEndResult; }
40 inline bool EndToEndResultHasBeenSet() const { return m_endToEndResultHasBeenSet; }
42 m_endToEndResultHasBeenSet = true;
43 m_endToEndResult = value;
44 }
46 SetEndToEndResult(value);
47 return *this;
48 }
50
52
55 inline TestResultMatchStatus GetSpeechTranscriptionResult() const { return m_speechTranscriptionResult; }
56 inline bool SpeechTranscriptionResultHasBeenSet() const { return m_speechTranscriptionResultHasBeenSet; }
58 m_speechTranscriptionResultHasBeenSet = true;
59 m_speechTranscriptionResult = value;
60 }
63 return *this;
64 }
66 private:
68
69 TestResultMatchStatus m_speechTranscriptionResult{TestResultMatchStatus::NOT_SET};
70 bool m_endToEndResultHasBeenSet = false;
71 bool m_speechTranscriptionResultHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
AWS_LEXMODELSV2_API ConversationLevelResultDetail(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelResultDetail & WithEndToEndResult(TestResultMatchStatus value)
AWS_LEXMODELSV2_API ConversationLevelResultDetail()=default
AWS_LEXMODELSV2_API ConversationLevelResultDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLevelResultDetail & WithSpeechTranscriptionResult(TestResultMatchStatus value)
Aws::Utils::Json::JsonValue JsonValue