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

Details about a provisional configuration.

See Also:

AWS * API Reference

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

Maximum time for the provisional configuration, in minutes.

*/ inline int GetMaxTimeToLiveInMinutes() const{ return m_maxTimeToLiveInMinutes; } /** *

Maximum time for the provisional configuration, in minutes.

*/ inline bool MaxTimeToLiveInMinutesHasBeenSet() const { return m_maxTimeToLiveInMinutesHasBeenSet; } /** *

Maximum time for the provisional configuration, in minutes.

*/ inline void SetMaxTimeToLiveInMinutes(int value) { m_maxTimeToLiveInMinutesHasBeenSet = true; m_maxTimeToLiveInMinutes = value; } /** *

Maximum time for the provisional configuration, in minutes.

*/ inline ProvisionalConfiguration& WithMaxTimeToLiveInMinutes(int value) { SetMaxTimeToLiveInMinutes(value); return *this;} private: int m_maxTimeToLiveInMinutes; bool m_maxTimeToLiveInMinutesHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws