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"; }
50 inline void SetFarmId(
const char* value) { m_farmIdHasBeenSet =
true; m_farmId.assign(value); }
100 inline void SetTimezone(
const char* value) { m_timezoneHasBeenSet =
true; m_timezone.assign(value); }
112 inline void SetPeriod(
const Period& value) { m_periodHasBeenSet =
true; m_period = value; }
113 inline void SetPeriod(
Period&& value) { m_periodHasBeenSet =
true; m_period = std::move(value); }
148 bool m_farmIdHasBeenSet =
false;
151 bool m_resourceIdsHasBeenSet =
false;
154 bool m_startTimeHasBeenSet =
false;
157 bool m_endTimeHasBeenSet =
false;
160 bool m_timezoneHasBeenSet =
false;
163 bool m_periodHasBeenSet =
false;
166 bool m_groupByHasBeenSet =
false;
169 bool m_statisticsHasBeenSet =
false;
void SetTimezone(const Aws::String &value)
bool GroupByHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_DEADLINE_API Aws::String SerializePayload() const override
StartSessionsStatisticsAggregationRequest & WithStatistics(Aws::Vector< UsageStatistic > &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool StatisticsHasBeenSet() const
const Aws::String & GetFarmId() const
const Aws::String & GetTimezone() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetFarmId(const Aws::String &value)
bool ResourceIdsHasBeenSet() const
StartSessionsStatisticsAggregationRequest & WithResourceIds(SessionsStatisticsResources &&value)
StartSessionsStatisticsAggregationRequest & AddGroupBy(UsageGroupByField &&value)
StartSessionsStatisticsAggregationRequest & WithGroupBy(Aws::Vector< UsageGroupByField > &&value)
void SetFarmId(const char *value)
StartSessionsStatisticsAggregationRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
StartSessionsStatisticsAggregationRequest & WithGroupBy(const Aws::Vector< UsageGroupByField > &value)
void SetResourceIds(const SessionsStatisticsResources &value)
const Period & GetPeriod() const
void SetStatistics(const Aws::Vector< UsageStatistic > &value)
StartSessionsStatisticsAggregationRequest & AddGroupBy(const UsageGroupByField &value)
void SetPeriod(Period &&value)
StartSessionsStatisticsAggregationRequest & WithTimezone(const Aws::String &value)
void SetGroupBy(Aws::Vector< UsageGroupByField > &&value)
StartSessionsStatisticsAggregationRequest & WithEndTime(Aws::Utils::DateTime &&value)
StartSessionsStatisticsAggregationRequest & WithTimezone(Aws::String &&value)
StartSessionsStatisticsAggregationRequest & WithFarmId(const Aws::String &value)
StartSessionsStatisticsAggregationRequest & WithFarmId(const char *value)
void SetFarmId(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetPeriod(const Period &value)
void SetStartTime(Aws::Utils::DateTime &&value)
StartSessionsStatisticsAggregationRequest & WithResourceIds(const SessionsStatisticsResources &value)
bool EndTimeHasBeenSet() const
StartSessionsStatisticsAggregationRequest & WithStatistics(const Aws::Vector< UsageStatistic > &value)
const SessionsStatisticsResources & GetResourceIds() const
void SetStatistics(Aws::Vector< UsageStatistic > &&value)
StartSessionsStatisticsAggregationRequest & WithPeriod(Period &&value)
AWS_DEADLINE_API StartSessionsStatisticsAggregationRequest()
StartSessionsStatisticsAggregationRequest & AddStatistics(UsageStatistic &&value)
StartSessionsStatisticsAggregationRequest & WithFarmId(Aws::String &&value)
StartSessionsStatisticsAggregationRequest & WithTimezone(const char *value)
void SetGroupBy(const Aws::Vector< UsageGroupByField > &value)
StartSessionsStatisticsAggregationRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetResourceIds(SessionsStatisticsResources &&value)
bool FarmIdHasBeenSet() const
StartSessionsStatisticsAggregationRequest & AddStatistics(const UsageStatistic &value)
bool TimezoneHasBeenSet() const
bool StartTimeHasBeenSet() const
const Aws::Vector< UsageStatistic > & GetStatistics() const
const Aws::Utils::DateTime & GetStartTime() const
void SetTimezone(Aws::String &&value)
const Aws::Vector< UsageGroupByField > & GetGroupBy() const
StartSessionsStatisticsAggregationRequest & WithStartTime(Aws::Utils::DateTime &&value)
StartSessionsStatisticsAggregationRequest & WithPeriod(const Period &value)
bool PeriodHasBeenSet() const
void SetTimezone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector