/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Elastic Inference accelerator to use for the containers in the
* task.See Also:
AWS
* API Reference
The Elastic Inference accelerator device name.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The Elastic Inference accelerator device name.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The Elastic Inference accelerator device name.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The Elastic Inference accelerator device name.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The Elastic Inference accelerator device name.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The Elastic Inference accelerator device name.
*/ inline AwsEcsTaskDefinitionInferenceAcceleratorsDetails& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The Elastic Inference accelerator device name.
*/ inline AwsEcsTaskDefinitionInferenceAcceleratorsDetails& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The Elastic Inference accelerator device name.
*/ inline AwsEcsTaskDefinitionInferenceAcceleratorsDetails& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *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 AwsEcsTaskDefinitionInferenceAcceleratorsDetails& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;} /** *The Elastic Inference accelerator type to use.
*/ inline AwsEcsTaskDefinitionInferenceAcceleratorsDetails& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;} /** *The Elastic Inference accelerator type to use.
*/ inline AwsEcsTaskDefinitionInferenceAcceleratorsDetails& 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 SecurityHub } // namespace Aws