AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
DescribeSlotRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace LexModelsV2 {
15namespace Model {
16
20 public:
21 AWS_LEXMODELSV2_API DescribeSlotRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeSlot"; }
28
29 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetSlotId() const { return m_slotId; }
36 inline bool SlotIdHasBeenSet() const { return m_slotIdHasBeenSet; }
37 template <typename SlotIdT = Aws::String>
38 void SetSlotId(SlotIdT&& value) {
39 m_slotIdHasBeenSet = true;
40 m_slotId = std::forward<SlotIdT>(value);
41 }
42 template <typename SlotIdT = Aws::String>
43 DescribeSlotRequest& WithSlotId(SlotIdT&& value) {
44 SetSlotId(std::forward<SlotIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetBotId() const { return m_botId; }
54 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
55 template <typename BotIdT = Aws::String>
56 void SetBotId(BotIdT&& value) {
57 m_botIdHasBeenSet = true;
58 m_botId = std::forward<BotIdT>(value);
59 }
60 template <typename BotIdT = Aws::String>
61 DescribeSlotRequest& WithBotId(BotIdT&& value) {
62 SetBotId(std::forward<BotIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
72 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
73 template <typename BotVersionT = Aws::String>
74 void SetBotVersion(BotVersionT&& value) {
75 m_botVersionHasBeenSet = true;
76 m_botVersion = std::forward<BotVersionT>(value);
77 }
78 template <typename BotVersionT = Aws::String>
79 DescribeSlotRequest& WithBotVersion(BotVersionT&& value) {
80 SetBotVersion(std::forward<BotVersionT>(value));
81 return *this;
82 }
84
86
92 inline const Aws::String& GetLocaleId() const { return m_localeId; }
93 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
94 template <typename LocaleIdT = Aws::String>
95 void SetLocaleId(LocaleIdT&& value) {
96 m_localeIdHasBeenSet = true;
97 m_localeId = std::forward<LocaleIdT>(value);
98 }
99 template <typename LocaleIdT = Aws::String>
100 DescribeSlotRequest& WithLocaleId(LocaleIdT&& value) {
101 SetLocaleId(std::forward<LocaleIdT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetIntentId() const { return m_intentId; }
111 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
112 template <typename IntentIdT = Aws::String>
113 void SetIntentId(IntentIdT&& value) {
114 m_intentIdHasBeenSet = true;
115 m_intentId = std::forward<IntentIdT>(value);
116 }
117 template <typename IntentIdT = Aws::String>
118 DescribeSlotRequest& WithIntentId(IntentIdT&& value) {
119 SetIntentId(std::forward<IntentIdT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_slotId;
125
126 Aws::String m_botId;
127
128 Aws::String m_botVersion;
129
130 Aws::String m_localeId;
131
132 Aws::String m_intentId;
133 bool m_slotIdHasBeenSet = false;
134 bool m_botIdHasBeenSet = false;
135 bool m_botVersionHasBeenSet = false;
136 bool m_localeIdHasBeenSet = false;
137 bool m_intentIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace LexModelsV2
142} // namespace Aws
DescribeSlotRequest & WithSlotId(SlotIdT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
DescribeSlotRequest & WithBotVersion(BotVersionT &&value)
DescribeSlotRequest & WithIntentId(IntentIdT &&value)
DescribeSlotRequest & WithBotId(BotIdT &&value)
DescribeSlotRequest & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API DescribeSlotRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String