AWS SDK for C++  1.9.40
AWS SDK for C++
ListSlotTypesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace LexModelsV2
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListSlotTypes"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetBotId() const{ return m_botId; }
42 
46  inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
47 
51  inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
52 
56  inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
57 
61  inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
62 
66  inline ListSlotTypesRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
67 
71  inline ListSlotTypesRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
72 
76  inline ListSlotTypesRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
77 
78 
82  inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
83 
87  inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
88 
92  inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
93 
97  inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
98 
102  inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
103 
107  inline ListSlotTypesRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
108 
112  inline ListSlotTypesRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
113 
117  inline ListSlotTypesRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
118 
119 
126  inline const Aws::String& GetLocaleId() const{ return m_localeId; }
127 
134  inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
135 
142  inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
143 
150  inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
151 
158  inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
159 
166  inline ListSlotTypesRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
167 
174  inline ListSlotTypesRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
175 
182  inline ListSlotTypesRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
183 
184 
190  inline const SlotTypeSortBy& GetSortBy() const{ return m_sortBy; }
191 
197  inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
198 
204  inline void SetSortBy(const SlotTypeSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
205 
211  inline void SetSortBy(SlotTypeSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
212 
218  inline ListSlotTypesRequest& WithSortBy(const SlotTypeSortBy& value) { SetSortBy(value); return *this;}
219 
225  inline ListSlotTypesRequest& WithSortBy(SlotTypeSortBy&& value) { SetSortBy(std::move(value)); return *this;}
226 
227 
233  inline const Aws::Vector<SlotTypeFilter>& GetFilters() const{ return m_filters; }
234 
240  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
241 
247  inline void SetFilters(const Aws::Vector<SlotTypeFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
248 
254  inline void SetFilters(Aws::Vector<SlotTypeFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
255 
261  inline ListSlotTypesRequest& WithFilters(const Aws::Vector<SlotTypeFilter>& value) { SetFilters(value); return *this;}
262 
268  inline ListSlotTypesRequest& WithFilters(Aws::Vector<SlotTypeFilter>&& value) { SetFilters(std::move(value)); return *this;}
269 
275  inline ListSlotTypesRequest& AddFilters(const SlotTypeFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
276 
282  inline ListSlotTypesRequest& AddFilters(SlotTypeFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
283 
284 
290  inline int GetMaxResults() const{ return m_maxResults; }
291 
297  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
298 
304  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
305 
311  inline ListSlotTypesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
312 
313 
320  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
321 
328  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
329 
336  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
337 
344  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
345 
352  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
353 
360  inline ListSlotTypesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
361 
368  inline ListSlotTypesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
369 
376  inline ListSlotTypesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
377 
378  private:
379 
380  Aws::String m_botId;
381  bool m_botIdHasBeenSet;
382 
383  Aws::String m_botVersion;
384  bool m_botVersionHasBeenSet;
385 
386  Aws::String m_localeId;
387  bool m_localeIdHasBeenSet;
388 
389  SlotTypeSortBy m_sortBy;
390  bool m_sortByHasBeenSet;
391 
392  Aws::Vector<SlotTypeFilter> m_filters;
393  bool m_filtersHasBeenSet;
394 
395  int m_maxResults;
396  bool m_maxResultsHasBeenSet;
397 
398  Aws::String m_nextToken;
399  bool m_nextTokenHasBeenSet;
400  };
401 
402 } // namespace Model
403 } // namespace LexModelsV2
404 } // namespace Aws
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithBotVersion
ListSlotTypesRequest & WithBotVersion(const Aws::String &value)
Definition: ListSlotTypesRequest.h:107
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSlotTypesRequest.h:320
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithSortBy
ListSlotTypesRequest & WithSortBy(SlotTypeSortBy &&value)
Definition: ListSlotTypesRequest.h:225
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetBotVersion
void SetBotVersion(const char *value)
Definition: ListSlotTypesRequest.h:102
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetBotVersion
void SetBotVersion(const Aws::String &value)
Definition: ListSlotTypesRequest.h:92
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetBotId
void SetBotId(const char *value)
Definition: ListSlotTypesRequest.h:61
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithBotVersion
ListSlotTypesRequest & WithBotVersion(Aws::String &&value)
Definition: ListSlotTypesRequest.h:112
Aws::LexModelsV2::Model::SlotTypeFilter
Definition: SlotTypeFilter.h:36
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetBotId
const Aws::String & GetBotId() const
Definition: ListSlotTypesRequest.h:41
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithSortBy
ListSlotTypesRequest & WithSortBy(const SlotTypeSortBy &value)
Definition: ListSlotTypesRequest.h:218
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithLocaleId
ListSlotTypesRequest & WithLocaleId(const char *value)
Definition: ListSlotTypesRequest.h:182
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithNextToken
ListSlotTypesRequest & WithNextToken(Aws::String &&value)
Definition: ListSlotTypesRequest.h:368
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithLocaleId
ListSlotTypesRequest & WithLocaleId(Aws::String &&value)
Definition: ListSlotTypesRequest.h:174
Aws::LexModelsV2::Model::ListSlotTypesRequest::BotVersionHasBeenSet
bool BotVersionHasBeenSet() const
Definition: ListSlotTypesRequest.h:87
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithBotId
ListSlotTypesRequest & WithBotId(const Aws::String &value)
Definition: ListSlotTypesRequest.h:66
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetLocaleId
void SetLocaleId(const char *value)
Definition: ListSlotTypesRequest.h:158
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetBotId
void SetBotId(const Aws::String &value)
Definition: ListSlotTypesRequest.h:51
Aws::LexModelsV2::Model::ListSlotTypesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSlotTypesRequest.h:328
Aws::LexModelsV2::Model::ListSlotTypesRequest::SortByHasBeenSet
bool SortByHasBeenSet() const
Definition: ListSlotTypesRequest.h:197
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithNextToken
ListSlotTypesRequest & WithNextToken(const Aws::String &value)
Definition: ListSlotTypesRequest.h:360
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LexModelsV2::Model::ListSlotTypesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithBotId
ListSlotTypesRequest & WithBotId(const char *value)
Definition: ListSlotTypesRequest.h:76
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithBotId
ListSlotTypesRequest & WithBotId(Aws::String &&value)
Definition: ListSlotTypesRequest.h:71
AWSVector.h
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetBotVersion
void SetBotVersion(Aws::String &&value)
Definition: ListSlotTypesRequest.h:97
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSlotTypesRequest.h:336
LexModelsV2Request.h
Aws::LexModelsV2::Model::ListSlotTypesRequest
Definition: ListSlotTypesRequest.h:25
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetFilters
void SetFilters(const Aws::Vector< SlotTypeFilter > &value)
Definition: ListSlotTypesRequest.h:247
Aws::LexModelsV2::Model::ListSlotTypesRequest::BotIdHasBeenSet
bool BotIdHasBeenSet() const
Definition: ListSlotTypesRequest.h:46
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithFilters
ListSlotTypesRequest & WithFilters(Aws::Vector< SlotTypeFilter > &&value)
Definition: ListSlotTypesRequest.h:268
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSlotTypesRequest.h:33
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithLocaleId
ListSlotTypesRequest & WithLocaleId(const Aws::String &value)
Definition: ListSlotTypesRequest.h:166
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSlotTypesRequest.h:304
Aws::LexModelsV2::Model::SlotTypeSortBy
Definition: SlotTypeSortBy.h:34
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithMaxResults
ListSlotTypesRequest & WithMaxResults(int value)
Definition: ListSlotTypesRequest.h:311
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetSortBy
const SlotTypeSortBy & GetSortBy() const
Definition: ListSlotTypesRequest.h:190
SlotTypeFilter.h
AWSString.h
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithFilters
ListSlotTypesRequest & WithFilters(const Aws::Vector< SlotTypeFilter > &value)
Definition: ListSlotTypesRequest.h:261
Aws::LexModelsV2::LexModelsV2Request
Definition: LexModelsV2Request.h:17
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetSortBy
void SetSortBy(const SlotTypeSortBy &value)
Definition: ListSlotTypesRequest.h:204
AWS_LEXMODELSV2_API
#define AWS_LEXMODELSV2_API
Definition: LexModelsV2_EXPORTS.h:28
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSlotTypesRequest.h:344
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSlotTypesRequest.h:290
Aws::LexModelsV2::Model::ListSlotTypesRequest::ListSlotTypesRequest
ListSlotTypesRequest()
LexModelsV2_EXPORTS.h
Aws::LexModelsV2::Model::ListSlotTypesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListSlotTypesRequest.h:240
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetBotVersion
const Aws::String & GetBotVersion() const
Definition: ListSlotTypesRequest.h:82
SlotTypeSortBy.h
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetLocaleId
void SetLocaleId(const Aws::String &value)
Definition: ListSlotTypesRequest.h:142
Aws::LexModelsV2::Model::ListSlotTypesRequest::AddFilters
ListSlotTypesRequest & AddFilters(const SlotTypeFilter &value)
Definition: ListSlotTypesRequest.h:275
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetFilters
const Aws::Vector< SlotTypeFilter > & GetFilters() const
Definition: ListSlotTypesRequest.h:233
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSlotTypesRequest.h:352
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithBotVersion
ListSlotTypesRequest & WithBotVersion(const char *value)
Definition: ListSlotTypesRequest.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelsV2::Model::ListSlotTypesRequest::WithNextToken
ListSlotTypesRequest & WithNextToken(const char *value)
Definition: ListSlotTypesRequest.h:376
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetBotId
void SetBotId(Aws::String &&value)
Definition: ListSlotTypesRequest.h:56
Aws::LexModelsV2::Model::ListSlotTypesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSlotTypesRequest.h:297
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetSortBy
void SetSortBy(SlotTypeSortBy &&value)
Definition: ListSlotTypesRequest.h:211
Aws::LexModelsV2::Model::ListSlotTypesRequest::GetLocaleId
const Aws::String & GetLocaleId() const
Definition: ListSlotTypesRequest.h:126
Aws::LexModelsV2::Model::ListSlotTypesRequest::LocaleIdHasBeenSet
bool LocaleIdHasBeenSet() const
Definition: ListSlotTypesRequest.h:134
Aws::LexModelsV2::Model::ListSlotTypesRequest::AddFilters
ListSlotTypesRequest & AddFilters(SlotTypeFilter &&value)
Definition: ListSlotTypesRequest.h:282
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetLocaleId
void SetLocaleId(Aws::String &&value)
Definition: ListSlotTypesRequest.h:150
Aws::LexModelsV2::Model::ListSlotTypesRequest::SetFilters
void SetFilters(Aws::Vector< SlotTypeFilter > &&value)
Definition: ListSlotTypesRequest.h:254