/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details on an Elastic Inference accelerator. For more information, see Working
* with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic
* Container Service Developer Guide.See Also:
AWS
* API Reference
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator device name. The deviceName
* must also be referenced in a container definition as a ResourceRequirement.
The Elastic Inference accelerator type to use.
*/ inline const Aws::String& GetDeviceType() const{ return m_deviceType; } /** *The Elastic Inference accelerator type to use.
*/ inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; } /** *The Elastic Inference accelerator type to use.
*/ inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; } /** *The Elastic Inference accelerator type to use.
*/ inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); } /** *The Elastic Inference accelerator type to use.
*/ inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); } /** *The Elastic Inference accelerator type to use.
*/ inline InferenceAccelerator& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;} /** *The Elastic Inference accelerator type to use.
*/ inline InferenceAccelerator& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;} /** *The Elastic Inference accelerator type to use.
*/ inline InferenceAccelerator& WithDeviceType(const char* value) { SetDeviceType(value); return *this;} private: Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::String m_deviceType; bool m_deviceTypeHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws