AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LaunchTemplateDiskConf.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/VolumeType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
28 public:
29 AWS_MGN_API LaunchTemplateDiskConf() = default;
33
35
38 inline VolumeType GetVolumeType() const { return m_volumeType; }
39 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
40 inline void SetVolumeType(VolumeType value) {
41 m_volumeTypeHasBeenSet = true;
42 m_volumeType = value;
43 }
45 SetVolumeType(value);
46 return *this;
47 }
49
51
54 inline long long GetIops() const { return m_iops; }
55 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
56 inline void SetIops(long long value) {
57 m_iopsHasBeenSet = true;
58 m_iops = value;
59 }
60 inline LaunchTemplateDiskConf& WithIops(long long value) {
61 SetIops(value);
62 return *this;
63 }
65
67
70 inline long long GetThroughput() const { return m_throughput; }
71 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
72 inline void SetThroughput(long long value) {
73 m_throughputHasBeenSet = true;
74 m_throughput = value;
75 }
76 inline LaunchTemplateDiskConf& WithThroughput(long long value) {
77 SetThroughput(value);
78 return *this;
79 }
81 private:
82 VolumeType m_volumeType{VolumeType::NOT_SET};
83
84 long long m_iops{0};
85
86 long long m_throughput{0};
87 bool m_volumeTypeHasBeenSet = false;
88 bool m_iopsHasBeenSet = false;
89 bool m_throughputHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace mgn
94} // namespace Aws
LaunchTemplateDiskConf & WithIops(long long value)
AWS_MGN_API LaunchTemplateDiskConf & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchTemplateDiskConf & WithThroughput(long long value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchTemplateDiskConf & WithVolumeType(VolumeType value)
AWS_MGN_API LaunchTemplateDiskConf()=default
AWS_MGN_API LaunchTemplateDiskConf(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue