AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ReplicationConfigurationReplicatedDisk.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9#include <aws/drs/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 drs {
21namespace Model {
22
30 public:
35
37
40 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
41 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
42 template <typename DeviceNameT = Aws::String>
43 void SetDeviceName(DeviceNameT&& value) {
44 m_deviceNameHasBeenSet = true;
45 m_deviceName = std::forward<DeviceNameT>(value);
46 }
47 template <typename DeviceNameT = Aws::String>
49 SetDeviceName(std::forward<DeviceNameT>(value));
50 return *this;
51 }
53
55
58 inline long long GetIops() const { return m_iops; }
59 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
60 inline void SetIops(long long value) {
61 m_iopsHasBeenSet = true;
62 m_iops = value;
63 }
65 SetIops(value);
66 return *this;
67 }
69
71
74 inline bool GetIsBootDisk() const { return m_isBootDisk; }
75 inline bool IsBootDiskHasBeenSet() const { return m_isBootDiskHasBeenSet; }
76 inline void SetIsBootDisk(bool value) {
77 m_isBootDiskHasBeenSet = true;
78 m_isBootDisk = value;
79 }
81 SetIsBootDisk(value);
82 return *this;
83 }
85
87
91 inline ReplicationConfigurationReplicatedDiskStagingDiskType GetOptimizedStagingDiskType() const { return m_optimizedStagingDiskType; }
92 inline bool OptimizedStagingDiskTypeHasBeenSet() const { return m_optimizedStagingDiskTypeHasBeenSet; }
94 m_optimizedStagingDiskTypeHasBeenSet = true;
95 m_optimizedStagingDiskType = value;
96 }
99 return *this;
100 }
102
104
108 inline bool StagingDiskTypeHasBeenSet() const { return m_stagingDiskTypeHasBeenSet; }
110 m_stagingDiskTypeHasBeenSet = true;
111 m_stagingDiskType = value;
112 }
114 SetStagingDiskType(value);
115 return *this;
116 }
118
120
124 inline long long GetThroughput() const { return m_throughput; }
125 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
126 inline void SetThroughput(long long value) {
127 m_throughputHasBeenSet = true;
128 m_throughput = value;
129 }
131 SetThroughput(value);
132 return *this;
133 }
135 private:
136 Aws::String m_deviceName;
137
138 long long m_iops{0};
139
140 bool m_isBootDisk{false};
141
144
146
147 long long m_throughput{0};
148 bool m_deviceNameHasBeenSet = false;
149 bool m_iopsHasBeenSet = false;
150 bool m_isBootDiskHasBeenSet = false;
151 bool m_optimizedStagingDiskTypeHasBeenSet = false;
152 bool m_stagingDiskTypeHasBeenSet = false;
153 bool m_throughputHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace drs
158} // namespace Aws
void SetOptimizedStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfigurationReplicatedDisk & WithIops(long long value)
ReplicationConfigurationReplicatedDisk & WithIsBootDisk(bool value)
ReplicationConfigurationReplicatedDisk & WithDeviceName(DeviceNameT &&value)
ReplicationConfigurationReplicatedDisk & WithThroughput(long long value)
ReplicationConfigurationReplicatedDiskStagingDiskType GetStagingDiskType() const
ReplicationConfigurationReplicatedDiskStagingDiskType GetOptimizedStagingDiskType() const
ReplicationConfigurationReplicatedDisk & WithStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType value)
AWS_DRS_API ReplicationConfigurationReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType value)
AWS_DRS_API ReplicationConfigurationReplicatedDisk(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfigurationReplicatedDisk & WithOptimizedStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue