AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConversationLevelSlotResolutionResultItem.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 ConversationLevelSlotResolutionResultItem() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetIntentName() const { return m_intentName; }
47 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
48 template<typename IntentNameT = Aws::String>
49 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet = true; m_intentName = std::forward<IntentNameT>(value); }
50 template<typename IntentNameT = Aws::String>
51 ConversationLevelSlotResolutionResultItem& WithIntentName(IntentNameT&& value) { SetIntentName(std::forward<IntentNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSlotName() const { return m_slotName; }
59 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
60 template<typename SlotNameT = Aws::String>
61 void SetSlotName(SlotNameT&& value) { m_slotNameHasBeenSet = true; m_slotName = std::forward<SlotNameT>(value); }
62 template<typename SlotNameT = Aws::String>
63 ConversationLevelSlotResolutionResultItem& WithSlotName(SlotNameT&& value) { SetSlotName(std::forward<SlotNameT>(value)); return *this;}
65
67
71 inline TestResultMatchStatus GetMatchResult() const { return m_matchResult; }
72 inline bool MatchResultHasBeenSet() const { return m_matchResultHasBeenSet; }
73 inline void SetMatchResult(TestResultMatchStatus value) { m_matchResultHasBeenSet = true; m_matchResult = value; }
76 private:
77
78 Aws::String m_intentName;
79 bool m_intentNameHasBeenSet = false;
80
81 Aws::String m_slotName;
82 bool m_slotNameHasBeenSet = false;
83
85 bool m_matchResultHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace LexModelsV2
90} // namespace Aws
AWS_LEXMODELSV2_API ConversationLevelSlotResolutionResultItem(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelSlotResolutionResultItem & WithIntentName(IntentNameT &&value)
AWS_LEXMODELSV2_API ConversationLevelSlotResolutionResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelSlotResolutionResultItem & WithSlotName(SlotNameT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLevelSlotResolutionResultItem & WithMatchResult(TestResultMatchStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue