AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListAggregatedUtterancesResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/UtteranceAggregationDuration.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/model/AggregatedUtterancesSummary.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELSV2_API ListAggregatedUtterancesResult() = default;
37
38
40
43 inline const Aws::String& GetBotId() const { return m_botId; }
44 template<typename BotIdT = Aws::String>
45 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
46 template<typename BotIdT = Aws::String>
47 ListAggregatedUtterancesResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
56 template<typename BotAliasIdT = Aws::String>
57 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::forward<BotAliasIdT>(value); }
58 template<typename BotAliasIdT = Aws::String>
59 ListAggregatedUtterancesResult& WithBotAliasId(BotAliasIdT&& value) { SetBotAliasId(std::forward<BotAliasIdT>(value)); return *this;}
61
63
67 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
68 template<typename BotVersionT = Aws::String>
69 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
70 template<typename BotVersionT = Aws::String>
71 ListAggregatedUtterancesResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetLocaleId() const { return m_localeId; }
79 template<typename LocaleIdT = Aws::String>
80 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
81 template<typename LocaleIdT = Aws::String>
82 ListAggregatedUtterancesResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
84
86
89 inline const UtteranceAggregationDuration& GetAggregationDuration() const { return m_aggregationDuration; }
90 template<typename AggregationDurationT = UtteranceAggregationDuration>
91 void SetAggregationDuration(AggregationDurationT&& value) { m_aggregationDurationHasBeenSet = true; m_aggregationDuration = std::forward<AggregationDurationT>(value); }
92 template<typename AggregationDurationT = UtteranceAggregationDuration>
93 ListAggregatedUtterancesResult& WithAggregationDuration(AggregationDurationT&& value) { SetAggregationDuration(std::forward<AggregationDurationT>(value)); return *this;}
95
97
101 inline const Aws::Utils::DateTime& GetAggregationWindowStartTime() const { return m_aggregationWindowStartTime; }
102 template<typename AggregationWindowStartTimeT = Aws::Utils::DateTime>
103 void SetAggregationWindowStartTime(AggregationWindowStartTimeT&& value) { m_aggregationWindowStartTimeHasBeenSet = true; m_aggregationWindowStartTime = std::forward<AggregationWindowStartTimeT>(value); }
104 template<typename AggregationWindowStartTimeT = Aws::Utils::DateTime>
105 ListAggregatedUtterancesResult& WithAggregationWindowStartTime(AggregationWindowStartTimeT&& value) { SetAggregationWindowStartTime(std::forward<AggregationWindowStartTimeT>(value)); return *this;}
107
109
113 inline const Aws::Utils::DateTime& GetAggregationWindowEndTime() const { return m_aggregationWindowEndTime; }
114 template<typename AggregationWindowEndTimeT = Aws::Utils::DateTime>
115 void SetAggregationWindowEndTime(AggregationWindowEndTimeT&& value) { m_aggregationWindowEndTimeHasBeenSet = true; m_aggregationWindowEndTime = std::forward<AggregationWindowEndTimeT>(value); }
116 template<typename AggregationWindowEndTimeT = Aws::Utils::DateTime>
117 ListAggregatedUtterancesResult& WithAggregationWindowEndTime(AggregationWindowEndTimeT&& value) { SetAggregationWindowEndTime(std::forward<AggregationWindowEndTimeT>(value)); return *this;}
119
121
129 inline const Aws::Utils::DateTime& GetAggregationLastRefreshedDateTime() const { return m_aggregationLastRefreshedDateTime; }
130 template<typename AggregationLastRefreshedDateTimeT = Aws::Utils::DateTime>
131 void SetAggregationLastRefreshedDateTime(AggregationLastRefreshedDateTimeT&& value) { m_aggregationLastRefreshedDateTimeHasBeenSet = true; m_aggregationLastRefreshedDateTime = std::forward<AggregationLastRefreshedDateTimeT>(value); }
132 template<typename AggregationLastRefreshedDateTimeT = Aws::Utils::DateTime>
133 ListAggregatedUtterancesResult& WithAggregationLastRefreshedDateTime(AggregationLastRefreshedDateTimeT&& value) { SetAggregationLastRefreshedDateTime(std::forward<AggregationLastRefreshedDateTimeT>(value)); return *this;}
135
137
143 inline const Aws::Vector<AggregatedUtterancesSummary>& GetAggregatedUtterancesSummaries() const { return m_aggregatedUtterancesSummaries; }
144 template<typename AggregatedUtterancesSummariesT = Aws::Vector<AggregatedUtterancesSummary>>
145 void SetAggregatedUtterancesSummaries(AggregatedUtterancesSummariesT&& value) { m_aggregatedUtterancesSummariesHasBeenSet = true; m_aggregatedUtterancesSummaries = std::forward<AggregatedUtterancesSummariesT>(value); }
146 template<typename AggregatedUtterancesSummariesT = Aws::Vector<AggregatedUtterancesSummary>>
147 ListAggregatedUtterancesResult& WithAggregatedUtterancesSummaries(AggregatedUtterancesSummariesT&& value) { SetAggregatedUtterancesSummaries(std::forward<AggregatedUtterancesSummariesT>(value)); return *this;}
148 template<typename AggregatedUtterancesSummariesT = AggregatedUtterancesSummary>
149 ListAggregatedUtterancesResult& AddAggregatedUtterancesSummaries(AggregatedUtterancesSummariesT&& value) { m_aggregatedUtterancesSummariesHasBeenSet = true; m_aggregatedUtterancesSummaries.emplace_back(std::forward<AggregatedUtterancesSummariesT>(value)); return *this; }
151
153
160 inline const Aws::String& GetNextToken() const { return m_nextToken; }
161 template<typename NextTokenT = Aws::String>
162 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
163 template<typename NextTokenT = Aws::String>
164 ListAggregatedUtterancesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
166
168
169 inline const Aws::String& GetRequestId() const { return m_requestId; }
170 template<typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
172 template<typename RequestIdT = Aws::String>
173 ListAggregatedUtterancesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
175 private:
176
177 Aws::String m_botId;
178 bool m_botIdHasBeenSet = false;
179
180 Aws::String m_botAliasId;
181 bool m_botAliasIdHasBeenSet = false;
182
183 Aws::String m_botVersion;
184 bool m_botVersionHasBeenSet = false;
185
186 Aws::String m_localeId;
187 bool m_localeIdHasBeenSet = false;
188
189 UtteranceAggregationDuration m_aggregationDuration;
190 bool m_aggregationDurationHasBeenSet = false;
191
192 Aws::Utils::DateTime m_aggregationWindowStartTime{};
193 bool m_aggregationWindowStartTimeHasBeenSet = false;
194
195 Aws::Utils::DateTime m_aggregationWindowEndTime{};
196 bool m_aggregationWindowEndTimeHasBeenSet = false;
197
198 Aws::Utils::DateTime m_aggregationLastRefreshedDateTime{};
199 bool m_aggregationLastRefreshedDateTimeHasBeenSet = false;
200
201 Aws::Vector<AggregatedUtterancesSummary> m_aggregatedUtterancesSummaries;
202 bool m_aggregatedUtterancesSummariesHasBeenSet = false;
203
204 Aws::String m_nextToken;
205 bool m_nextTokenHasBeenSet = false;
206
207 Aws::String m_requestId;
208 bool m_requestIdHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace LexModelsV2
213} // namespace Aws
ListAggregatedUtterancesResult & WithBotId(BotIdT &&value)
ListAggregatedUtterancesResult & AddAggregatedUtterancesSummaries(AggregatedUtterancesSummariesT &&value)
ListAggregatedUtterancesResult & WithAggregatedUtterancesSummaries(AggregatedUtterancesSummariesT &&value)
ListAggregatedUtterancesResult & WithAggregationLastRefreshedDateTime(AggregationLastRefreshedDateTimeT &&value)
ListAggregatedUtterancesResult & WithLocaleId(LocaleIdT &&value)
ListAggregatedUtterancesResult & WithAggregationWindowEndTime(AggregationWindowEndTimeT &&value)
void SetAggregatedUtterancesSummaries(AggregatedUtterancesSummariesT &&value)
ListAggregatedUtterancesResult & WithBotAliasId(BotAliasIdT &&value)
ListAggregatedUtterancesResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API ListAggregatedUtterancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAggregatedUtterancesResult & WithAggregationDuration(AggregationDurationT &&value)
ListAggregatedUtterancesResult & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API ListAggregatedUtterancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAggregatedUtterancesResult & WithNextToken(NextTokenT &&value)
void SetAggregationLastRefreshedDateTime(AggregationLastRefreshedDateTimeT &&value)
void SetAggregationWindowStartTime(AggregationWindowStartTimeT &&value)
const UtteranceAggregationDuration & GetAggregationDuration() const
ListAggregatedUtterancesResult & WithAggregationWindowStartTime(AggregationWindowStartTimeT &&value)
AWS_LEXMODELSV2_API ListAggregatedUtterancesResult()=default
const Aws::Vector< AggregatedUtterancesSummary > & GetAggregatedUtterancesSummaries() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue