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>
51 inline void SetQueueId(
const char* value) { m_queueIdHasBeenSet =
true; m_queueId.assign(value); }
65 inline void SetFleetId(
const char* value) { m_fleetIdHasBeenSet =
true; m_fleetId.assign(value); }
79 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
93 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
107 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
133 inline void SetLicenseProduct(
const char* value) { m_licenseProductHasBeenSet =
true; m_licenseProduct.assign(value); }
147 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
159 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
170 inline void SetCostInUsd(
const Stats& value) { m_costInUsdHasBeenSet =
true; m_costInUsd = value; }
171 inline void SetCostInUsd(
Stats&& value) { m_costInUsdHasBeenSet =
true; m_costInUsd = std::move(value); }
214 bool m_queueIdHasBeenSet =
false;
217 bool m_fleetIdHasBeenSet =
false;
220 bool m_jobIdHasBeenSet =
false;
223 bool m_jobNameHasBeenSet =
false;
226 bool m_userIdHasBeenSet =
false;
229 bool m_usageTypeHasBeenSet =
false;
232 bool m_licenseProductHasBeenSet =
false;
235 bool m_instanceTypeHasBeenSet =
false;
238 bool m_countHasBeenSet =
false;
241 bool m_costInUsdHasBeenSet =
false;
243 Stats m_runtimeInSeconds;
244 bool m_runtimeInSecondsHasBeenSet =
false;
247 bool m_aggregationStartTimeHasBeenSet =
false;
250 bool m_aggregationEndTimeHasBeenSet =
false;
Statistics & WithUserId(Aws::String &&value)
Statistics & WithFleetId(const Aws::String &value)
bool AggregationStartTimeHasBeenSet() const
Statistics & WithInstanceType(Aws::String &&value)
void SetUserId(const char *value)
Statistics & WithQueueId(Aws::String &&value)
Statistics & WithAggregationStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetJobId() const
void SetLicenseProduct(Aws::String &&value)
void SetLicenseProduct(const Aws::String &value)
Statistics & WithCostInUsd(const Stats &value)
void SetCostInUsd(const Stats &value)
Statistics & WithUserId(const char *value)
bool UsageTypeHasBeenSet() const
void SetRuntimeInSeconds(Stats &&value)
void SetInstanceType(const char *value)
void SetAggregationStartTime(const Aws::Utils::DateTime &value)
Statistics & WithInstanceType(const char *value)
Statistics & WithAggregationEndTime(Aws::Utils::DateTime &&value)
const Stats & GetRuntimeInSeconds() const
Statistics & WithJobId(const Aws::String &value)
bool RuntimeInSecondsHasBeenSet() const
Statistics & WithAggregationEndTime(const Aws::Utils::DateTime &value)
Statistics & WithJobName(Aws::String &&value)
void SetCostInUsd(Stats &&value)
void SetJobId(Aws::String &&value)
Statistics & WithJobName(const char *value)
const Aws::String & GetJobName() const
const UsageType & GetUsageType() const
void SetAggregationEndTime(const Aws::Utils::DateTime &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool LicenseProductHasBeenSet() const
void SetFleetId(Aws::String &&value)
bool AggregationEndTimeHasBeenSet() const
bool CountHasBeenSet() const
Statistics & WithFleetId(const char *value)
void SetJobName(const Aws::String &value)
Statistics & WithQueueId(const char *value)
AWS_DEADLINE_API Statistics & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceType() const
void SetUserId(Aws::String &&value)
void SetJobName(Aws::String &&value)
Statistics & WithJobName(const Aws::String &value)
void SetLicenseProduct(const char *value)
void SetUsageType(UsageType &&value)
void SetQueueId(const char *value)
void SetAggregationStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetAggregationEndTime() const
Statistics & WithRuntimeInSeconds(Stats &&value)
bool QueueIdHasBeenSet() const
void SetJobName(const char *value)
Statistics & WithAggregationStartTime(Aws::Utils::DateTime &&value)
bool JobNameHasBeenSet() const
const Aws::Utils::DateTime & GetAggregationStartTime() const
bool InstanceTypeHasBeenSet() const
void SetUsageType(const UsageType &value)
Statistics & WithLicenseProduct(Aws::String &&value)
bool UserIdHasBeenSet() const
Statistics & WithUsageType(const UsageType &value)
Statistics & WithQueueId(const Aws::String &value)
Statistics & WithJobId(const char *value)
Statistics & WithInstanceType(const Aws::String &value)
bool CostInUsdHasBeenSet() const
Statistics & WithUsageType(UsageType &&value)
Statistics & WithCostInUsd(Stats &&value)
const Stats & GetCostInUsd() const
void SetFleetId(const char *value)
Statistics & WithFleetId(Aws::String &&value)
void SetUserId(const Aws::String &value)
void SetQueueId(Aws::String &&value)
void SetQueueId(const Aws::String &value)
Statistics & WithUserId(const Aws::String &value)
const Aws::String & GetLicenseProduct() const
const Aws::String & GetFleetId() const
void SetRuntimeInSeconds(const Stats &value)
const Aws::String & GetUserId() const
Statistics & WithCount(int value)
void SetAggregationEndTime(Aws::Utils::DateTime &&value)
AWS_DEADLINE_API Statistics(Aws::Utils::Json::JsonView jsonValue)
Statistics & WithLicenseProduct(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
bool FleetIdHasBeenSet() const
void SetJobId(const char *value)
Statistics & WithLicenseProduct(const char *value)
AWS_DEADLINE_API Statistics()
Statistics & WithRuntimeInSeconds(const Stats &value)
bool JobIdHasBeenSet() const
Statistics & WithJobId(Aws::String &&value)
const Aws::String & GetQueueId() const
void SetFleetId(const Aws::String &value)
void SetJobId(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue