AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UtteranceLevelTestResultItem.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/TestSetTurnResult.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API UtteranceLevelTestResultItem();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetRecordNumber() const{ return m_recordNumber; }
47 inline bool RecordNumberHasBeenSet() const { return m_recordNumberHasBeenSet; }
48 inline void SetRecordNumber(long long value) { m_recordNumberHasBeenSet = true; m_recordNumber = value; }
49 inline UtteranceLevelTestResultItem& WithRecordNumber(long long value) { SetRecordNumber(value); return *this;}
51
53
56 inline const Aws::String& GetConversationId() const{ return m_conversationId; }
57 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
58 inline void SetConversationId(const Aws::String& value) { m_conversationIdHasBeenSet = true; m_conversationId = value; }
59 inline void SetConversationId(Aws::String&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::move(value); }
60 inline void SetConversationId(const char* value) { m_conversationIdHasBeenSet = true; m_conversationId.assign(value); }
62 inline UtteranceLevelTestResultItem& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;}
63 inline UtteranceLevelTestResultItem& WithConversationId(const char* value) { SetConversationId(value); return *this;}
65
67
70 inline const TestSetTurnResult& GetTurnResult() const{ return m_turnResult; }
71 inline bool TurnResultHasBeenSet() const { return m_turnResultHasBeenSet; }
72 inline void SetTurnResult(const TestSetTurnResult& value) { m_turnResultHasBeenSet = true; m_turnResult = value; }
73 inline void SetTurnResult(TestSetTurnResult&& value) { m_turnResultHasBeenSet = true; m_turnResult = std::move(value); }
74 inline UtteranceLevelTestResultItem& WithTurnResult(const TestSetTurnResult& value) { SetTurnResult(value); return *this;}
75 inline UtteranceLevelTestResultItem& WithTurnResult(TestSetTurnResult&& value) { SetTurnResult(std::move(value)); return *this;}
77 private:
78
79 long long m_recordNumber;
80 bool m_recordNumberHasBeenSet = false;
81
82 Aws::String m_conversationId;
83 bool m_conversationIdHasBeenSet = false;
84
85 TestSetTurnResult m_turnResult;
86 bool m_turnResultHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LexModelsV2
91} // namespace Aws
AWS_LEXMODELSV2_API UtteranceLevelTestResultItem(Aws::Utils::Json::JsonView jsonValue)
UtteranceLevelTestResultItem & WithConversationId(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
UtteranceLevelTestResultItem & WithConversationId(const Aws::String &value)
UtteranceLevelTestResultItem & WithTurnResult(TestSetTurnResult &&value)
UtteranceLevelTestResultItem & WithTurnResult(const TestSetTurnResult &value)
UtteranceLevelTestResultItem & WithRecordNumber(long long value)
UtteranceLevelTestResultItem & WithConversationId(const char *value)
AWS_LEXMODELSV2_API UtteranceLevelTestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue