7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/Stats.h>
11#include <aws/deadline/model/UsageType.h>
43 template <
typename QueueIdT = Aws::String>
45 m_queueIdHasBeenSet =
true;
46 m_queueId = std::forward<QueueIdT>(value);
48 template <
typename QueueIdT = Aws::String>
61 template <
typename FleetIdT = Aws::String>
63 m_fleetIdHasBeenSet =
true;
64 m_fleetId = std::forward<FleetIdT>(value);
66 template <
typename FleetIdT = Aws::String>
79 template <
typename JobIdT = Aws::String>
81 m_jobIdHasBeenSet =
true;
82 m_jobId = std::forward<JobIdT>(value);
84 template <
typename JobIdT = Aws::String>
86 SetJobId(std::forward<JobIdT>(value));
97 template <
typename JobNameT = Aws::String>
99 m_jobNameHasBeenSet =
true;
100 m_jobName = std::forward<JobNameT>(value);
102 template <
typename JobNameT = Aws::String>
115 template <
typename UserIdT = Aws::String>
117 m_userIdHasBeenSet =
true;
118 m_userId = std::forward<UserIdT>(value);
120 template <
typename UserIdT = Aws::String>
134 m_usageTypeHasBeenSet =
true;
149 template <
typename LicenseProductT = Aws::String>
151 m_licenseProductHasBeenSet =
true;
152 m_licenseProduct = std::forward<LicenseProductT>(value);
154 template <
typename LicenseProductT = Aws::String>
167 template <
typename InstanceTypeT = Aws::String>
169 m_instanceTypeHasBeenSet =
true;
170 m_instanceType = std::forward<InstanceTypeT>(value);
172 template <
typename InstanceTypeT = Aws::String>
186 m_countHasBeenSet =
true;
202 template <
typename CostInUsdT = Stats>
204 m_costInUsdHasBeenSet =
true;
205 m_costInUsd = std::forward<CostInUsdT>(value);
207 template <
typename CostInUsdT = Stats>
220 template <
typename RuntimeInSecondsT = Stats>
222 m_runtimeInSecondsHasBeenSet =
true;
223 m_runtimeInSeconds = std::forward<RuntimeInSecondsT>(value);
225 template <
typename RuntimeInSecondsT = Stats>
238 template <
typename AggregationStartTimeT = Aws::Utils::DateTime>
240 m_aggregationStartTimeHasBeenSet =
true;
241 m_aggregationStartTime = std::forward<AggregationStartTimeT>(value);
243 template <
typename AggregationStartTimeT = Aws::Utils::DateTime>
256 template <
typename AggregationEndTimeT = Aws::Utils::DateTime>
258 m_aggregationEndTimeHasBeenSet =
true;
259 m_aggregationEndTime = std::forward<AggregationEndTimeT>(value);
261 template <
typename AggregationEndTimeT = Aws::Utils::DateTime>
288 Stats m_runtimeInSeconds;
293 bool m_queueIdHasBeenSet =
false;
294 bool m_fleetIdHasBeenSet =
false;
295 bool m_jobIdHasBeenSet =
false;
296 bool m_jobNameHasBeenSet =
false;
297 bool m_userIdHasBeenSet =
false;
298 bool m_usageTypeHasBeenSet =
false;
299 bool m_licenseProductHasBeenSet =
false;
300 bool m_instanceTypeHasBeenSet =
false;
301 bool m_countHasBeenSet =
false;
302 bool m_costInUsdHasBeenSet =
false;
303 bool m_runtimeInSecondsHasBeenSet =
false;
304 bool m_aggregationStartTimeHasBeenSet =
false;
305 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