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

Configure Licensing.

See Also:

AWS API * Reference

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

Configure BYOL OS licensing.

*/ inline bool GetOsByol() const{ return m_osByol; } /** *

Configure BYOL OS licensing.

*/ inline bool OsByolHasBeenSet() const { return m_osByolHasBeenSet; } /** *

Configure BYOL OS licensing.

*/ inline void SetOsByol(bool value) { m_osByolHasBeenSet = true; m_osByol = value; } /** *

Configure BYOL OS licensing.

*/ inline Licensing& WithOsByol(bool value) { SetOsByol(value); return *this;} private: bool m_osByol; bool m_osByolHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws