/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the emr-serverless-2021-07-13.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.EMRServerless.Model
{
///
/// The aggregate vCPU, memory, and storage resources used from the time job start executing
/// till the time job is terminated, rounded up to the nearest second.
///
public partial class TotalResourceUtilization
{
private double? _memorygbHour;
private double? _storagegbHour;
private double? _vcpuHour;
///
/// Gets and sets the property MemoryGBHour.
///
/// The aggregated memory used per hour from the time job start executing till the time
/// job is terminated.
///
///
public double MemoryGBHour
{
get { return this._memorygbHour.GetValueOrDefault(); }
set { this._memorygbHour = value; }
}
// Check to see if MemoryGBHour property is set
internal bool IsSetMemoryGBHour()
{
return this._memorygbHour.HasValue;
}
///
/// Gets and sets the property StorageGBHour.
///
/// The aggregated storage used per hour from the time job start executing till the time
/// job is terminated.
///
///
public double StorageGBHour
{
get { return this._storagegbHour.GetValueOrDefault(); }
set { this._storagegbHour = value; }
}
// Check to see if StorageGBHour property is set
internal bool IsSetStorageGBHour()
{
return this._storagegbHour.HasValue;
}
///
/// Gets and sets the property VCPUHour.
///
/// The aggregated vCPU used per hour from the time job start executing till the time
/// job is terminated.
///
///
public double VCPUHour
{
get { return this._vcpuHour.GetValueOrDefault(); }
set { this._vcpuHour = value; }
}
// Check to see if VCPUHour property is set
internal bool IsSetVCPUHour()
{
return this._vcpuHour.HasValue;
}
}
}