AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ReplicationConfigurationReplicatedDisk.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9#include <aws/mgn/model/ReplicationConfigurationReplicatedDiskStagingDiskType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace mgn {
21namespace Model {
22
29 public:
34
36
39 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
40 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
41 template <typename DeviceNameT = Aws::String>
42 void SetDeviceName(DeviceNameT&& value) {
43 m_deviceNameHasBeenSet = true;
44 m_deviceName = std::forward<DeviceNameT>(value);
45 }
46 template <typename DeviceNameT = Aws::String>
48 SetDeviceName(std::forward<DeviceNameT>(value));
49 return *this;
50 }
52
54
57 inline bool GetIsBootDisk() const { return m_isBootDisk; }
58 inline bool IsBootDiskHasBeenSet() const { return m_isBootDiskHasBeenSet; }
59 inline void SetIsBootDisk(bool value) {
60 m_isBootDiskHasBeenSet = true;
61 m_isBootDisk = value;
62 }
64 SetIsBootDisk(value);
65 return *this;
66 }
68
70
74 inline bool StagingDiskTypeHasBeenSet() const { return m_stagingDiskTypeHasBeenSet; }
76 m_stagingDiskTypeHasBeenSet = true;
77 m_stagingDiskType = value;
78 }
80 SetStagingDiskType(value);
81 return *this;
82 }
84
86
89 inline long long GetIops() const { return m_iops; }
90 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
91 inline void SetIops(long long value) {
92 m_iopsHasBeenSet = true;
93 m_iops = value;
94 }
96 SetIops(value);
97 return *this;
98 }
100
102
105 inline long long GetThroughput() const { return m_throughput; }
106 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
107 inline void SetThroughput(long long value) {
108 m_throughputHasBeenSet = true;
109 m_throughput = value;
110 }
112 SetThroughput(value);
113 return *this;
114 }
116 private:
117 Aws::String m_deviceName;
118
119 bool m_isBootDisk{false};
120
122
123 long long m_iops{0};
124
125 long long m_throughput{0};
126 bool m_deviceNameHasBeenSet = false;
127 bool m_isBootDiskHasBeenSet = false;
128 bool m_stagingDiskTypeHasBeenSet = false;
129 bool m_iopsHasBeenSet = false;
130 bool m_throughputHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace mgn
135} // namespace Aws
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfigurationReplicatedDiskStagingDiskType GetStagingDiskType() const
ReplicationConfigurationReplicatedDisk & WithStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType value)
AWS_MGN_API ReplicationConfigurationReplicatedDisk(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfigurationReplicatedDisk & WithIsBootDisk(bool value)
ReplicationConfigurationReplicatedDisk & WithIops(long long value)
ReplicationConfigurationReplicatedDisk & WithThroughput(long long value)
AWS_MGN_API ReplicationConfigurationReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfigurationReplicatedDisk & WithDeviceName(DeviceNameT &&value)
void SetStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue