/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A throughput entry for an Elastic Inference Accelerator type. See
* Also:
AWS
* API Reference
The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline KeyValuePair& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline KeyValuePair& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The throughput value of the Elastic Inference Accelerator type. It can * assume the following values: TFLOPS16bit: the throughput expressed in 16bit * TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
*/ inline KeyValuePair& WithKey(const char* value) { SetKey(value); return *this;} /** *The throughput value of the Elastic Inference Accelerator type.
*/ inline int GetValue() const{ return m_value; } /** *The throughput value of the Elastic Inference Accelerator type.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The throughput value of the Elastic Inference Accelerator type.
*/ inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; } /** *The throughput value of the Elastic Inference Accelerator type.
*/ inline KeyValuePair& WithValue(int value) { SetValue(value); return *this;} private: Aws::String m_key; bool m_keyHasBeenSet = false; int m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ElasticInference } // namespace Aws