AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListAggregatedUtterancesRequest.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/UtteranceAggregationDuration.h>
11#include <aws/lexv2-models/model/AggregatedUtterancesSortBy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lexv2-models/model/AggregatedUtterancesFilter.h>
14#include <utility>
15
16namespace Aws
17{
18namespace LexModelsV2
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LEXMODELSV2_API ListAggregatedUtterancesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListAggregatedUtterances"; }
35
36 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetBotId() const { return m_botId; }
44 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
45 template<typename BotIdT = Aws::String>
46 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
47 template<typename BotIdT = Aws::String>
48 ListAggregatedUtterancesRequest& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
57 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
58 template<typename BotAliasIdT = Aws::String>
59 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::forward<BotAliasIdT>(value); }
60 template<typename BotAliasIdT = Aws::String>
61 ListAggregatedUtterancesRequest& WithBotAliasId(BotAliasIdT&& value) { SetBotAliasId(std::forward<BotAliasIdT>(value)); return *this;}
63
65
69 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
70 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
71 template<typename BotVersionT = Aws::String>
72 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
73 template<typename BotVersionT = Aws::String>
74 ListAggregatedUtterancesRequest& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
76
78
84 inline const Aws::String& GetLocaleId() const { return m_localeId; }
85 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
86 template<typename LocaleIdT = Aws::String>
87 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
88 template<typename LocaleIdT = Aws::String>
89 ListAggregatedUtterancesRequest& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
91
93
97 inline const UtteranceAggregationDuration& GetAggregationDuration() const { return m_aggregationDuration; }
98 inline bool AggregationDurationHasBeenSet() const { return m_aggregationDurationHasBeenSet; }
99 template<typename AggregationDurationT = UtteranceAggregationDuration>
100 void SetAggregationDuration(AggregationDurationT&& value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = std::forward<AggregationDurationT>(value); }
101 template<typename AggregationDurationT = UtteranceAggregationDuration>
102 ListAggregatedUtterancesRequest& WithAggregationDuration(AggregationDurationT&& value) { SetAggregationDuration(std::forward<AggregationDurationT>(value)); return *this;}
104
106
111 inline const AggregatedUtterancesSortBy& GetSortBy() const { return m_sortBy; }
112 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
113 template<typename SortByT = AggregatedUtterancesSortBy>
114 void SetSortBy(SortByT&& value) { m_sortByHasBeenSet = true; m_sortBy = std::forward<SortByT>(value); }
115 template<typename SortByT = AggregatedUtterancesSortBy>
116 ListAggregatedUtterancesRequest& WithSortBy(SortByT&& value) { SetSortBy(std::forward<SortByT>(value)); return *this;}
118
120
125 inline const Aws::Vector<AggregatedUtterancesFilter>& GetFilters() const { return m_filters; }
126 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
127 template<typename FiltersT = Aws::Vector<AggregatedUtterancesFilter>>
128 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
129 template<typename FiltersT = Aws::Vector<AggregatedUtterancesFilter>>
130 ListAggregatedUtterancesRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
131 template<typename FiltersT = AggregatedUtterancesFilter>
132 ListAggregatedUtterancesRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
134
136
142 inline int GetMaxResults() const { return m_maxResults; }
143 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
144 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
145 inline ListAggregatedUtterancesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
147
149
155 inline const Aws::String& GetNextToken() const { return m_nextToken; }
156 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
157 template<typename NextTokenT = Aws::String>
158 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
159 template<typename NextTokenT = Aws::String>
160 ListAggregatedUtterancesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
162 private:
163
164 Aws::String m_botId;
165 bool m_botIdHasBeenSet = false;
166
167 Aws::String m_botAliasId;
168 bool m_botAliasIdHasBeenSet = false;
169
170 Aws::String m_botVersion;
171 bool m_botVersionHasBeenSet = false;
172
173 Aws::String m_localeId;
174 bool m_localeIdHasBeenSet = false;
175
176 UtteranceAggregationDuration m_aggregationDuration;
177 bool m_aggregationDurationHasBeenSet = false;
178
180 bool m_sortByHasBeenSet = false;
181
183 bool m_filtersHasBeenSet = false;
184
185 int m_maxResults{0};
186 bool m_maxResultsHasBeenSet = false;
187
188 Aws::String m_nextToken;
189 bool m_nextTokenHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace LexModelsV2
194} // namespace Aws
const Aws::Vector< AggregatedUtterancesFilter > & GetFilters() const
AWS_LEXMODELSV2_API ListAggregatedUtterancesRequest()=default
ListAggregatedUtterancesRequest & AddFilters(FiltersT &&value)
ListAggregatedUtterancesRequest & WithBotVersion(BotVersionT &&value)
ListAggregatedUtterancesRequest & WithNextToken(NextTokenT &&value)
ListAggregatedUtterancesRequest & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
ListAggregatedUtterancesRequest & WithBotAliasId(BotAliasIdT &&value)
const UtteranceAggregationDuration & GetAggregationDuration() const
ListAggregatedUtterancesRequest & WithSortBy(SortByT &&value)
ListAggregatedUtterancesRequest & WithAggregationDuration(AggregationDurationT &&value)
ListAggregatedUtterancesRequest & WithBotId(BotIdT &&value)
ListAggregatedUtterancesRequest & WithFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector