AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; }
50 inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); }
51 inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); }
54 inline ConversationLevelIntentClassificationResultItem& WithIntentName(const char* value) { SetIntentName(value); return *this;}
56
58
62 inline const TestResultMatchStatus& GetMatchResult() const{ return m_matchResult; }
63 inline bool MatchResultHasBeenSet() const { return m_matchResultHasBeenSet; }
64 inline void SetMatchResult(const TestResultMatchStatus& value) { m_matchResultHasBeenSet = true; m_matchResult = value; }
65 inline void SetMatchResult(TestResultMatchStatus&& value) { m_matchResultHasBeenSet = true; m_matchResult = std::move(value); }
69 private:
70
71 Aws::String m_intentName;
72 bool m_intentNameHasBeenSet = false;
73
74 TestResultMatchStatus m_matchResult;
75 bool m_matchResultHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace LexModelsV2
80} // namespace Aws
ConversationLevelIntentClassificationResultItem & WithMatchResult(TestResultMatchStatus &&value)
ConversationLevelIntentClassificationResultItem & WithIntentName(const Aws::String &value)
ConversationLevelIntentClassificationResultItem & WithIntentName(const char *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(Aws::String &&value)
ConversationLevelIntentClassificationResultItem & WithMatchResult(const TestResultMatchStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue