/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an elastic inference accelerator. See Also:
AWS
* API Reference
The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline LaunchTemplateElasticInferenceAcceleratorResponse& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline LaunchTemplateElasticInferenceAcceleratorResponse& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of elastic inference accelerator. The possible values are * eia1.medium, eia1.large, and eia1.xlarge.
*/ inline LaunchTemplateElasticInferenceAcceleratorResponse& WithType(const char* value) { SetType(value); return *this;} /** *The number of elastic inference accelerators to attach to the instance.
*Default: 1
*/ inline int GetCount() const{ return m_count; } /** *The number of elastic inference accelerators to attach to the instance.
*Default: 1
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The number of elastic inference accelerators to attach to the instance.
*Default: 1
*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *The number of elastic inference accelerators to attach to the instance.
*Default: 1
*/ inline LaunchTemplateElasticInferenceAcceleratorResponse& WithCount(int value) { SetCount(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; int m_count; bool m_countHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws