AWS SDK for C++  1.9.125
AWS SDK for C++
DeleteSlotTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace LexModelsV2
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteSlotType"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetSlotTypeId() const{ return m_slotTypeId; }
45 
49  inline bool SlotTypeIdHasBeenSet() const { return m_slotTypeIdHasBeenSet; }
50 
54  inline void SetSlotTypeId(const Aws::String& value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId = value; }
55 
59  inline void SetSlotTypeId(Aws::String&& value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId = std::move(value); }
60 
64  inline void SetSlotTypeId(const char* value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId.assign(value); }
65 
69  inline DeleteSlotTypeRequest& WithSlotTypeId(const Aws::String& value) { SetSlotTypeId(value); return *this;}
70 
74  inline DeleteSlotTypeRequest& WithSlotTypeId(Aws::String&& value) { SetSlotTypeId(std::move(value)); return *this;}
75 
79  inline DeleteSlotTypeRequest& WithSlotTypeId(const char* value) { SetSlotTypeId(value); return *this;}
80 
81 
85  inline const Aws::String& GetBotId() const{ return m_botId; }
86 
90  inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
91 
95  inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
96 
100  inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
101 
105  inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
106 
110  inline DeleteSlotTypeRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
111 
115  inline DeleteSlotTypeRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
116 
120  inline DeleteSlotTypeRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
121 
122 
126  inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
127 
131  inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
132 
136  inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
137 
141  inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
142 
146  inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
147 
151  inline DeleteSlotTypeRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
152 
156  inline DeleteSlotTypeRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
157 
161  inline DeleteSlotTypeRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
162 
163 
171  inline const Aws::String& GetLocaleId() const{ return m_localeId; }
172 
180  inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
181 
189  inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
190 
198  inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
199 
207  inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
208 
216  inline DeleteSlotTypeRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
217 
225  inline DeleteSlotTypeRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
226 
234  inline DeleteSlotTypeRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
235 
236 
244  inline bool GetSkipResourceInUseCheck() const{ return m_skipResourceInUseCheck; }
245 
253  inline bool SkipResourceInUseCheckHasBeenSet() const { return m_skipResourceInUseCheckHasBeenSet; }
254 
262  inline void SetSkipResourceInUseCheck(bool value) { m_skipResourceInUseCheckHasBeenSet = true; m_skipResourceInUseCheck = value; }
263 
271  inline DeleteSlotTypeRequest& WithSkipResourceInUseCheck(bool value) { SetSkipResourceInUseCheck(value); return *this;}
272 
273  private:
274 
275  Aws::String m_slotTypeId;
276  bool m_slotTypeIdHasBeenSet;
277 
278  Aws::String m_botId;
279  bool m_botIdHasBeenSet;
280 
281  Aws::String m_botVersion;
282  bool m_botVersionHasBeenSet;
283 
284  Aws::String m_localeId;
285  bool m_localeIdHasBeenSet;
286 
287  bool m_skipResourceInUseCheck;
288  bool m_skipResourceInUseCheckHasBeenSet;
289  };
290 
291 } // namespace Model
292 } // namespace LexModelsV2
293 } // namespace Aws
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetBotVersion
void SetBotVersion(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:141
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::GetSkipResourceInUseCheck
bool GetSkipResourceInUseCheck() const
Definition: DeleteSlotTypeRequest.h:244
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetLocaleId
void SetLocaleId(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:198
Aws::Http::URI
Definition: URI.h:32
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithLocaleId
DeleteSlotTypeRequest & WithLocaleId(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:216
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithSlotTypeId
DeleteSlotTypeRequest & WithSlotTypeId(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:74
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetSlotTypeId
void SetSlotTypeId(const char *value)
Definition: DeleteSlotTypeRequest.h:64
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSlotTypeRequest.h:34
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::LocaleIdHasBeenSet
bool LocaleIdHasBeenSet() const
Definition: DeleteSlotTypeRequest.h:180
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetLocaleId
void SetLocaleId(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:189
Aws::LexModelsV2::Model::DeleteSlotTypeRequest
Definition: DeleteSlotTypeRequest.h:26
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithBotId
DeleteSlotTypeRequest & WithBotId(const char *value)
Definition: DeleteSlotTypeRequest.h:120
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetSlotTypeId
void SetSlotTypeId(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:54
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::DeleteSlotTypeRequest
DeleteSlotTypeRequest()
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithBotVersion
DeleteSlotTypeRequest & WithBotVersion(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:151
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetBotId
void SetBotId(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:100
LexModelsV2Request.h
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithSlotTypeId
DeleteSlotTypeRequest & WithSlotTypeId(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:69
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithBotVersion
DeleteSlotTypeRequest & WithBotVersion(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:156
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithLocaleId
DeleteSlotTypeRequest & WithLocaleId(const char *value)
Definition: DeleteSlotTypeRequest.h:234
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SlotTypeIdHasBeenSet
bool SlotTypeIdHasBeenSet() const
Definition: DeleteSlotTypeRequest.h:49
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::BotVersionHasBeenSet
bool BotVersionHasBeenSet() const
Definition: DeleteSlotTypeRequest.h:131
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithBotVersion
DeleteSlotTypeRequest & WithBotVersion(const char *value)
Definition: DeleteSlotTypeRequest.h:161
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetBotVersion
void SetBotVersion(const char *value)
Definition: DeleteSlotTypeRequest.h:146
AWSString.h
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithLocaleId
DeleteSlotTypeRequest & WithLocaleId(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:225
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::GetBotId
const Aws::String & GetBotId() const
Definition: DeleteSlotTypeRequest.h:85
Aws::LexModelsV2::LexModelsV2Request
Definition: LexModelsV2Request.h:17
AWS_LEXMODELSV2_API
#define AWS_LEXMODELSV2_API
Definition: LexModelsV2_EXPORTS.h:28
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::GetBotVersion
const Aws::String & GetBotVersion() const
Definition: DeleteSlotTypeRequest.h:126
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
LexModelsV2_EXPORTS.h
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::GetLocaleId
const Aws::String & GetLocaleId() const
Definition: DeleteSlotTypeRequest.h:171
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::GetSlotTypeId
const Aws::String & GetSlotTypeId() const
Definition: DeleteSlotTypeRequest.h:44
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithSlotTypeId
DeleteSlotTypeRequest & WithSlotTypeId(const char *value)
Definition: DeleteSlotTypeRequest.h:79
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetBotVersion
void SetBotVersion(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:136
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetSlotTypeId
void SetSlotTypeId(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetSkipResourceInUseCheck
void SetSkipResourceInUseCheck(bool value)
Definition: DeleteSlotTypeRequest.h:262
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetBotId
void SetBotId(const char *value)
Definition: DeleteSlotTypeRequest.h:105
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SkipResourceInUseCheckHasBeenSet
bool SkipResourceInUseCheckHasBeenSet() const
Definition: DeleteSlotTypeRequest.h:253
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithBotId
DeleteSlotTypeRequest & WithBotId(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetLocaleId
void SetLocaleId(const char *value)
Definition: DeleteSlotTypeRequest.h:207
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SetBotId
void SetBotId(const Aws::String &value)
Definition: DeleteSlotTypeRequest.h:95
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::BotIdHasBeenSet
bool BotIdHasBeenSet() const
Definition: DeleteSlotTypeRequest.h:90
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithBotId
DeleteSlotTypeRequest & WithBotId(Aws::String &&value)
Definition: DeleteSlotTypeRequest.h:115
Aws::LexModelsV2::Model::DeleteSlotTypeRequest::WithSkipResourceInUseCheck
DeleteSlotTypeRequest & WithSkipResourceInUseCheck(bool value)
Definition: DeleteSlotTypeRequest.h:271