AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReplicationConfigurationReplicatedDisk.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/ReplicationConfigurationReplicatedDiskStagingDiskType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mgn
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
45 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
46 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
47 template<typename DeviceNameT = Aws::String>
48 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
49 template<typename DeviceNameT = Aws::String>
50 ReplicationConfigurationReplicatedDisk& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
52
54
57 inline long long GetIops() const { return m_iops; }
58 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
59 inline void SetIops(long long value) { m_iopsHasBeenSet = true; m_iops = value; }
60 inline ReplicationConfigurationReplicatedDisk& WithIops(long long value) { SetIops(value); return *this;}
62
64
67 inline bool GetIsBootDisk() const { return m_isBootDisk; }
68 inline bool IsBootDiskHasBeenSet() const { return m_isBootDiskHasBeenSet; }
69 inline void SetIsBootDisk(bool value) { m_isBootDiskHasBeenSet = true; m_isBootDisk = value; }
70 inline ReplicationConfigurationReplicatedDisk& WithIsBootDisk(bool value) { SetIsBootDisk(value); return *this;}
72
74
78 inline bool StagingDiskTypeHasBeenSet() const { return m_stagingDiskTypeHasBeenSet; }
79 inline void SetStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType value) { m_stagingDiskTypeHasBeenSet = true; m_stagingDiskType = value; }
82
84
87 inline long long GetThroughput() const { return m_throughput; }
88 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
89 inline void SetThroughput(long long value) { m_throughputHasBeenSet = true; m_throughput = value; }
90 inline ReplicationConfigurationReplicatedDisk& WithThroughput(long long value) { SetThroughput(value); return *this;}
92 private:
93
94 Aws::String m_deviceName;
95 bool m_deviceNameHasBeenSet = false;
96
97 long long m_iops{0};
98 bool m_iopsHasBeenSet = false;
99
100 bool m_isBootDisk{false};
101 bool m_isBootDiskHasBeenSet = false;
102
104 bool m_stagingDiskTypeHasBeenSet = false;
105
106 long long m_throughput{0};
107 bool m_throughputHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace mgn
112} // 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