AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConversationLevelIntentClassificationResultItem.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/TestResultMatchStatus.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 ConversationLevelIntentClassificationResultItem() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetIntentName() const { return m_intentName; }
48 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
49 template<typename IntentNameT = Aws::String>
50 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet = true; m_intentName = std::forward<IntentNameT>(value); }
51 template<typename IntentNameT = Aws::String>
52 ConversationLevelIntentClassificationResultItem& WithIntentName(IntentNameT&& value) { SetIntentName(std::forward<IntentNameT>(value)); return *this;}
54
56
60 inline TestResultMatchStatus GetMatchResult() const { return m_matchResult; }
61 inline bool MatchResultHasBeenSet() const { return m_matchResultHasBeenSet; }
62 inline void SetMatchResult(TestResultMatchStatus value) { m_matchResultHasBeenSet = true; m_matchResult = value; }
65 private:
66
67 Aws::String m_intentName;
68 bool m_intentNameHasBeenSet = false;
69
71 bool m_matchResultHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
ConversationLevelIntentClassificationResultItem & WithMatchResult(TestResultMatchStatus value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API ConversationLevelIntentClassificationResultItem(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API ConversationLevelIntentClassificationResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelIntentClassificationResultItem & WithIntentName(IntentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue