AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 const VolumeType& GetVolumeType() const{ return m_volumeType; }
65 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
66 inline void SetVolumeType(const VolumeType& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
67 inline void SetVolumeType(VolumeType&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); }
68 inline LaunchTemplateDiskConf& WithVolumeType(const VolumeType& value) { SetVolumeType(value); return *this;}
69 inline LaunchTemplateDiskConf& WithVolumeType(VolumeType&& value) { SetVolumeType(std::move(value)); return *this;}
71 private:
72
73 long long m_iops;
74 bool m_iopsHasBeenSet = false;
75
76 long long m_throughput;
77 bool m_throughputHasBeenSet = false;
78
79 VolumeType m_volumeType;
80 bool m_volumeTypeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace mgn
85} // 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
void SetVolumeType(const VolumeType &value)
LaunchTemplateDiskConf & WithVolumeType(VolumeType &&value)
AWS_MGN_API LaunchTemplateDiskConf(Aws::Utils::Json::JsonView jsonValue)
LaunchTemplateDiskConf & WithVolumeType(const VolumeType &value)
Aws::Utils::Json::JsonValue JsonValue