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

Represents information about free trial device minutes for an AWS * account.

See Also:

AWS * API Reference

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

The total number of free trial minutes that the account started with.

*/ inline double GetTotal() const{ return m_total; } /** *

The total number of free trial minutes that the account started with.

*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *

The total number of free trial minutes that the account started with.

*/ inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; } /** *

The total number of free trial minutes that the account started with.

*/ inline TrialMinutes& WithTotal(double value) { SetTotal(value); return *this;} /** *

The number of free trial minutes remaining in the account.

*/ inline double GetRemaining() const{ return m_remaining; } /** *

The number of free trial minutes remaining in the account.

*/ inline bool RemainingHasBeenSet() const { return m_remainingHasBeenSet; } /** *

The number of free trial minutes remaining in the account.

*/ inline void SetRemaining(double value) { m_remainingHasBeenSet = true; m_remaining = value; } /** *

The number of free trial minutes remaining in the account.

*/ inline TrialMinutes& WithRemaining(double value) { SetRemaining(value); return *this;} private: double m_total; bool m_totalHasBeenSet = false; double m_remaining; bool m_remainingHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws