/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Provides details about an Elastic Graphics specification for an Amazon EC2 * launch template.

See Also:

AWS * API Reference

*/ class AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails { public: AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails(); AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of Elastic Graphics accelerator.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type of Elastic Graphics accelerator.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of Elastic Graphics accelerator.

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of Elastic Graphics accelerator.

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of Elastic Graphics accelerator.

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The type of Elastic Graphics accelerator.

*/ inline AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type of Elastic Graphics accelerator.

*/ inline AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type of Elastic Graphics accelerator.

*/ inline AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws