AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
48 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
49 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
51 inline ReplicationConfigurationReplicatedDisk& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
52 inline ReplicationConfigurationReplicatedDisk& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
54
56
59 inline long long GetIops() const{ return m_iops; }
60 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
61 inline void SetIops(long long value) { m_iopsHasBeenSet = true; m_iops = value; }
62 inline ReplicationConfigurationReplicatedDisk& WithIops(long long value) { SetIops(value); return *this;}
64
66
69 inline bool GetIsBootDisk() const{ return m_isBootDisk; }
70 inline bool IsBootDiskHasBeenSet() const { return m_isBootDiskHasBeenSet; }
71 inline void SetIsBootDisk(bool value) { m_isBootDiskHasBeenSet = true; m_isBootDisk = value; }
72 inline ReplicationConfigurationReplicatedDisk& WithIsBootDisk(bool value) { SetIsBootDisk(value); return *this;}
74
76
79 inline const ReplicationConfigurationReplicatedDiskStagingDiskType& GetStagingDiskType() const{ return m_stagingDiskType; }
80 inline bool StagingDiskTypeHasBeenSet() const { return m_stagingDiskTypeHasBeenSet; }
81 inline void SetStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType& value) { m_stagingDiskTypeHasBeenSet = true; m_stagingDiskType = value; }
82 inline void SetStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType&& value) { m_stagingDiskTypeHasBeenSet = true; m_stagingDiskType = std::move(value); }
86
88
91 inline long long GetThroughput() const{ return m_throughput; }
92 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
93 inline void SetThroughput(long long value) { m_throughputHasBeenSet = true; m_throughput = value; }
94 inline ReplicationConfigurationReplicatedDisk& WithThroughput(long long value) { SetThroughput(value); return *this;}
96 private:
97
98 Aws::String m_deviceName;
99 bool m_deviceNameHasBeenSet = false;
100
101 long long m_iops;
102 bool m_iopsHasBeenSet = false;
103
104 bool m_isBootDisk;
105 bool m_isBootDiskHasBeenSet = false;
106
108 bool m_stagingDiskTypeHasBeenSet = false;
109
110 long long m_throughput;
111 bool m_throughputHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace mgn
116} // namespace Aws
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfigurationReplicatedDisk & WithDeviceName(Aws::String &&value)
void SetStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType &value)
ReplicationConfigurationReplicatedDisk & WithDeviceName(const Aws::String &value)
ReplicationConfigurationReplicatedDisk & WithStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType &&value)
ReplicationConfigurationReplicatedDisk & WithDeviceName(const char *value)
void SetStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType &&value)
const ReplicationConfigurationReplicatedDiskStagingDiskType & GetStagingDiskType() const
AWS_MGN_API ReplicationConfigurationReplicatedDisk(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfigurationReplicatedDisk & WithIsBootDisk(bool value)
ReplicationConfigurationReplicatedDisk & WithIops(long long value)
ReplicationConfigurationReplicatedDisk & WithStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType &value)
ReplicationConfigurationReplicatedDisk & WithThroughput(long long value)
AWS_MGN_API ReplicationConfigurationReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue