AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUtteranceMetricsRequest.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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/model/AnalyticsUtteranceMetric.h>
13#include <aws/lexv2-models/model/AnalyticsBinBySpecification.h>
14#include <aws/lexv2-models/model/AnalyticsUtteranceGroupBySpecification.h>
15#include <aws/lexv2-models/model/AnalyticsUtteranceAttribute.h>
16#include <aws/lexv2-models/model/AnalyticsUtteranceFilter.h>
17#include <utility>
18
19namespace Aws
20{
21namespace LexModelsV2
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_LEXMODELSV2_API ListUtteranceMetricsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListUtteranceMetrics"; }
38
39 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
40
41
43
47 inline const Aws::String& GetBotId() const{ return m_botId; }
48 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
49 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
50 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
51 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
52 inline ListUtteranceMetricsRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
53 inline ListUtteranceMetricsRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
54 inline ListUtteranceMetricsRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetStartDateTime() const{ return m_startDateTime; }
63 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
64 inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
65 inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
67 inline ListUtteranceMetricsRequest& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(std::move(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; }
76 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
77 inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
78 inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
80 inline ListUtteranceMetricsRequest& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;}
82
84
89 inline const Aws::Vector<AnalyticsUtteranceMetric>& GetMetrics() const{ return m_metrics; }
90 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
91 inline void SetMetrics(const Aws::Vector<AnalyticsUtteranceMetric>& value) { m_metricsHasBeenSet = true; m_metrics = value; }
92 inline void SetMetrics(Aws::Vector<AnalyticsUtteranceMetric>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
95 inline ListUtteranceMetricsRequest& AddMetrics(const AnalyticsUtteranceMetric& value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; }
96 inline ListUtteranceMetricsRequest& AddMetrics(AnalyticsUtteranceMetric&& value) { m_metricsHasBeenSet = true; m_metrics.push_back(std::move(value)); return *this; }
98
100
104 inline const Aws::Vector<AnalyticsBinBySpecification>& GetBinBy() const{ return m_binBy; }
105 inline bool BinByHasBeenSet() const { return m_binByHasBeenSet; }
106 inline void SetBinBy(const Aws::Vector<AnalyticsBinBySpecification>& value) { m_binByHasBeenSet = true; m_binBy = value; }
107 inline void SetBinBy(Aws::Vector<AnalyticsBinBySpecification>&& value) { m_binByHasBeenSet = true; m_binBy = std::move(value); }
110 inline ListUtteranceMetricsRequest& AddBinBy(const AnalyticsBinBySpecification& value) { m_binByHasBeenSet = true; m_binBy.push_back(value); return *this; }
111 inline ListUtteranceMetricsRequest& AddBinBy(AnalyticsBinBySpecification&& value) { m_binByHasBeenSet = true; m_binBy.push_back(std::move(value)); return *this; }
113
115
124 inline const Aws::Vector<AnalyticsUtteranceGroupBySpecification>& GetGroupBy() const{ return m_groupBy; }
125 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
126 inline void SetGroupBy(const Aws::Vector<AnalyticsUtteranceGroupBySpecification>& value) { m_groupByHasBeenSet = true; m_groupBy = value; }
127 inline void SetGroupBy(Aws::Vector<AnalyticsUtteranceGroupBySpecification>&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); }
130 inline ListUtteranceMetricsRequest& AddGroupBy(const AnalyticsUtteranceGroupBySpecification& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(value); return *this; }
131 inline ListUtteranceMetricsRequest& AddGroupBy(AnalyticsUtteranceGroupBySpecification&& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(std::move(value)); return *this; }
133
135
141 inline const Aws::Vector<AnalyticsUtteranceAttribute>& GetAttributes() const{ return m_attributes; }
142 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
143 inline void SetAttributes(const Aws::Vector<AnalyticsUtteranceAttribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
144 inline void SetAttributes(Aws::Vector<AnalyticsUtteranceAttribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
147 inline ListUtteranceMetricsRequest& AddAttributes(const AnalyticsUtteranceAttribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
148 inline ListUtteranceMetricsRequest& AddAttributes(AnalyticsUtteranceAttribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
150
152
156 inline const Aws::Vector<AnalyticsUtteranceFilter>& GetFilters() const{ return m_filters; }
157 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
158 inline void SetFilters(const Aws::Vector<AnalyticsUtteranceFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
159 inline void SetFilters(Aws::Vector<AnalyticsUtteranceFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
162 inline ListUtteranceMetricsRequest& AddFilters(const AnalyticsUtteranceFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
163 inline ListUtteranceMetricsRequest& AddFilters(AnalyticsUtteranceFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
165
167
172 inline int GetMaxResults() const{ return m_maxResults; }
173 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
174 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
175 inline ListUtteranceMetricsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
177
179
187 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
188 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
189 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
190 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
191 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
192 inline ListUtteranceMetricsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
193 inline ListUtteranceMetricsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
194 inline ListUtteranceMetricsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
196 private:
197
198 Aws::String m_botId;
199 bool m_botIdHasBeenSet = false;
200
201 Aws::Utils::DateTime m_startDateTime;
202 bool m_startDateTimeHasBeenSet = false;
203
204 Aws::Utils::DateTime m_endDateTime;
205 bool m_endDateTimeHasBeenSet = false;
206
208 bool m_metricsHasBeenSet = false;
209
211 bool m_binByHasBeenSet = false;
212
214 bool m_groupByHasBeenSet = false;
215
217 bool m_attributesHasBeenSet = false;
218
220 bool m_filtersHasBeenSet = false;
221
222 int m_maxResults;
223 bool m_maxResultsHasBeenSet = false;
224
225 Aws::String m_nextToken;
226 bool m_nextTokenHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace LexModelsV2
231} // namespace Aws
void SetBinBy(Aws::Vector< AnalyticsBinBySpecification > &&value)
ListUtteranceMetricsRequest & AddBinBy(AnalyticsBinBySpecification &&value)
ListUtteranceMetricsRequest & AddBinBy(const AnalyticsBinBySpecification &value)
const Aws::Vector< AnalyticsUtteranceMetric > & GetMetrics() const
ListUtteranceMetricsRequest & WithFilters(const Aws::Vector< AnalyticsUtteranceFilter > &value)
ListUtteranceMetricsRequest & WithAttributes(Aws::Vector< AnalyticsUtteranceAttribute > &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
ListUtteranceMetricsRequest & WithMetrics(Aws::Vector< AnalyticsUtteranceMetric > &&value)
ListUtteranceMetricsRequest & WithBinBy(Aws::Vector< AnalyticsBinBySpecification > &&value)
void SetFilters(const Aws::Vector< AnalyticsUtteranceFilter > &value)
void SetFilters(Aws::Vector< AnalyticsUtteranceFilter > &&value)
ListUtteranceMetricsRequest & WithEndDateTime(const Aws::Utils::DateTime &value)
void SetAttributes(const Aws::Vector< AnalyticsUtteranceAttribute > &value)
const Aws::Vector< AnalyticsUtteranceGroupBySpecification > & GetGroupBy() const
ListUtteranceMetricsRequest & WithEndDateTime(Aws::Utils::DateTime &&value)
ListUtteranceMetricsRequest & WithGroupBy(const Aws::Vector< AnalyticsUtteranceGroupBySpecification > &value)
ListUtteranceMetricsRequest & WithStartDateTime(Aws::Utils::DateTime &&value)
ListUtteranceMetricsRequest & WithBotId(const Aws::String &value)
void SetBinBy(const Aws::Vector< AnalyticsBinBySpecification > &value)
ListUtteranceMetricsRequest & AddGroupBy(AnalyticsUtteranceGroupBySpecification &&value)
ListUtteranceMetricsRequest & WithStartDateTime(const Aws::Utils::DateTime &value)
const Aws::Vector< AnalyticsUtteranceFilter > & GetFilters() const
ListUtteranceMetricsRequest & WithGroupBy(Aws::Vector< AnalyticsUtteranceGroupBySpecification > &&value)
ListUtteranceMetricsRequest & WithMetrics(const Aws::Vector< AnalyticsUtteranceMetric > &value)
ListUtteranceMetricsRequest & AddFilters(AnalyticsUtteranceFilter &&value)
ListUtteranceMetricsRequest & AddAttributes(AnalyticsUtteranceAttribute &&value)
ListUtteranceMetricsRequest & AddMetrics(AnalyticsUtteranceMetric &&value)
ListUtteranceMetricsRequest & WithAttributes(const Aws::Vector< AnalyticsUtteranceAttribute > &value)
ListUtteranceMetricsRequest & WithBotId(const char *value)
const Aws::Vector< AnalyticsUtteranceAttribute > & GetAttributes() const
ListUtteranceMetricsRequest & WithNextToken(Aws::String &&value)
ListUtteranceMetricsRequest & WithBinBy(const Aws::Vector< AnalyticsBinBySpecification > &value)
ListUtteranceMetricsRequest & AddGroupBy(const AnalyticsUtteranceGroupBySpecification &value)
ListUtteranceMetricsRequest & AddAttributes(const AnalyticsUtteranceAttribute &value)
void SetGroupBy(Aws::Vector< AnalyticsUtteranceGroupBySpecification > &&value)
ListUtteranceMetricsRequest & WithNextToken(const char *value)
void SetMetrics(const Aws::Vector< AnalyticsUtteranceMetric > &value)
ListUtteranceMetricsRequest & WithNextToken(const Aws::String &value)
ListUtteranceMetricsRequest & WithBotId(Aws::String &&value)
ListUtteranceMetricsRequest & AddMetrics(const AnalyticsUtteranceMetric &value)
void SetMetrics(Aws::Vector< AnalyticsUtteranceMetric > &&value)
const Aws::Vector< AnalyticsBinBySpecification > & GetBinBy() const
ListUtteranceMetricsRequest & WithFilters(Aws::Vector< AnalyticsUtteranceFilter > &&value)
void SetAttributes(Aws::Vector< AnalyticsUtteranceAttribute > &&value)
ListUtteranceMetricsRequest & AddFilters(const AnalyticsUtteranceFilter &value)
void SetGroupBy(const Aws::Vector< AnalyticsUtteranceGroupBySpecification > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector