AWS SDK for C++  1.9.16
AWS SDK for C++
MonthlyTransfer.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Lightsail
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetGbPerMonthAllocated() const{ return m_gbPerMonthAllocated; }
43 
47  inline bool GbPerMonthAllocatedHasBeenSet() const { return m_gbPerMonthAllocatedHasBeenSet; }
48 
52  inline void SetGbPerMonthAllocated(int value) { m_gbPerMonthAllocatedHasBeenSet = true; m_gbPerMonthAllocated = value; }
53 
57  inline MonthlyTransfer& WithGbPerMonthAllocated(int value) { SetGbPerMonthAllocated(value); return *this;}
58 
59  private:
60 
61  int m_gbPerMonthAllocated;
62  bool m_gbPerMonthAllocatedHasBeenSet;
63  };
64 
65 } // namespace Model
66 } // namespace Lightsail
67 } // namespace Aws
Aws::Lightsail::Model::MonthlyTransfer::MonthlyTransfer
MonthlyTransfer()
Aws::Lightsail::Model::MonthlyTransfer::SetGbPerMonthAllocated
void SetGbPerMonthAllocated(int value)
Definition: MonthlyTransfer.h:52
Aws::Lightsail::Model::MonthlyTransfer::MonthlyTransfer
MonthlyTransfer(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::MonthlyTransfer::WithGbPerMonthAllocated
MonthlyTransfer & WithGbPerMonthAllocated(int value)
Definition: MonthlyTransfer.h:57
Aws::Lightsail::Model::MonthlyTransfer
Definition: MonthlyTransfer.h:31
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Lightsail::Model::MonthlyTransfer::GetGbPerMonthAllocated
int GetGbPerMonthAllocated() const
Definition: MonthlyTransfer.h:42
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Lightsail_EXPORTS.h
Aws::Lightsail::Model::MonthlyTransfer::operator=
MonthlyTransfer & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::MonthlyTransfer::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::MonthlyTransfer::GbPerMonthAllocatedHasBeenSet
bool GbPerMonthAllocatedHasBeenSet() const
Definition: MonthlyTransfer.h:47