/** * 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 the license configuration for an Amazon EC2 instance. *

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the license configuration.

*/ inline const Aws::String& GetLicenseConfigurationArn() const{ return m_licenseConfigurationArn; } /** *

The Amazon Resource Name (ARN) of the license configuration.

*/ inline bool LicenseConfigurationArnHasBeenSet() const { return m_licenseConfigurationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the license configuration.

*/ inline void SetLicenseConfigurationArn(const Aws::String& value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn = value; } /** *

The Amazon Resource Name (ARN) of the license configuration.

*/ inline void SetLicenseConfigurationArn(Aws::String&& value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the license configuration.

*/ inline void SetLicenseConfigurationArn(const char* value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the license configuration.

*/ inline AwsEc2LaunchTemplateDataLicenseSetDetails& WithLicenseConfigurationArn(const Aws::String& value) { SetLicenseConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the license configuration.

*/ inline AwsEc2LaunchTemplateDataLicenseSetDetails& WithLicenseConfigurationArn(Aws::String&& value) { SetLicenseConfigurationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the license configuration.

*/ inline AwsEc2LaunchTemplateDataLicenseSetDetails& WithLicenseConfigurationArn(const char* value) { SetLicenseConfigurationArn(value); return *this;} private: Aws::String m_licenseConfigurationArn; bool m_licenseConfigurationArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws