7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/DeadlineRequest.h>
11#include <aws/deadline/Deadline_EXPORTS.h>
12#include <aws/deadline/model/Period.h>
13#include <aws/deadline/model/SessionsStatisticsResources.h>
14#include <aws/deadline/model/UsageGroupByField.h>
15#include <aws/deadline/model/UsageStatistic.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "StartSessionsStatisticsAggregation"; }
44 template <
typename FarmIdT = Aws::String>
46 m_farmIdHasBeenSet =
true;
47 m_farmId = std::forward<FarmIdT>(value);
49 template <
typename FarmIdT = Aws::String>
62 template <
typename ResourceIdsT = SessionsStatisticsResources>
64 m_resourceIdsHasBeenSet =
true;
65 m_resourceIds = std::forward<ResourceIdsT>(value);
67 template <
typename ResourceIdsT = SessionsStatisticsResources>
80 template <
typename StartTimeT = Aws::Utils::DateTime>
82 m_startTimeHasBeenSet =
true;
83 m_startTime = std::forward<StartTimeT>(value);
85 template <
typename StartTimeT = Aws::Utils::DateTime>
98 template <
typename EndTimeT = Aws::Utils::DateTime>
100 m_endTimeHasBeenSet =
true;
101 m_endTime = std::forward<EndTimeT>(value);
103 template <
typename EndTimeT = Aws::Utils::DateTime>
116 template <
typename TimezoneT = Aws::String>
118 m_timezoneHasBeenSet =
true;
119 m_timezone = std::forward<TimezoneT>(value);
121 template <
typename TimezoneT = Aws::String>
135 m_periodHasBeenSet =
true;
150 template <
typename GroupByT = Aws::Vector<UsageGroupByField>>
152 m_groupByHasBeenSet =
true;
153 m_groupBy = std::forward<GroupByT>(value);
155 template <
typename GroupByT = Aws::Vector<UsageGroupByField>>
161 m_groupByHasBeenSet =
true;
162 m_groupBy.push_back(value);
173 template <
typename StatisticsT = Aws::Vector<UsageStatistic>>
175 m_statisticsHasBeenSet =
true;
176 m_statistics = std::forward<StatisticsT>(value);
178 template <
typename StatisticsT = Aws::Vector<UsageStatistic>>
184 m_statisticsHasBeenSet =
true;
185 m_statistics.push_back(value);
205 bool m_farmIdHasBeenSet =
false;
206 bool m_resourceIdsHasBeenSet =
false;
207 bool m_startTimeHasBeenSet =
false;
208 bool m_endTimeHasBeenSet =
false;
209 bool m_timezoneHasBeenSet =
false;
210 bool m_periodHasBeenSet =
false;
211 bool m_groupByHasBeenSet =
false;
212 bool m_statisticsHasBeenSet =
false;
bool GroupByHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_DEADLINE_API Aws::String SerializePayload() const override
void SetStatistics(StatisticsT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool StatisticsHasBeenSet() const
const Aws::String & GetFarmId() const
const Aws::String & GetTimezone() const
StartSessionsStatisticsAggregationRequest & AddStatistics(UsageStatistic value)
bool ResourceIdsHasBeenSet() const
StartSessionsStatisticsAggregationRequest & WithEndTime(EndTimeT &&value)
void SetTimezone(TimezoneT &&value)
void SetEndTime(EndTimeT &&value)
void SetStartTime(StartTimeT &&value)
AWS_DEADLINE_API StartSessionsStatisticsAggregationRequest()=default
StartSessionsStatisticsAggregationRequest & WithFarmId(FarmIdT &&value)
bool EndTimeHasBeenSet() const
void SetResourceIds(ResourceIdsT &&value)
StartSessionsStatisticsAggregationRequest & WithStartTime(StartTimeT &&value)
const SessionsStatisticsResources & GetResourceIds() const
void SetFarmId(FarmIdT &&value)
StartSessionsStatisticsAggregationRequest & WithTimezone(TimezoneT &&value)
StartSessionsStatisticsAggregationRequest & WithResourceIds(ResourceIdsT &&value)
bool FarmIdHasBeenSet() const
StartSessionsStatisticsAggregationRequest & WithStatistics(StatisticsT &&value)
StartSessionsStatisticsAggregationRequest & AddGroupBy(UsageGroupByField value)
void SetPeriod(Period value)
bool TimezoneHasBeenSet() const
bool StartTimeHasBeenSet() const
const Aws::Vector< UsageStatistic > & GetStatistics() const
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Vector< UsageGroupByField > & GetGroupBy() const
void SetGroupBy(GroupByT &&value)
StartSessionsStatisticsAggregationRequest & WithPeriod(Period value)
StartSessionsStatisticsAggregationRequest & WithGroupBy(GroupByT &&value)
bool PeriodHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector