/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The resource utilization for memory, storage, and vCPU for
* jobs.See Also:
AWS
* API Reference
The aggregated vCPU used per hour from the time the job starts executing * until the job is terminated.
*/ inline double GetVCPUHour() const{ return m_vCPUHour; } /** *The aggregated vCPU used per hour from the time the job starts executing * until the job is terminated.
*/ inline bool VCPUHourHasBeenSet() const { return m_vCPUHourHasBeenSet; } /** *The aggregated vCPU used per hour from the time the job starts executing * until the job is terminated.
*/ inline void SetVCPUHour(double value) { m_vCPUHourHasBeenSet = true; m_vCPUHour = value; } /** *The aggregated vCPU used per hour from the time the job starts executing * until the job is terminated.
*/ inline ResourceUtilization& WithVCPUHour(double value) { SetVCPUHour(value); return *this;} /** *The aggregated memory used per hour from the time the job starts executing * until the job is terminated.
*/ inline double GetMemoryGBHour() const{ return m_memoryGBHour; } /** *The aggregated memory used per hour from the time the job starts executing * until the job is terminated.
*/ inline bool MemoryGBHourHasBeenSet() const { return m_memoryGBHourHasBeenSet; } /** *The aggregated memory used per hour from the time the job starts executing * until the job is terminated.
*/ inline void SetMemoryGBHour(double value) { m_memoryGBHourHasBeenSet = true; m_memoryGBHour = value; } /** *The aggregated memory used per hour from the time the job starts executing * until the job is terminated.
*/ inline ResourceUtilization& WithMemoryGBHour(double value) { SetMemoryGBHour(value); return *this;} /** *The aggregated storage used per hour from the time the job starts executing * until the job is terminated.
*/ inline double GetStorageGBHour() const{ return m_storageGBHour; } /** *The aggregated storage used per hour from the time the job starts executing * until the job is terminated.
*/ inline bool StorageGBHourHasBeenSet() const { return m_storageGBHourHasBeenSet; } /** *The aggregated storage used per hour from the time the job starts executing * until the job is terminated.
*/ inline void SetStorageGBHour(double value) { m_storageGBHourHasBeenSet = true; m_storageGBHour = value; } /** *The aggregated storage used per hour from the time the job starts executing * until the job is terminated.
*/ inline ResourceUtilization& WithStorageGBHour(double value) { SetStorageGBHour(value); return *this;} private: double m_vCPUHour; bool m_vCPUHourHasBeenSet = false; double m_memoryGBHour; bool m_memoryGBHourHasBeenSet = false; double m_storageGBHour; bool m_storageGBHourHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws