AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListImportsRequest.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace LexModelsV2
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LEXMODELSV2_API ListImportsRequest();
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 "ListImports"; }
34
35 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetBotId() const{ return m_botId; }
43 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
44 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
45 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
46 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
47 inline ListImportsRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
48 inline ListImportsRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
49 inline ListImportsRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
51
53
56 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
57 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
58 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
59 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
60 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
61 inline ListImportsRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
62 inline ListImportsRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
63 inline ListImportsRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
65
67
71 inline const ImportSortBy& GetSortBy() const{ return m_sortBy; }
72 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
73 inline void SetSortBy(const ImportSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
74 inline void SetSortBy(ImportSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
75 inline ListImportsRequest& WithSortBy(const ImportSortBy& value) { SetSortBy(value); return *this;}
76 inline ListImportsRequest& WithSortBy(ImportSortBy&& value) { SetSortBy(std::move(value)); return *this;}
78
80
85 inline const Aws::Vector<ImportFilter>& GetFilters() const{ return m_filters; }
86 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
87 inline void SetFilters(const Aws::Vector<ImportFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
88 inline void SetFilters(Aws::Vector<ImportFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
89 inline ListImportsRequest& WithFilters(const Aws::Vector<ImportFilter>& value) { SetFilters(value); return *this;}
90 inline ListImportsRequest& WithFilters(Aws::Vector<ImportFilter>&& value) { SetFilters(std::move(value)); return *this;}
91 inline ListImportsRequest& AddFilters(const ImportFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
92 inline ListImportsRequest& AddFilters(ImportFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
94
96
101 inline int GetMaxResults() const{ return m_maxResults; }
102 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 inline ListImportsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
106
108
117 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
118 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
119 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
120 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
121 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
122 inline ListImportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
123 inline ListImportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
124 inline ListImportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
126
128
133 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
134 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
135 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
136 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
137 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
138 inline ListImportsRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
139 inline ListImportsRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
140 inline ListImportsRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
142 private:
143
144 Aws::String m_botId;
145 bool m_botIdHasBeenSet = false;
146
147 Aws::String m_botVersion;
148 bool m_botVersionHasBeenSet = false;
149
150 ImportSortBy m_sortBy;
151 bool m_sortByHasBeenSet = false;
152
154 bool m_filtersHasBeenSet = false;
155
156 int m_maxResults;
157 bool m_maxResultsHasBeenSet = false;
158
159 Aws::String m_nextToken;
160 bool m_nextTokenHasBeenSet = false;
161
162 Aws::String m_localeId;
163 bool m_localeIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace LexModelsV2
168} // namespace Aws
ListImportsRequest & WithFilters(Aws::Vector< ImportFilter > &&value)
ListImportsRequest & WithBotVersion(const char *value)
ListImportsRequest & WithBotId(Aws::String &&value)
ListImportsRequest & WithFilters(const Aws::Vector< ImportFilter > &value)
ListImportsRequest & AddFilters(ImportFilter &&value)
ListImportsRequest & WithSortBy(ImportSortBy &&value)
ListImportsRequest & AddFilters(const ImportFilter &value)
ListImportsRequest & WithNextToken(const Aws::String &value)
ListImportsRequest & WithBotVersion(Aws::String &&value)
void SetFilters(const Aws::Vector< ImportFilter > &value)
ListImportsRequest & WithBotId(const char *value)
ListImportsRequest & WithNextToken(const char *value)
ListImportsRequest & WithLocaleId(const Aws::String &value)
const Aws::Vector< ImportFilter > & GetFilters() const
ListImportsRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
ListImportsRequest & WithLocaleId(const char *value)
ListImportsRequest & WithBotId(const Aws::String &value)
void SetSortBy(const ImportSortBy &value)
ListImportsRequest & WithNextToken(Aws::String &&value)
ListImportsRequest & WithSortBy(const ImportSortBy &value)
void SetBotVersion(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListImportsRequest & WithBotVersion(const Aws::String &value)
ListImportsRequest & WithLocaleId(Aws::String &&value)
void SetFilters(Aws::Vector< ImportFilter > &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector