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/ImportSortBy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/model/ImportFilter.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>
69 template<
typename SortByT = ImportSortBy>
70 void SetSortBy(SortByT&& value) { m_sortByHasBeenSet =
true; m_sortBy = std::forward<SortByT>(value); }
71 template<
typename SortByT = ImportSortBy>
83 template<
typename FiltersT = Aws::Vector<ImportFilter>>
84 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
85 template<
typename FiltersT = Aws::Vector<ImportFilter>>
87 template<
typename FiltersT = ImportFilter>
88 ListImportsRequest&
AddFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters.emplace_back(std::forward<FiltersT>(value));
return *
this; }
99 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
115 template<
typename NextTokenT = Aws::String>
116 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
117 template<
typename NextTokenT = Aws::String>
129 template<
typename LocaleIdT = Aws::String>
130 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
131 template<
typename LocaleIdT = Aws::String>
137 bool m_botIdHasBeenSet =
false;
140 bool m_botVersionHasBeenSet =
false;
143 bool m_sortByHasBeenSet =
false;
146 bool m_filtersHasBeenSet =
false;
149 bool m_maxResultsHasBeenSet =
false;
152 bool m_nextTokenHasBeenSet =
false;
155 bool m_localeIdHasBeenSet =
false;
ListImportsRequest & WithBotId(BotIdT &&value)
void SetSortBy(SortByT &&value)
bool BotIdHasBeenSet() const
ListImportsRequest & AddFilters(FiltersT &&value)
bool FiltersHasBeenSet() const
const Aws::String & GetBotId() const
ListImportsRequest & WithNextToken(NextTokenT &&value)
AWS_LEXMODELSV2_API ListImportsRequest()=default
void SetNextToken(NextTokenT &&value)
void SetBotId(BotIdT &&value)
void SetMaxResults(int value)
bool NextTokenHasBeenSet() const
ListImportsRequest & WithLocaleId(LocaleIdT &&value)
bool LocaleIdHasBeenSet() const
const Aws::String & GetNextToken() const
int GetMaxResults() const
const Aws::Vector< ImportFilter > & GetFilters() const
bool SortByHasBeenSet() const
ListImportsRequest & WithFilters(FiltersT &&value)
ListImportsRequest & WithMaxResults(int value)
bool MaxResultsHasBeenSet() const
bool BotVersionHasBeenSet() const
void SetLocaleId(LocaleIdT &&value)
const ImportSortBy & GetSortBy() const
void SetBotVersion(BotVersionT &&value)
void SetFilters(FiltersT &&value)
ListImportsRequest & WithSortBy(SortByT &&value)
const Aws::String & GetLocaleId() const
virtual const char * GetServiceRequestName() const override
ListImportsRequest & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
const Aws::String & GetBotVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector