AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
46 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
47 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
48 inline ListAggregatedUtterancesRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
49 inline ListAggregatedUtterancesRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
50 inline ListAggregatedUtterancesRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
52
54
58 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
59 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
60 inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
61 inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
62 inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
63 inline ListAggregatedUtterancesRequest& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
64 inline ListAggregatedUtterancesRequest& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
65 inline ListAggregatedUtterancesRequest& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
67
69
73 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
74 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
75 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
76 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
77 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
78 inline ListAggregatedUtterancesRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
79 inline ListAggregatedUtterancesRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
80 inline ListAggregatedUtterancesRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
82
84
90 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
91 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
92 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
93 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
94 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
95 inline ListAggregatedUtterancesRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
96 inline ListAggregatedUtterancesRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
97 inline ListAggregatedUtterancesRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
99
101
105 inline const UtteranceAggregationDuration& GetAggregationDuration() const{ return m_aggregationDuration; }
106 inline bool AggregationDurationHasBeenSet() const { return m_aggregationDurationHasBeenSet; }
107 inline void SetAggregationDuration(const UtteranceAggregationDuration& value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = value; }
108 inline void SetAggregationDuration(UtteranceAggregationDuration&& value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = std::move(value); }
112
114
119 inline const AggregatedUtterancesSortBy& GetSortBy() const{ return m_sortBy; }
120 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
121 inline void SetSortBy(const AggregatedUtterancesSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
122 inline void SetSortBy(AggregatedUtterancesSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
124 inline ListAggregatedUtterancesRequest& WithSortBy(AggregatedUtterancesSortBy&& value) { SetSortBy(std::move(value)); return *this;}
126
128
133 inline const Aws::Vector<AggregatedUtterancesFilter>& GetFilters() const{ return m_filters; }
134 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
135 inline void SetFilters(const Aws::Vector<AggregatedUtterancesFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
136 inline void SetFilters(Aws::Vector<AggregatedUtterancesFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
139 inline ListAggregatedUtterancesRequest& AddFilters(const AggregatedUtterancesFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
140 inline ListAggregatedUtterancesRequest& AddFilters(AggregatedUtterancesFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
142
144
150 inline int GetMaxResults() const{ return m_maxResults; }
151 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
152 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
153 inline ListAggregatedUtterancesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
155
157
163 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
164 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
165 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
166 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
167 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
168 inline ListAggregatedUtterancesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
169 inline ListAggregatedUtterancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
170 inline ListAggregatedUtterancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
172 private:
173
174 Aws::String m_botId;
175 bool m_botIdHasBeenSet = false;
176
177 Aws::String m_botAliasId;
178 bool m_botAliasIdHasBeenSet = false;
179
180 Aws::String m_botVersion;
181 bool m_botVersionHasBeenSet = false;
182
183 Aws::String m_localeId;
184 bool m_localeIdHasBeenSet = false;
185
186 UtteranceAggregationDuration m_aggregationDuration;
187 bool m_aggregationDurationHasBeenSet = false;
188
190 bool m_sortByHasBeenSet = false;
191
193 bool m_filtersHasBeenSet = false;
194
195 int m_maxResults;
196 bool m_maxResultsHasBeenSet = false;
197
198 Aws::String m_nextToken;
199 bool m_nextTokenHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace LexModelsV2
204} // namespace Aws
const Aws::Vector< AggregatedUtterancesFilter > & GetFilters() const
ListAggregatedUtterancesRequest & WithNextToken(Aws::String &&value)
ListAggregatedUtterancesRequest & WithNextToken(const Aws::String &value)
ListAggregatedUtterancesRequest & WithLocaleId(const char *value)
ListAggregatedUtterancesRequest & WithNextToken(const char *value)
ListAggregatedUtterancesRequest & WithBotId(const char *value)
ListAggregatedUtterancesRequest & WithBotId(Aws::String &&value)
void SetFilters(Aws::Vector< AggregatedUtterancesFilter > &&value)
ListAggregatedUtterancesRequest & AddFilters(const AggregatedUtterancesFilter &value)
ListAggregatedUtterancesRequest & WithBotVersion(const Aws::String &value)
ListAggregatedUtterancesRequest & WithSortBy(const AggregatedUtterancesSortBy &value)
ListAggregatedUtterancesRequest & WithAggregationDuration(UtteranceAggregationDuration &&value)
ListAggregatedUtterancesRequest & WithBotAliasId(const Aws::String &value)
ListAggregatedUtterancesRequest & WithSortBy(AggregatedUtterancesSortBy &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetAggregationDuration(const UtteranceAggregationDuration &value)
ListAggregatedUtterancesRequest & WithAggregationDuration(const UtteranceAggregationDuration &value)
ListAggregatedUtterancesRequest & WithBotId(const Aws::String &value)
const UtteranceAggregationDuration & GetAggregationDuration() const
ListAggregatedUtterancesRequest & WithFilters(const Aws::Vector< AggregatedUtterancesFilter > &value)
ListAggregatedUtterancesRequest & WithLocaleId(const Aws::String &value)
ListAggregatedUtterancesRequest & WithLocaleId(Aws::String &&value)
ListAggregatedUtterancesRequest & WithFilters(Aws::Vector< AggregatedUtterancesFilter > &&value)
ListAggregatedUtterancesRequest & WithBotAliasId(const char *value)
void SetFilters(const Aws::Vector< AggregatedUtterancesFilter > &value)
ListAggregatedUtterancesRequest & WithBotVersion(Aws::String &&value)
ListAggregatedUtterancesRequest & AddFilters(AggregatedUtterancesFilter &&value)
ListAggregatedUtterancesRequest & WithBotAliasId(Aws::String &&value)
ListAggregatedUtterancesRequest & WithBotVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector