AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSlotsRequest.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/SlotSortBy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/model/SlotFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace LexModelsV2
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LEXMODELSV2_API ListSlotsRequest();
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 "ListSlots"; }
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 ListSlotsRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
48 inline ListSlotsRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
49 inline ListSlotsRequest& 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 ListSlotsRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
62 inline ListSlotsRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
63 inline ListSlotsRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
65
67
73 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
74 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
75 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
76 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
77 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
78 inline ListSlotsRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
79 inline ListSlotsRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
80 inline ListSlotsRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
82
84
87 inline const Aws::String& GetIntentId() const{ return m_intentId; }
88 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
89 inline void SetIntentId(const Aws::String& value) { m_intentIdHasBeenSet = true; m_intentId = value; }
90 inline void SetIntentId(Aws::String&& value) { m_intentIdHasBeenSet = true; m_intentId = std::move(value); }
91 inline void SetIntentId(const char* value) { m_intentIdHasBeenSet = true; m_intentId.assign(value); }
92 inline ListSlotsRequest& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
93 inline ListSlotsRequest& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
94 inline ListSlotsRequest& WithIntentId(const char* value) { SetIntentId(value); return *this;}
96
98
103 inline const SlotSortBy& GetSortBy() const{ return m_sortBy; }
104 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
105 inline void SetSortBy(const SlotSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
106 inline void SetSortBy(SlotSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
107 inline ListSlotsRequest& WithSortBy(const SlotSortBy& value) { SetSortBy(value); return *this;}
108 inline ListSlotsRequest& WithSortBy(SlotSortBy&& value) { SetSortBy(std::move(value)); return *this;}
110
112
117 inline const Aws::Vector<SlotFilter>& GetFilters() const{ return m_filters; }
118 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
119 inline void SetFilters(const Aws::Vector<SlotFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
120 inline void SetFilters(Aws::Vector<SlotFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
121 inline ListSlotsRequest& WithFilters(const Aws::Vector<SlotFilter>& value) { SetFilters(value); return *this;}
122 inline ListSlotsRequest& WithFilters(Aws::Vector<SlotFilter>&& value) { SetFilters(std::move(value)); return *this;}
123 inline ListSlotsRequest& AddFilters(const SlotFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
124 inline ListSlotsRequest& AddFilters(SlotFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
126
128
133 inline int GetMaxResults() const{ return m_maxResults; }
134 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
135 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
136 inline ListSlotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
138
140
146 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
147 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
148 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
149 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
150 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
151 inline ListSlotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
152 inline ListSlotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
153 inline ListSlotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
155 private:
156
157 Aws::String m_botId;
158 bool m_botIdHasBeenSet = false;
159
160 Aws::String m_botVersion;
161 bool m_botVersionHasBeenSet = false;
162
163 Aws::String m_localeId;
164 bool m_localeIdHasBeenSet = false;
165
166 Aws::String m_intentId;
167 bool m_intentIdHasBeenSet = false;
168
169 SlotSortBy m_sortBy;
170 bool m_sortByHasBeenSet = false;
171
172 Aws::Vector<SlotFilter> m_filters;
173 bool m_filtersHasBeenSet = false;
174
175 int m_maxResults;
176 bool m_maxResultsHasBeenSet = false;
177
178 Aws::String m_nextToken;
179 bool m_nextTokenHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace LexModelsV2
184} // namespace Aws
ListSlotsRequest & WithBotId(Aws::String &&value)
ListSlotsRequest & WithNextToken(const char *value)
ListSlotsRequest & WithLocaleId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListSlotsRequest & WithBotVersion(const char *value)
void SetNextToken(const Aws::String &value)
ListSlotsRequest & AddFilters(SlotFilter &&value)
ListSlotsRequest & WithLocaleId(const char *value)
ListSlotsRequest & WithIntentId(Aws::String &&value)
const Aws::String & GetIntentId() const
void SetBotVersion(const Aws::String &value)
ListSlotsRequest & WithNextToken(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetSortBy(const SlotSortBy &value)
void SetLocaleId(const Aws::String &value)
ListSlotsRequest & WithIntentId(const char *value)
ListSlotsRequest & WithSortBy(SlotSortBy &&value)
void SetFilters(const Aws::Vector< SlotFilter > &value)
ListSlotsRequest & WithMaxResults(int value)
ListSlotsRequest & WithBotVersion(const Aws::String &value)
void SetFilters(Aws::Vector< SlotFilter > &&value)
ListSlotsRequest & AddFilters(const SlotFilter &value)
ListSlotsRequest & WithBotId(const char *value)
ListSlotsRequest & WithSortBy(const SlotSortBy &value)
const Aws::String & GetLocaleId() const
ListSlotsRequest & WithBotVersion(Aws::String &&value)
void SetIntentId(const Aws::String &value)
ListSlotsRequest & WithFilters(const Aws::Vector< SlotFilter > &value)
const Aws::Vector< SlotFilter > & GetFilters() const
ListSlotsRequest & WithLocaleId(const Aws::String &value)
const Aws::String & GetBotVersion() const
ListSlotsRequest & WithBotId(const Aws::String &value)
ListSlotsRequest & WithFilters(Aws::Vector< SlotFilter > &&value)
ListSlotsRequest & WithNextToken(Aws::String &&value)
void SetBotId(const Aws::String &value)
ListSlotsRequest & WithIntentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector