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

Describes a license configuration.

See Also:

AWS * API Reference

*/ class LaunchTemplateLicenseConfigurationRequest { public: AWS_EC2_API LaunchTemplateLicenseConfigurationRequest(); AWS_EC2_API LaunchTemplateLicenseConfigurationRequest(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API LaunchTemplateLicenseConfigurationRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) 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 LaunchTemplateLicenseConfigurationRequest& WithLicenseConfigurationArn(const Aws::String& value) { SetLicenseConfigurationArn(value); return *this;} /** *

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

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

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

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