7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/SessionsStatisticsResources.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/deadline/model/Period.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/deadline/model/UsageGroupByField.h>
15#include <aws/deadline/model/UsageStatistic.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "StartSessionsStatisticsAggregation"; }
48 template<
typename FarmIdT = Aws::String>
49 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet =
true; m_farmId = std::forward<FarmIdT>(value); }
50 template<
typename FarmIdT = Aws::String>
60 template<
typename ResourceIdsT = SessionsStatisticsResources>
61 void SetResourceIds(ResourceIdsT&& value) { m_resourceIdsHasBeenSet =
true; m_resourceIds = std::forward<ResourceIdsT>(value); }
62 template<
typename ResourceIdsT = SessionsStatisticsResources>
72 template<
typename StartTimeT = Aws::Utils::DateTime>
73 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
74 template<
typename StartTimeT = Aws::Utils::DateTime>
84 template<
typename EndTimeT = Aws::Utils::DateTime>
85 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
86 template<
typename EndTimeT = Aws::Utils::DateTime>
96 template<
typename TimezoneT = Aws::String>
97 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet =
true; m_timezone = std::forward<TimezoneT>(value); }
98 template<
typename TimezoneT = Aws::String>
118 template<
typename GroupByT = Aws::Vector<UsageGroupByField>>
119 void SetGroupBy(GroupByT&& value) { m_groupByHasBeenSet =
true; m_groupBy = std::forward<GroupByT>(value); }
120 template<
typename GroupByT = Aws::Vector<UsageGroupByField>>
131 template<
typename StatisticsT = Aws::Vector<UsageStatistic>>
132 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet =
true; m_statistics = std::forward<StatisticsT>(value); }
133 template<
typename StatisticsT = Aws::Vector<UsageStatistic>>
140 bool m_farmIdHasBeenSet =
false;
143 bool m_resourceIdsHasBeenSet =
false;
146 bool m_startTimeHasBeenSet =
false;
149 bool m_endTimeHasBeenSet =
false;
152 bool m_timezoneHasBeenSet =
false;
155 bool m_periodHasBeenSet =
false;
158 bool m_groupByHasBeenSet =
false;
161 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