7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/model/SlotSortBy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/model/SlotFilter.h>
44 template<
typename BotIdT = Aws::String>
45 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
46 template<
typename BotIdT = Aws::String>
56 template<
typename BotVersionT = Aws::String>
57 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
58 template<
typename BotVersionT = Aws::String>
71 template<
typename LocaleIdT = Aws::String>
72 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
73 template<
typename LocaleIdT = Aws::String>
83 template<
typename IntentIdT = Aws::String>
84 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet =
true; m_intentId = std::forward<IntentIdT>(value); }
85 template<
typename IntentIdT = Aws::String>
97 template<
typename SortByT = SlotSortBy>
98 void SetSortBy(SortByT&& value) { m_sortByHasBeenSet =
true; m_sortBy = std::forward<SortByT>(value); }
99 template<
typename SortByT = SlotSortBy>
111 template<
typename FiltersT = Aws::Vector<SlotFilter>>
112 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
113 template<
typename FiltersT = Aws::Vector<SlotFilter>>
115 template<
typename FiltersT = SlotFilter>
116 ListSlotsRequest&
AddFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters.emplace_back(std::forward<FiltersT>(value));
return *
this; }
127 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
140 template<
typename NextTokenT = Aws::String>
141 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
142 template<
typename NextTokenT = Aws::String>
148 bool m_botIdHasBeenSet =
false;
151 bool m_botVersionHasBeenSet =
false;
154 bool m_localeIdHasBeenSet =
false;
157 bool m_intentIdHasBeenSet =
false;
160 bool m_sortByHasBeenSet =
false;
163 bool m_filtersHasBeenSet =
false;
166 bool m_maxResultsHasBeenSet =
false;
169 bool m_nextTokenHasBeenSet =
false;
bool NextTokenHasBeenSet() const
void SetLocaleId(LocaleIdT &&value)
bool BotVersionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetBotVersion(BotVersionT &&value)
void SetSortBy(SortByT &&value)
ListSlotsRequest & WithBotId(BotIdT &&value)
const Aws::String & GetIntentId() const
bool BotIdHasBeenSet() const
void SetMaxResults(int value)
bool LocaleIdHasBeenSet() const
const Aws::String & GetBotId() const
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
bool IntentIdHasBeenSet() const
void SetIntentId(IntentIdT &&value)
bool MaxResultsHasBeenSet() const
ListSlotsRequest & WithFilters(FiltersT &&value)
ListSlotsRequest & WithNextToken(NextTokenT &&value)
ListSlotsRequest & WithMaxResults(int value)
void SetBotId(BotIdT &&value)
void SetNextToken(NextTokenT &&value)
ListSlotsRequest & WithIntentId(IntentIdT &&value)
ListSlotsRequest & WithSortBy(SortByT &&value)
const Aws::String & GetLocaleId() const
const Aws::String & GetNextToken() const
const Aws::Vector< SlotFilter > & GetFilters() const
bool SortByHasBeenSet() const
AWS_LEXMODELSV2_API ListSlotsRequest()=default
int GetMaxResults() const
const SlotSortBy & GetSortBy() const
const Aws::String & GetBotVersion() const
bool FiltersHasBeenSet() const
void SetFilters(FiltersT &&value)
ListSlotsRequest & WithLocaleId(LocaleIdT &&value)
ListSlotsRequest & WithBotVersion(BotVersionT &&value)
ListSlotsRequest & AddFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector