This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

57 lines
1.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticmapreduce/EMR_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace EMR
{
namespace Model
{
enum class Unit
{
NOT_SET,
NONE,
SECONDS,
MICRO_SECONDS,
MILLI_SECONDS,
BYTES,
KILO_BYTES,
MEGA_BYTES,
GIGA_BYTES,
TERA_BYTES,
BITS,
KILO_BITS,
MEGA_BITS,
GIGA_BITS,
TERA_BITS,
PERCENT,
COUNT,
BYTES_PER_SECOND,
KILO_BYTES_PER_SECOND,
MEGA_BYTES_PER_SECOND,
GIGA_BYTES_PER_SECOND,
TERA_BYTES_PER_SECOND,
BITS_PER_SECOND,
KILO_BITS_PER_SECOND,
MEGA_BITS_PER_SECOND,
GIGA_BITS_PER_SECOND,
TERA_BITS_PER_SECOND,
COUNT_PER_SECOND
};
namespace UnitMapper
{
AWS_EMR_API Unit GetUnitForName(const Aws::String& name);
AWS_EMR_API Aws::String GetNameForUnit(Unit value);
} // namespace UnitMapper
} // namespace Model
} // namespace EMR
} // namespace Aws