AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IntentSummary.h
1
6#pragma once
7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lex/model/ConfirmationStatus.h>
11#include <aws/lex/model/DialogActionType.h>
12#include <aws/lex/model/FulfillmentState.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexRuntimeService
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_LEXRUNTIMESERVICE_API IntentSummary() = default;
42 AWS_LEXRUNTIMESERVICE_API IntentSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_LEXRUNTIMESERVICE_API IntentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetIntentName() const { return m_intentName; }
52 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
53 template<typename IntentNameT = Aws::String>
54 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet = true; m_intentName = std::forward<IntentNameT>(value); }
55 template<typename IntentNameT = Aws::String>
56 IntentSummary& WithIntentName(IntentNameT&& value) { SetIntentName(std::forward<IntentNameT>(value)); return *this;}
58
60
67 inline const Aws::String& GetCheckpointLabel() const { return m_checkpointLabel; }
68 inline bool CheckpointLabelHasBeenSet() const { return m_checkpointLabelHasBeenSet; }
69 template<typename CheckpointLabelT = Aws::String>
70 void SetCheckpointLabel(CheckpointLabelT&& value) { m_checkpointLabelHasBeenSet = true; m_checkpointLabel = std::forward<CheckpointLabelT>(value); }
71 template<typename CheckpointLabelT = Aws::String>
72 IntentSummary& WithCheckpointLabel(CheckpointLabelT&& value) { SetCheckpointLabel(std::forward<CheckpointLabelT>(value)); return *this;}
74
76
79 inline const Aws::Map<Aws::String, Aws::String>& GetSlots() const { return m_slots; }
80 inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; }
81 template<typename SlotsT = Aws::Map<Aws::String, Aws::String>>
82 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet = true; m_slots = std::forward<SlotsT>(value); }
83 template<typename SlotsT = Aws::Map<Aws::String, Aws::String>>
84 IntentSummary& WithSlots(SlotsT&& value) { SetSlots(std::forward<SlotsT>(value)); return *this;}
85 template<typename SlotsKeyT = Aws::String, typename SlotsValueT = Aws::String>
86 IntentSummary& AddSlots(SlotsKeyT&& key, SlotsValueT&& value) {
87 m_slotsHasBeenSet = true; m_slots.emplace(std::forward<SlotsKeyT>(key), std::forward<SlotsValueT>(value)); return *this;
88 }
90
92
104 inline ConfirmationStatus GetConfirmationStatus() const { return m_confirmationStatus; }
105 inline bool ConfirmationStatusHasBeenSet() const { return m_confirmationStatusHasBeenSet; }
106 inline void SetConfirmationStatus(ConfirmationStatus value) { m_confirmationStatusHasBeenSet = true; m_confirmationStatus = value; }
109
111
123 inline DialogActionType GetDialogActionType() const { return m_dialogActionType; }
124 inline bool DialogActionTypeHasBeenSet() const { return m_dialogActionTypeHasBeenSet; }
125 inline void SetDialogActionType(DialogActionType value) { m_dialogActionTypeHasBeenSet = true; m_dialogActionType = value; }
128
130
139 inline FulfillmentState GetFulfillmentState() const { return m_fulfillmentState; }
140 inline bool FulfillmentStateHasBeenSet() const { return m_fulfillmentStateHasBeenSet; }
141 inline void SetFulfillmentState(FulfillmentState value) { m_fulfillmentStateHasBeenSet = true; m_fulfillmentState = value; }
144
146
150 inline const Aws::String& GetSlotToElicit() const { return m_slotToElicit; }
151 inline bool SlotToElicitHasBeenSet() const { return m_slotToElicitHasBeenSet; }
152 template<typename SlotToElicitT = Aws::String>
153 void SetSlotToElicit(SlotToElicitT&& value) { m_slotToElicitHasBeenSet = true; m_slotToElicit = std::forward<SlotToElicitT>(value); }
154 template<typename SlotToElicitT = Aws::String>
155 IntentSummary& WithSlotToElicit(SlotToElicitT&& value) { SetSlotToElicit(std::forward<SlotToElicitT>(value)); return *this;}
157 private:
158
159 Aws::String m_intentName;
160 bool m_intentNameHasBeenSet = false;
161
162 Aws::String m_checkpointLabel;
163 bool m_checkpointLabelHasBeenSet = false;
164
166 bool m_slotsHasBeenSet = false;
167
169 bool m_confirmationStatusHasBeenSet = false;
170
172 bool m_dialogActionTypeHasBeenSet = false;
173
175 bool m_fulfillmentStateHasBeenSet = false;
176
177 Aws::String m_slotToElicit;
178 bool m_slotToElicitHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace LexRuntimeService
183} // namespace Aws
ConfirmationStatus GetConfirmationStatus() const
const Aws::String & GetIntentName() const
const Aws::String & GetCheckpointLabel() const
IntentSummary & AddSlots(SlotsKeyT &&key, SlotsValueT &&value)
AWS_LEXRUNTIMESERVICE_API IntentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentSummary & WithIntentName(IntentNameT &&value)
AWS_LEXRUNTIMESERVICE_API IntentSummary()=default
void SetDialogActionType(DialogActionType value)
void SetSlotToElicit(SlotToElicitT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSlots() const
const Aws::String & GetSlotToElicit() const
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
IntentSummary & WithCheckpointLabel(CheckpointLabelT &&value)
void SetFulfillmentState(FulfillmentState value)
void SetCheckpointLabel(CheckpointLabelT &&value)
AWS_LEXRUNTIMESERVICE_API IntentSummary(Aws::Utils::Json::JsonView jsonValue)
IntentSummary & WithConfirmationStatus(ConfirmationStatus value)
void SetConfirmationStatus(ConfirmationStatus value)
IntentSummary & WithDialogActionType(DialogActionType value)
IntentSummary & WithSlots(SlotsT &&value)
IntentSummary & WithSlotToElicit(SlotToElicitT &&value)
IntentSummary & WithFulfillmentState(FulfillmentState value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue