AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; }
49 inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); }
50 inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); }
52 inline ConversationLevelSlotResolutionResultItem& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
53 inline ConversationLevelSlotResolutionResultItem& WithIntentName(const char* value) { SetIntentName(value); return *this;}
55
57
60 inline const Aws::String& GetSlotName() const{ return m_slotName; }
61 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
62 inline void SetSlotName(const Aws::String& value) { m_slotNameHasBeenSet = true; m_slotName = value; }
63 inline void SetSlotName(Aws::String&& value) { m_slotNameHasBeenSet = true; m_slotName = std::move(value); }
64 inline void SetSlotName(const char* value) { m_slotNameHasBeenSet = true; m_slotName.assign(value); }
66 inline ConversationLevelSlotResolutionResultItem& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
67 inline ConversationLevelSlotResolutionResultItem& WithSlotName(const char* value) { SetSlotName(value); return *this;}
69
71
75 inline const TestResultMatchStatus& GetMatchResult() const{ return m_matchResult; }
76 inline bool MatchResultHasBeenSet() const { return m_matchResultHasBeenSet; }
77 inline void SetMatchResult(const TestResultMatchStatus& value) { m_matchResultHasBeenSet = true; m_matchResult = value; }
78 inline void SetMatchResult(TestResultMatchStatus&& value) { m_matchResultHasBeenSet = true; m_matchResult = std::move(value); }
82 private:
83
84 Aws::String m_intentName;
85 bool m_intentNameHasBeenSet = false;
86
87 Aws::String m_slotName;
88 bool m_slotNameHasBeenSet = false;
89
90 TestResultMatchStatus m_matchResult;
91 bool m_matchResultHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace LexModelsV2
96} // namespace Aws
AWS_LEXMODELSV2_API ConversationLevelSlotResolutionResultItem(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelSlotResolutionResultItem & WithIntentName(Aws::String &&value)
ConversationLevelSlotResolutionResultItem & WithSlotName(const Aws::String &value)
ConversationLevelSlotResolutionResultItem & WithMatchResult(TestResultMatchStatus &&value)
AWS_LEXMODELSV2_API ConversationLevelSlotResolutionResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelSlotResolutionResultItem & WithIntentName(const Aws::String &value)
ConversationLevelSlotResolutionResultItem & WithSlotName(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConversationLevelSlotResolutionResultItem & WithSlotName(const char *value)
ConversationLevelSlotResolutionResultItem & WithMatchResult(const TestResultMatchStatus &value)
ConversationLevelSlotResolutionResultItem & WithIntentName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue