/** * 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 LicenseManager { namespace Model { /** *

Information about a license type conversion task.

See Also:

* AWS * API Reference

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

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline const Aws::String& GetUsageOperation() const{ return m_usageOperation; } /** *

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline bool UsageOperationHasBeenSet() const { return m_usageOperationHasBeenSet; } /** *

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline void SetUsageOperation(const Aws::String& value) { m_usageOperationHasBeenSet = true; m_usageOperation = value; } /** *

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline void SetUsageOperation(Aws::String&& value) { m_usageOperationHasBeenSet = true; m_usageOperation = std::move(value); } /** *

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline void SetUsageOperation(const char* value) { m_usageOperationHasBeenSet = true; m_usageOperation.assign(value); } /** *

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline LicenseConversionContext& WithUsageOperation(const Aws::String& value) { SetUsageOperation(value); return *this;} /** *

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline LicenseConversionContext& WithUsageOperation(Aws::String&& value) { SetUsageOperation(std::move(value)); return *this;} /** *

The Usage operation value that corresponds to the license type you are * converting your resource from. For more information about which platforms * correspond to which usage operation values see Sample * data: usage operation by platform

*/ inline LicenseConversionContext& WithUsageOperation(const char* value) { SetUsageOperation(value); return *this;} private: Aws::String m_usageOperation; bool m_usageOperationHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws