AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; }
54 inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); }
55 inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); }
56 inline IntentSummary& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;}
57 inline IntentSummary& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
58 inline IntentSummary& WithIntentName(const char* value) { SetIntentName(value); return *this;}
60
62
69 inline const Aws::String& GetCheckpointLabel() const{ return m_checkpointLabel; }
70 inline bool CheckpointLabelHasBeenSet() const { return m_checkpointLabelHasBeenSet; }
71 inline void SetCheckpointLabel(const Aws::String& value) { m_checkpointLabelHasBeenSet = true; m_checkpointLabel = value; }
72 inline void SetCheckpointLabel(Aws::String&& value) { m_checkpointLabelHasBeenSet = true; m_checkpointLabel = std::move(value); }
73 inline void SetCheckpointLabel(const char* value) { m_checkpointLabelHasBeenSet = true; m_checkpointLabel.assign(value); }
74 inline IntentSummary& WithCheckpointLabel(const Aws::String& value) { SetCheckpointLabel(value); return *this;}
75 inline IntentSummary& WithCheckpointLabel(Aws::String&& value) { SetCheckpointLabel(std::move(value)); return *this;}
76 inline IntentSummary& WithCheckpointLabel(const char* value) { SetCheckpointLabel(value); return *this;}
78
80
83 inline const Aws::Map<Aws::String, Aws::String>& GetSlots() const{ return m_slots; }
84 inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; }
85 inline void SetSlots(const Aws::Map<Aws::String, Aws::String>& value) { m_slotsHasBeenSet = true; m_slots = value; }
86 inline void SetSlots(Aws::Map<Aws::String, Aws::String>&& value) { m_slotsHasBeenSet = true; m_slots = std::move(value); }
87 inline IntentSummary& WithSlots(const Aws::Map<Aws::String, Aws::String>& value) { SetSlots(value); return *this;}
88 inline IntentSummary& WithSlots(Aws::Map<Aws::String, Aws::String>&& value) { SetSlots(std::move(value)); return *this;}
89 inline IntentSummary& AddSlots(const Aws::String& key, const Aws::String& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; }
90 inline IntentSummary& AddSlots(Aws::String&& key, const Aws::String& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), value); return *this; }
91 inline IntentSummary& AddSlots(const Aws::String& key, Aws::String&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; }
92 inline IntentSummary& AddSlots(Aws::String&& key, Aws::String&& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), std::move(value)); return *this; }
93 inline IntentSummary& AddSlots(const char* key, Aws::String&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; }
94 inline IntentSummary& AddSlots(Aws::String&& key, const char* value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), value); return *this; }
95 inline IntentSummary& AddSlots(const char* key, const char* value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; }
97
99
111 inline const ConfirmationStatus& GetConfirmationStatus() const{ return m_confirmationStatus; }
112 inline bool ConfirmationStatusHasBeenSet() const { return m_confirmationStatusHasBeenSet; }
113 inline void SetConfirmationStatus(const ConfirmationStatus& value) { m_confirmationStatusHasBeenSet = true; m_confirmationStatus = value; }
114 inline void SetConfirmationStatus(ConfirmationStatus&& value) { m_confirmationStatusHasBeenSet = true; m_confirmationStatus = std::move(value); }
116 inline IntentSummary& WithConfirmationStatus(ConfirmationStatus&& value) { SetConfirmationStatus(std::move(value)); return *this;}
118
120
132 inline const DialogActionType& GetDialogActionType() const{ return m_dialogActionType; }
133 inline bool DialogActionTypeHasBeenSet() const { return m_dialogActionTypeHasBeenSet; }
134 inline void SetDialogActionType(const DialogActionType& value) { m_dialogActionTypeHasBeenSet = true; m_dialogActionType = value; }
135 inline void SetDialogActionType(DialogActionType&& value) { m_dialogActionTypeHasBeenSet = true; m_dialogActionType = std::move(value); }
136 inline IntentSummary& WithDialogActionType(const DialogActionType& value) { SetDialogActionType(value); return *this;}
137 inline IntentSummary& WithDialogActionType(DialogActionType&& value) { SetDialogActionType(std::move(value)); return *this;}
139
141
150 inline const FulfillmentState& GetFulfillmentState() const{ return m_fulfillmentState; }
151 inline bool FulfillmentStateHasBeenSet() const { return m_fulfillmentStateHasBeenSet; }
152 inline void SetFulfillmentState(const FulfillmentState& value) { m_fulfillmentStateHasBeenSet = true; m_fulfillmentState = value; }
153 inline void SetFulfillmentState(FulfillmentState&& value) { m_fulfillmentStateHasBeenSet = true; m_fulfillmentState = std::move(value); }
154 inline IntentSummary& WithFulfillmentState(const FulfillmentState& value) { SetFulfillmentState(value); return *this;}
155 inline IntentSummary& WithFulfillmentState(FulfillmentState&& value) { SetFulfillmentState(std::move(value)); return *this;}
157
159
163 inline const Aws::String& GetSlotToElicit() const{ return m_slotToElicit; }
164 inline bool SlotToElicitHasBeenSet() const { return m_slotToElicitHasBeenSet; }
165 inline void SetSlotToElicit(const Aws::String& value) { m_slotToElicitHasBeenSet = true; m_slotToElicit = value; }
166 inline void SetSlotToElicit(Aws::String&& value) { m_slotToElicitHasBeenSet = true; m_slotToElicit = std::move(value); }
167 inline void SetSlotToElicit(const char* value) { m_slotToElicitHasBeenSet = true; m_slotToElicit.assign(value); }
168 inline IntentSummary& WithSlotToElicit(const Aws::String& value) { SetSlotToElicit(value); return *this;}
169 inline IntentSummary& WithSlotToElicit(Aws::String&& value) { SetSlotToElicit(std::move(value)); return *this;}
170 inline IntentSummary& WithSlotToElicit(const char* value) { SetSlotToElicit(value); return *this;}
172 private:
173
174 Aws::String m_intentName;
175 bool m_intentNameHasBeenSet = false;
176
177 Aws::String m_checkpointLabel;
178 bool m_checkpointLabelHasBeenSet = false;
179
181 bool m_slotsHasBeenSet = false;
182
183 ConfirmationStatus m_confirmationStatus;
184 bool m_confirmationStatusHasBeenSet = false;
185
186 DialogActionType m_dialogActionType;
187 bool m_dialogActionTypeHasBeenSet = false;
188
189 FulfillmentState m_fulfillmentState;
190 bool m_fulfillmentStateHasBeenSet = false;
191
192 Aws::String m_slotToElicit;
193 bool m_slotToElicitHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace LexRuntimeService
198} // namespace Aws
IntentSummary & WithCheckpointLabel(const Aws::String &value)
void SetSlots(Aws::Map< Aws::String, Aws::String > &&value)
void SetSlotToElicit(const Aws::String &value)
IntentSummary & WithIntentName(Aws::String &&value)
void SetConfirmationStatus(const ConfirmationStatus &value)
const Aws::String & GetIntentName() const
AWS_LEXRUNTIMESERVICE_API IntentSummary()
IntentSummary & WithSlots(Aws::Map< Aws::String, Aws::String > &&value)
const FulfillmentState & GetFulfillmentState() const
void SetFulfillmentState(const FulfillmentState &value)
const Aws::String & GetCheckpointLabel() const
AWS_LEXRUNTIMESERVICE_API IntentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentSummary & WithSlotToElicit(Aws::String &&value)
void SetCheckpointLabel(const Aws::String &value)
IntentSummary & WithFulfillmentState(FulfillmentState &&value)
IntentSummary & WithSlotToElicit(const Aws::String &value)
void SetIntentName(const Aws::String &value)
IntentSummary & AddSlots(Aws::String &&key, Aws::String &&value)
IntentSummary & WithCheckpointLabel(const char *value)
IntentSummary & WithIntentName(const Aws::String &value)
IntentSummary & WithSlots(const Aws::Map< Aws::String, Aws::String > &value)
IntentSummary & WithDialogActionType(DialogActionType &&value)
const Aws::Map< Aws::String, Aws::String > & GetSlots() const
IntentSummary & AddSlots(const Aws::String &key, const Aws::String &value)
const Aws::String & GetSlotToElicit() const
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
IntentSummary & WithIntentName(const char *value)
IntentSummary & AddSlots(Aws::String &&key, const Aws::String &value)
const ConfirmationStatus & GetConfirmationStatus() const
const DialogActionType & GetDialogActionType() const
IntentSummary & AddSlots(const Aws::String &key, Aws::String &&value)
void SetConfirmationStatus(ConfirmationStatus &&value)
AWS_LEXRUNTIMESERVICE_API IntentSummary(Aws::Utils::Json::JsonView jsonValue)
IntentSummary & WithConfirmationStatus(ConfirmationStatus &&value)
IntentSummary & AddSlots(Aws::String &&key, const char *value)
IntentSummary & AddSlots(const char *key, const char *value)
IntentSummary & AddSlots(const char *key, Aws::String &&value)
IntentSummary & WithFulfillmentState(const FulfillmentState &value)
void SetSlots(const Aws::Map< Aws::String, Aws::String > &value)
IntentSummary & WithSlotToElicit(const char *value)
IntentSummary & WithDialogActionType(const DialogActionType &value)
void SetDialogActionType(const DialogActionType &value)
void SetFulfillmentState(FulfillmentState &&value)
void SetDialogActionType(DialogActionType &&value)
void SetCheckpointLabel(Aws::String &&value)
IntentSummary & WithCheckpointLabel(Aws::String &&value)
IntentSummary & WithConfirmationStatus(const ConfirmationStatus &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