AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiskSnapshotInfo.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_LIGHTSAIL_API DiskSnapshotInfo();
33 AWS_LIGHTSAIL_API DiskSnapshotInfo(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetSizeInGb() const{ return m_sizeInGb; }
43 inline bool SizeInGbHasBeenSet() const { return m_sizeInGbHasBeenSet; }
44 inline void SetSizeInGb(int value) { m_sizeInGbHasBeenSet = true; m_sizeInGb = value; }
45 inline DiskSnapshotInfo& WithSizeInGb(int value) { SetSizeInGb(value); return *this;}
47 private:
48
49 int m_sizeInGb;
50 bool m_sizeInGbHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace Lightsail
55} // namespace Aws
DiskSnapshotInfo & WithSizeInGb(int value)
AWS_LIGHTSAIL_API DiskSnapshotInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API DiskSnapshotInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue