7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/UsageType.h>
10#include <aws/deadline/model/Stats.h>
11#include <aws/core/utils/DateTime.h>
49 template<
typename QueueIdT = Aws::String>
50 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet =
true; m_queueId = std::forward<QueueIdT>(value); }
51 template<
typename QueueIdT = Aws::String>
61 template<
typename FleetIdT = Aws::String>
62 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet =
true; m_fleetId = std::forward<FleetIdT>(value); }
63 template<
typename FleetIdT = Aws::String>
73 template<
typename JobIdT = Aws::String>
74 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
75 template<
typename JobIdT = Aws::String>
85 template<
typename JobNameT = Aws::String>
86 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
87 template<
typename JobNameT = Aws::String>
97 template<
typename UserIdT = Aws::String>
98 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
99 template<
typename UserIdT = Aws::String>
119 template<
typename LicenseProductT = Aws::String>
120 void SetLicenseProduct(LicenseProductT&& value) { m_licenseProductHasBeenSet =
true; m_licenseProduct = std::forward<LicenseProductT>(value); }
121 template<
typename LicenseProductT = Aws::String>
131 template<
typename InstanceTypeT = Aws::String>
132 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
133 template<
typename InstanceTypeT = Aws::String>
143 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
154 template<
typename CostInUsdT = Stats>
155 void SetCostInUsd(CostInUsdT&& value) { m_costInUsdHasBeenSet =
true; m_costInUsd = std::forward<CostInUsdT>(value); }
156 template<
typename CostInUsdT = Stats>
166 template<
typename RuntimeInSecondsT = Stats>
167 void SetRuntimeInSeconds(RuntimeInSecondsT&& value) { m_runtimeInSecondsHasBeenSet =
true; m_runtimeInSeconds = std::forward<RuntimeInSecondsT>(value); }
168 template<
typename RuntimeInSecondsT = Stats>
178 template<
typename AggregationStartTimeT = Aws::Utils::DateTime>
179 void SetAggregationStartTime(AggregationStartTimeT&& value) { m_aggregationStartTimeHasBeenSet =
true; m_aggregationStartTime = std::forward<AggregationStartTimeT>(value); }
180 template<
typename AggregationStartTimeT = Aws::Utils::DateTime>
190 template<
typename AggregationEndTimeT = Aws::Utils::DateTime>
191 void SetAggregationEndTime(AggregationEndTimeT&& value) { m_aggregationEndTimeHasBeenSet =
true; m_aggregationEndTime = std::forward<AggregationEndTimeT>(value); }
192 template<
typename AggregationEndTimeT = Aws::Utils::DateTime>
198 bool m_queueIdHasBeenSet =
false;
201 bool m_fleetIdHasBeenSet =
false;
204 bool m_jobIdHasBeenSet =
false;
207 bool m_jobNameHasBeenSet =
false;
210 bool m_userIdHasBeenSet =
false;
213 bool m_usageTypeHasBeenSet =
false;
216 bool m_licenseProductHasBeenSet =
false;
219 bool m_instanceTypeHasBeenSet =
false;
222 bool m_countHasBeenSet =
false;
225 bool m_costInUsdHasBeenSet =
false;
227 Stats m_runtimeInSeconds;
228 bool m_runtimeInSecondsHasBeenSet =
false;
231 bool m_aggregationStartTimeHasBeenSet =
false;
234 bool m_aggregationEndTimeHasBeenSet =
false;
void SetAggregationStartTime(AggregationStartTimeT &&value)
bool AggregationStartTimeHasBeenSet() const
void SetUsageType(UsageType value)
Statistics & WithAggregationEndTime(AggregationEndTimeT &&value)
Statistics & WithInstanceType(InstanceTypeT &&value)
Statistics & WithFleetId(FleetIdT &&value)
const Aws::String & GetJobId() const
void SetLicenseProduct(LicenseProductT &&value)
Statistics & WithJobId(JobIdT &&value)
bool UsageTypeHasBeenSet() const
void SetJobName(JobNameT &&value)
const Stats & GetRuntimeInSeconds() const
void SetFleetId(FleetIdT &&value)
bool RuntimeInSecondsHasBeenSet() const
void SetQueueId(QueueIdT &&value)
const Aws::String & GetJobName() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool LicenseProductHasBeenSet() const
bool AggregationEndTimeHasBeenSet() const
bool CountHasBeenSet() const
AWS_DEADLINE_API Statistics & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceType() const
Statistics & WithUsageType(UsageType value)
Statistics & WithRuntimeInSeconds(RuntimeInSecondsT &&value)
void SetAggregationEndTime(AggregationEndTimeT &&value)
AWS_DEADLINE_API Statistics()=default
Statistics & WithUserId(UserIdT &&value)
const Aws::Utils::DateTime & GetAggregationEndTime() const
bool QueueIdHasBeenSet() const
bool JobNameHasBeenSet() const
const Aws::Utils::DateTime & GetAggregationStartTime() const
bool InstanceTypeHasBeenSet() const
bool UserIdHasBeenSet() const
Statistics & WithCostInUsd(CostInUsdT &&value)
bool CostInUsdHasBeenSet() const
void SetInstanceType(InstanceTypeT &&value)
UsageType GetUsageType() const
void SetCostInUsd(CostInUsdT &&value)
Statistics & WithJobName(JobNameT &&value)
const Stats & GetCostInUsd() const
void SetUserId(UserIdT &&value)
Statistics & WithLicenseProduct(LicenseProductT &&value)
Statistics & WithAggregationStartTime(AggregationStartTimeT &&value)
void SetJobId(JobIdT &&value)
const Aws::String & GetLicenseProduct() const
const Aws::String & GetFleetId() const
const Aws::String & GetUserId() const
Statistics & WithCount(int value)
AWS_DEADLINE_API Statistics(Aws::Utils::Json::JsonView jsonValue)
void SetRuntimeInSeconds(RuntimeInSecondsT &&value)
bool FleetIdHasBeenSet() const
Statistics & WithQueueId(QueueIdT &&value)
bool JobIdHasBeenSet() const
const Aws::String & GetQueueId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue