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

Describes the monthly data transfer in and out of your virtual private server * (or instance).

See Also:

AWS * API Reference

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

The amount allocated per month (in GB).

*/ inline int GetGbPerMonthAllocated() const{ return m_gbPerMonthAllocated; } /** *

The amount allocated per month (in GB).

*/ inline bool GbPerMonthAllocatedHasBeenSet() const { return m_gbPerMonthAllocatedHasBeenSet; } /** *

The amount allocated per month (in GB).

*/ inline void SetGbPerMonthAllocated(int value) { m_gbPerMonthAllocatedHasBeenSet = true; m_gbPerMonthAllocated = value; } /** *

The amount allocated per month (in GB).

*/ inline MonthlyTransfer& WithGbPerMonthAllocated(int value) { SetGbPerMonthAllocated(value); return *this;} private: int m_gbPerMonthAllocated; bool m_gbPerMonthAllocatedHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws