AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentTurnResult.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/ExecutionErrorDetails.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 AgentTurnResult();
37 AWS_LEXMODELSV2_API AgentTurnResult(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API AgentTurnResult& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetExpectedAgentPrompt() const{ return m_expectedAgentPrompt; }
47 inline bool ExpectedAgentPromptHasBeenSet() const { return m_expectedAgentPromptHasBeenSet; }
48 inline void SetExpectedAgentPrompt(const Aws::String& value) { m_expectedAgentPromptHasBeenSet = true; m_expectedAgentPrompt = value; }
49 inline void SetExpectedAgentPrompt(Aws::String&& value) { m_expectedAgentPromptHasBeenSet = true; m_expectedAgentPrompt = std::move(value); }
50 inline void SetExpectedAgentPrompt(const char* value) { m_expectedAgentPromptHasBeenSet = true; m_expectedAgentPrompt.assign(value); }
51 inline AgentTurnResult& WithExpectedAgentPrompt(const Aws::String& value) { SetExpectedAgentPrompt(value); return *this;}
52 inline AgentTurnResult& WithExpectedAgentPrompt(Aws::String&& value) { SetExpectedAgentPrompt(std::move(value)); return *this;}
53 inline AgentTurnResult& WithExpectedAgentPrompt(const char* value) { SetExpectedAgentPrompt(value); return *this;}
55
57
60 inline const Aws::String& GetActualAgentPrompt() const{ return m_actualAgentPrompt; }
61 inline bool ActualAgentPromptHasBeenSet() const { return m_actualAgentPromptHasBeenSet; }
62 inline void SetActualAgentPrompt(const Aws::String& value) { m_actualAgentPromptHasBeenSet = true; m_actualAgentPrompt = value; }
63 inline void SetActualAgentPrompt(Aws::String&& value) { m_actualAgentPromptHasBeenSet = true; m_actualAgentPrompt = std::move(value); }
64 inline void SetActualAgentPrompt(const char* value) { m_actualAgentPromptHasBeenSet = true; m_actualAgentPrompt.assign(value); }
65 inline AgentTurnResult& WithActualAgentPrompt(const Aws::String& value) { SetActualAgentPrompt(value); return *this;}
66 inline AgentTurnResult& WithActualAgentPrompt(Aws::String&& value) { SetActualAgentPrompt(std::move(value)); return *this;}
67 inline AgentTurnResult& WithActualAgentPrompt(const char* value) { SetActualAgentPrompt(value); return *this;}
69
71
72 inline const ExecutionErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
73 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
74 inline void SetErrorDetails(const ExecutionErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
75 inline void SetErrorDetails(ExecutionErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
76 inline AgentTurnResult& WithErrorDetails(const ExecutionErrorDetails& value) { SetErrorDetails(value); return *this;}
77 inline AgentTurnResult& WithErrorDetails(ExecutionErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetActualElicitedSlot() const{ return m_actualElicitedSlot; }
85 inline bool ActualElicitedSlotHasBeenSet() const { return m_actualElicitedSlotHasBeenSet; }
86 inline void SetActualElicitedSlot(const Aws::String& value) { m_actualElicitedSlotHasBeenSet = true; m_actualElicitedSlot = value; }
87 inline void SetActualElicitedSlot(Aws::String&& value) { m_actualElicitedSlotHasBeenSet = true; m_actualElicitedSlot = std::move(value); }
88 inline void SetActualElicitedSlot(const char* value) { m_actualElicitedSlotHasBeenSet = true; m_actualElicitedSlot.assign(value); }
89 inline AgentTurnResult& WithActualElicitedSlot(const Aws::String& value) { SetActualElicitedSlot(value); return *this;}
90 inline AgentTurnResult& WithActualElicitedSlot(Aws::String&& value) { SetActualElicitedSlot(std::move(value)); return *this;}
91 inline AgentTurnResult& WithActualElicitedSlot(const char* value) { SetActualElicitedSlot(value); return *this;}
93
95
98 inline const Aws::String& GetActualIntent() const{ return m_actualIntent; }
99 inline bool ActualIntentHasBeenSet() const { return m_actualIntentHasBeenSet; }
100 inline void SetActualIntent(const Aws::String& value) { m_actualIntentHasBeenSet = true; m_actualIntent = value; }
101 inline void SetActualIntent(Aws::String&& value) { m_actualIntentHasBeenSet = true; m_actualIntent = std::move(value); }
102 inline void SetActualIntent(const char* value) { m_actualIntentHasBeenSet = true; m_actualIntent.assign(value); }
103 inline AgentTurnResult& WithActualIntent(const Aws::String& value) { SetActualIntent(value); return *this;}
104 inline AgentTurnResult& WithActualIntent(Aws::String&& value) { SetActualIntent(std::move(value)); return *this;}
105 inline AgentTurnResult& WithActualIntent(const char* value) { SetActualIntent(value); return *this;}
107 private:
108
109 Aws::String m_expectedAgentPrompt;
110 bool m_expectedAgentPromptHasBeenSet = false;
111
112 Aws::String m_actualAgentPrompt;
113 bool m_actualAgentPromptHasBeenSet = false;
114
115 ExecutionErrorDetails m_errorDetails;
116 bool m_errorDetailsHasBeenSet = false;
117
118 Aws::String m_actualElicitedSlot;
119 bool m_actualElicitedSlotHasBeenSet = false;
120
121 Aws::String m_actualIntent;
122 bool m_actualIntentHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace LexModelsV2
127} // namespace Aws
AWS_LEXMODELSV2_API AgentTurnResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActualElicitedSlot(Aws::String &&value)
AgentTurnResult & WithActualAgentPrompt(const char *value)
void SetActualAgentPrompt(const Aws::String &value)
const ExecutionErrorDetails & GetErrorDetails() const
AgentTurnResult & WithActualAgentPrompt(Aws::String &&value)
AgentTurnResult & WithErrorDetails(ExecutionErrorDetails &&value)
AgentTurnResult & WithActualElicitedSlot(Aws::String &&value)
void SetActualAgentPrompt(const char *value)
AgentTurnResult & WithExpectedAgentPrompt(Aws::String &&value)
AgentTurnResult & WithActualIntent(const char *value)
AgentTurnResult & WithActualElicitedSlot(const char *value)
void SetActualElicitedSlot(const char *value)
void SetActualAgentPrompt(Aws::String &&value)
AWS_LEXMODELSV2_API AgentTurnResult(Aws::Utils::Json::JsonView jsonValue)
void SetExpectedAgentPrompt(Aws::String &&value)
void SetActualIntent(const Aws::String &value)
const Aws::String & GetExpectedAgentPrompt() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExpectedAgentPrompt(const Aws::String &value)
AgentTurnResult & WithActualIntent(Aws::String &&value)
void SetErrorDetails(ExecutionErrorDetails &&value)
void SetActualElicitedSlot(const Aws::String &value)
const Aws::String & GetActualElicitedSlot() const
void SetErrorDetails(const ExecutionErrorDetails &value)
AgentTurnResult & WithExpectedAgentPrompt(const char *value)
void SetActualIntent(Aws::String &&value)
const Aws::String & GetActualIntent() const
AgentTurnResult & WithErrorDetails(const ExecutionErrorDetails &value)
void SetExpectedAgentPrompt(const char *value)
AgentTurnResult & WithActualIntent(const Aws::String &value)
AgentTurnResult & WithActualElicitedSlot(const Aws::String &value)
const Aws::String & GetActualAgentPrompt() const
AgentTurnResult & WithExpectedAgentPrompt(const Aws::String &value)
AgentTurnResult & WithActualAgentPrompt(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue