AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
MonthlyTransfer.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Lightsail {
17namespace Model {
18
26 public:
27 AWS_LIGHTSAIL_API MonthlyTransfer() = default;
28 AWS_LIGHTSAIL_API MonthlyTransfer(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetGbPerMonthAllocated() const { return m_gbPerMonthAllocated; }
37 inline bool GbPerMonthAllocatedHasBeenSet() const { return m_gbPerMonthAllocatedHasBeenSet; }
38 inline void SetGbPerMonthAllocated(int value) {
39 m_gbPerMonthAllocatedHasBeenSet = true;
40 m_gbPerMonthAllocated = value;
41 }
44 return *this;
45 }
47 private:
48 int m_gbPerMonthAllocated{0};
49 bool m_gbPerMonthAllocatedHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace Lightsail
54} // namespace Aws
AWS_LIGHTSAIL_API MonthlyTransfer(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API MonthlyTransfer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API MonthlyTransfer()=default
MonthlyTransfer & WithGbPerMonthAllocated(int value)
Aws::Utils::Json::JsonValue JsonValue