AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
SnapshotBuild.h
1
6#pragma once
7#include <aws/lambda-microvms/LambdaMicrovms_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LambdaMicrovms {
17namespace Model {
18
26 public:
27 AWS_LAMBDAMICROVMS_API SnapshotBuild() = default;
28 AWS_LAMBDAMICROVMS_API SnapshotBuild(Aws::Utils::Json::JsonView jsonValue);
29 AWS_LAMBDAMICROVMS_API SnapshotBuild& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LAMBDAMICROVMS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetMemorySnapshotSizeInBytes() const { return m_memorySnapshotSizeInBytes; }
37 inline bool MemorySnapshotSizeInBytesHasBeenSet() const { return m_memorySnapshotSizeInBytesHasBeenSet; }
38 inline void SetMemorySnapshotSizeInBytes(long long value) {
39 m_memorySnapshotSizeInBytesHasBeenSet = true;
40 m_memorySnapshotSizeInBytes = value;
41 }
44 return *this;
45 }
47
49
52 inline long long GetCodeInstallSizeInBytes() const { return m_codeInstallSizeInBytes; }
53 inline bool CodeInstallSizeInBytesHasBeenSet() const { return m_codeInstallSizeInBytesHasBeenSet; }
54 inline void SetCodeInstallSizeInBytes(long long value) {
55 m_codeInstallSizeInBytesHasBeenSet = true;
56 m_codeInstallSizeInBytes = value;
57 }
58 inline SnapshotBuild& WithCodeInstallSizeInBytes(long long value) {
60 return *this;
61 }
63
65
68 inline long long GetDiskSnapshotSizeInBytes() const { return m_diskSnapshotSizeInBytes; }
69 inline bool DiskSnapshotSizeInBytesHasBeenSet() const { return m_diskSnapshotSizeInBytesHasBeenSet; }
70 inline void SetDiskSnapshotSizeInBytes(long long value) {
71 m_diskSnapshotSizeInBytesHasBeenSet = true;
72 m_diskSnapshotSizeInBytes = value;
73 }
74 inline SnapshotBuild& WithDiskSnapshotSizeInBytes(long long value) {
76 return *this;
77 }
79 private:
80 long long m_memorySnapshotSizeInBytes{0};
81
82 long long m_codeInstallSizeInBytes{0};
83
84 long long m_diskSnapshotSizeInBytes{0};
85 bool m_memorySnapshotSizeInBytesHasBeenSet = false;
86 bool m_codeInstallSizeInBytesHasBeenSet = false;
87 bool m_diskSnapshotSizeInBytesHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace LambdaMicrovms
92} // namespace Aws
SnapshotBuild & WithDiskSnapshotSizeInBytes(long long value)
AWS_LAMBDAMICROVMS_API SnapshotBuild()=default
AWS_LAMBDAMICROVMS_API SnapshotBuild(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDAMICROVMS_API SnapshotBuild & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDAMICROVMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCodeInstallSizeInBytes(long long value)
SnapshotBuild & WithMemorySnapshotSizeInBytes(long long value)
void SetDiskSnapshotSizeInBytes(long long value)
SnapshotBuild & WithCodeInstallSizeInBytes(long long value)
void SetMemorySnapshotSizeInBytes(long long value)
Aws::Utils::Json::JsonValue JsonValue