AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIntentMetricsRequest.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/AnalyticsIntentMetric.h>
13#include <aws/lexv2-models/model/AnalyticsBinBySpecification.h>
14#include <aws/lexv2-models/model/AnalyticsIntentGroupBySpecification.h>
15#include <aws/lexv2-models/model/AnalyticsIntentFilter.h>
16#include <utility>
17
18namespace Aws
19{
20namespace LexModelsV2
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_LEXMODELSV2_API ListIntentMetricsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListIntentMetrics"; }
37
38 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetBotId() const{ return m_botId; }
46 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
47 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
48 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
49 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
50 inline ListIntentMetricsRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
51 inline ListIntentMetricsRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
52 inline ListIntentMetricsRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
54
56
60 inline const Aws::Utils::DateTime& GetStartDateTime() const{ return m_startDateTime; }
61 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
62 inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
63 inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
65 inline ListIntentMetricsRequest& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(std::move(value)); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; }
74 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
75 inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
76 inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
77 inline ListIntentMetricsRequest& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
78 inline ListIntentMetricsRequest& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;}
80
82
87 inline const Aws::Vector<AnalyticsIntentMetric>& GetMetrics() const{ return m_metrics; }
88 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
89 inline void SetMetrics(const Aws::Vector<AnalyticsIntentMetric>& value) { m_metricsHasBeenSet = true; m_metrics = value; }
90 inline void SetMetrics(Aws::Vector<AnalyticsIntentMetric>&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
92 inline ListIntentMetricsRequest& WithMetrics(Aws::Vector<AnalyticsIntentMetric>&& value) { SetMetrics(std::move(value)); return *this;}
93 inline ListIntentMetricsRequest& AddMetrics(const AnalyticsIntentMetric& value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; }
94 inline ListIntentMetricsRequest& AddMetrics(AnalyticsIntentMetric&& value) { m_metricsHasBeenSet = true; m_metrics.push_back(std::move(value)); return *this; }
96
98
102 inline const Aws::Vector<AnalyticsBinBySpecification>& GetBinBy() const{ return m_binBy; }
103 inline bool BinByHasBeenSet() const { return m_binByHasBeenSet; }
104 inline void SetBinBy(const Aws::Vector<AnalyticsBinBySpecification>& value) { m_binByHasBeenSet = true; m_binBy = value; }
105 inline void SetBinBy(Aws::Vector<AnalyticsBinBySpecification>&& value) { m_binByHasBeenSet = true; m_binBy = std::move(value); }
107 inline ListIntentMetricsRequest& WithBinBy(Aws::Vector<AnalyticsBinBySpecification>&& value) { SetBinBy(std::move(value)); return *this;}
108 inline ListIntentMetricsRequest& AddBinBy(const AnalyticsBinBySpecification& value) { m_binByHasBeenSet = true; m_binBy.push_back(value); return *this; }
109 inline ListIntentMetricsRequest& AddBinBy(AnalyticsBinBySpecification&& value) { m_binByHasBeenSet = true; m_binBy.push_back(std::move(value)); return *this; }
111
113
121 inline const Aws::Vector<AnalyticsIntentGroupBySpecification>& GetGroupBy() const{ return m_groupBy; }
122 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
123 inline void SetGroupBy(const Aws::Vector<AnalyticsIntentGroupBySpecification>& value) { m_groupByHasBeenSet = true; m_groupBy = value; }
124 inline void SetGroupBy(Aws::Vector<AnalyticsIntentGroupBySpecification>&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); }
127 inline ListIntentMetricsRequest& AddGroupBy(const AnalyticsIntentGroupBySpecification& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(value); return *this; }
128 inline ListIntentMetricsRequest& AddGroupBy(AnalyticsIntentGroupBySpecification&& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(std::move(value)); return *this; }
130
132
136 inline const Aws::Vector<AnalyticsIntentFilter>& GetFilters() const{ return m_filters; }
137 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
138 inline void SetFilters(const Aws::Vector<AnalyticsIntentFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
139 inline void SetFilters(Aws::Vector<AnalyticsIntentFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
141 inline ListIntentMetricsRequest& WithFilters(Aws::Vector<AnalyticsIntentFilter>&& value) { SetFilters(std::move(value)); return *this;}
142 inline ListIntentMetricsRequest& AddFilters(const AnalyticsIntentFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
143 inline ListIntentMetricsRequest& AddFilters(AnalyticsIntentFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
145
147
152 inline int GetMaxResults() const{ return m_maxResults; }
153 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
154 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
155 inline ListIntentMetricsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
157
159
167 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
168 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
169 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
170 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
171 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
172 inline ListIntentMetricsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
173 inline ListIntentMetricsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
174 inline ListIntentMetricsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
176 private:
177
178 Aws::String m_botId;
179 bool m_botIdHasBeenSet = false;
180
181 Aws::Utils::DateTime m_startDateTime;
182 bool m_startDateTimeHasBeenSet = false;
183
184 Aws::Utils::DateTime m_endDateTime;
185 bool m_endDateTimeHasBeenSet = false;
186
188 bool m_metricsHasBeenSet = false;
189
191 bool m_binByHasBeenSet = false;
192
194 bool m_groupByHasBeenSet = false;
195
197 bool m_filtersHasBeenSet = false;
198
199 int m_maxResults;
200 bool m_maxResultsHasBeenSet = false;
201
202 Aws::String m_nextToken;
203 bool m_nextTokenHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace LexModelsV2
208} // namespace Aws
void SetFilters(const Aws::Vector< AnalyticsIntentFilter > &value)
const Aws::Vector< AnalyticsIntentMetric > & GetMetrics() const
ListIntentMetricsRequest & AddBinBy(const AnalyticsBinBySpecification &value)
const Aws::Vector< AnalyticsIntentGroupBySpecification > & GetGroupBy() const
const Aws::Utils::DateTime & GetStartDateTime() const
void SetStartDateTime(const Aws::Utils::DateTime &value)
void SetGroupBy(const Aws::Vector< AnalyticsIntentGroupBySpecification > &value)
ListIntentMetricsRequest & WithBotId(Aws::String &&value)
ListIntentMetricsRequest & AddMetrics(const AnalyticsIntentMetric &value)
void SetBinBy(Aws::Vector< AnalyticsBinBySpecification > &&value)
ListIntentMetricsRequest & AddGroupBy(AnalyticsIntentGroupBySpecification &&value)
ListIntentMetricsRequest & WithBotId(const Aws::String &value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
ListIntentMetricsRequest & WithNextToken(Aws::String &&value)
void SetBinBy(const Aws::Vector< AnalyticsBinBySpecification > &value)
ListIntentMetricsRequest & AddFilters(AnalyticsIntentFilter &&value)
ListIntentMetricsRequest & WithBinBy(Aws::Vector< AnalyticsBinBySpecification > &&value)
ListIntentMetricsRequest & WithBinBy(const Aws::Vector< AnalyticsBinBySpecification > &value)
const Aws::Vector< AnalyticsBinBySpecification > & GetBinBy() const
ListIntentMetricsRequest & WithMetrics(const Aws::Vector< AnalyticsIntentMetric > &value)
void SetFilters(Aws::Vector< AnalyticsIntentFilter > &&value)
ListIntentMetricsRequest & AddGroupBy(const AnalyticsIntentGroupBySpecification &value)
ListIntentMetricsRequest & WithGroupBy(const Aws::Vector< AnalyticsIntentGroupBySpecification > &value)
ListIntentMetricsRequest & AddMetrics(AnalyticsIntentMetric &&value)
ListIntentMetricsRequest & WithEndDateTime(const Aws::Utils::DateTime &value)
ListIntentMetricsRequest & WithGroupBy(Aws::Vector< AnalyticsIntentGroupBySpecification > &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< AnalyticsIntentFilter > & GetFilters() const
ListIntentMetricsRequest & WithNextToken(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
ListIntentMetricsRequest & WithFilters(Aws::Vector< AnalyticsIntentFilter > &&value)
ListIntentMetricsRequest & AddFilters(const AnalyticsIntentFilter &value)
ListIntentMetricsRequest & WithBotId(const char *value)
ListIntentMetricsRequest & WithMetrics(Aws::Vector< AnalyticsIntentMetric > &&value)
ListIntentMetricsRequest & WithStartDateTime(const Aws::Utils::DateTime &value)
ListIntentMetricsRequest & WithFilters(const Aws::Vector< AnalyticsIntentFilter > &value)
ListIntentMetricsRequest & WithStartDateTime(Aws::Utils::DateTime &&value)
ListIntentMetricsRequest & WithNextToken(const char *value)
void SetGroupBy(Aws::Vector< AnalyticsIntentGroupBySpecification > &&value)
void SetMetrics(Aws::Vector< AnalyticsIntentMetric > &&value)
ListIntentMetricsRequest & AddBinBy(AnalyticsBinBySpecification &&value)
void SetMetrics(const Aws::Vector< AnalyticsIntentMetric > &value)
ListIntentMetricsRequest & WithEndDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector