AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MGN_API LaunchTemplateDiskConf() = default;
38
39
41
44 inline long long GetIops() const { return m_iops; }
45 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
46 inline void SetIops(long long value) { m_iopsHasBeenSet = true; m_iops = value; }
47 inline LaunchTemplateDiskConf& WithIops(long long value) { SetIops(value); return *this;}
49
51
54 inline long long GetThroughput() const { return m_throughput; }
55 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
56 inline void SetThroughput(long long value) { m_throughputHasBeenSet = true; m_throughput = value; }
57 inline LaunchTemplateDiskConf& WithThroughput(long long value) { SetThroughput(value); return *this;}
59
61
64 inline VolumeType GetVolumeType() const { return m_volumeType; }
65 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
66 inline void SetVolumeType(VolumeType value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
67 inline LaunchTemplateDiskConf& WithVolumeType(VolumeType value) { SetVolumeType(value); return *this;}
69 private:
70
71 long long m_iops{0};
72 bool m_iopsHasBeenSet = false;
73
74 long long m_throughput{0};
75 bool m_throughputHasBeenSet = false;
76
77 VolumeType m_volumeType{VolumeType::NOT_SET};
78 bool m_volumeTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace mgn
83} // 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