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/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/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 drs
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
47 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
48 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
49 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
50 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
52 inline ReplicationConfigurationReplicatedDisk& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
53 inline ReplicationConfigurationReplicatedDisk& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
55
57
60 inline long long GetIops() const{ return m_iops; }
61 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
62 inline void SetIops(long long value) { m_iopsHasBeenSet = true; m_iops = value; }
63 inline ReplicationConfigurationReplicatedDisk& WithIops(long long value) { SetIops(value); return *this;}
65
67
70 inline bool GetIsBootDisk() const{ return m_isBootDisk; }
71 inline bool IsBootDiskHasBeenSet() const { return m_isBootDiskHasBeenSet; }
72 inline void SetIsBootDisk(bool value) { m_isBootDiskHasBeenSet = true; m_isBootDisk = value; }
73 inline ReplicationConfigurationReplicatedDisk& WithIsBootDisk(bool value) { SetIsBootDisk(value); return *this;}
75
77
81 inline const ReplicationConfigurationReplicatedDiskStagingDiskType& GetOptimizedStagingDiskType() const{ return m_optimizedStagingDiskType; }
82 inline bool OptimizedStagingDiskTypeHasBeenSet() const { return m_optimizedStagingDiskTypeHasBeenSet; }
83 inline void SetOptimizedStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType& value) { m_optimizedStagingDiskTypeHasBeenSet = true; m_optimizedStagingDiskType = value; }
84 inline void SetOptimizedStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType&& value) { m_optimizedStagingDiskTypeHasBeenSet = true; m_optimizedStagingDiskType = std::move(value); }
88
90
93 inline const ReplicationConfigurationReplicatedDiskStagingDiskType& GetStagingDiskType() const{ return m_stagingDiskType; }
94 inline bool StagingDiskTypeHasBeenSet() const { return m_stagingDiskTypeHasBeenSet; }
95 inline void SetStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType& value) { m_stagingDiskTypeHasBeenSet = true; m_stagingDiskType = value; }
96 inline void SetStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType&& value) { m_stagingDiskTypeHasBeenSet = true; m_stagingDiskType = std::move(value); }
100
102
106 inline long long GetThroughput() const{ return m_throughput; }
107 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
108 inline void SetThroughput(long long value) { m_throughputHasBeenSet = true; m_throughput = value; }
109 inline ReplicationConfigurationReplicatedDisk& WithThroughput(long long value) { SetThroughput(value); return *this;}
111 private:
112
113 Aws::String m_deviceName;
114 bool m_deviceNameHasBeenSet = false;
115
116 long long m_iops;
117 bool m_iopsHasBeenSet = false;
118
119 bool m_isBootDisk;
120 bool m_isBootDiskHasBeenSet = false;
121
123 bool m_optimizedStagingDiskTypeHasBeenSet = false;
124
126 bool m_stagingDiskTypeHasBeenSet = false;
127
128 long long m_throughput;
129 bool m_throughputHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace drs
134} // namespace Aws
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfigurationReplicatedDisk & WithIops(long long value)
ReplicationConfigurationReplicatedDisk & WithDeviceName(const char *value)
const ReplicationConfigurationReplicatedDiskStagingDiskType & GetStagingDiskType() const
ReplicationConfigurationReplicatedDisk & WithIsBootDisk(bool value)
ReplicationConfigurationReplicatedDisk & WithStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType &value)
void SetOptimizedStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType &&value)
ReplicationConfigurationReplicatedDisk & WithDeviceName(const Aws::String &value)
void SetOptimizedStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType &value)
ReplicationConfigurationReplicatedDisk & WithOptimizedStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType &&value)
ReplicationConfigurationReplicatedDisk & WithThroughput(long long value)
const ReplicationConfigurationReplicatedDiskStagingDiskType & GetOptimizedStagingDiskType() const
ReplicationConfigurationReplicatedDisk & WithOptimizedStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType &value)
void SetStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType &&value)
ReplicationConfigurationReplicatedDisk & WithDeviceName(Aws::String &&value)
ReplicationConfigurationReplicatedDisk & WithStagingDiskType(ReplicationConfigurationReplicatedDiskStagingDiskType &&value)
AWS_DRS_API ReplicationConfigurationReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API ReplicationConfigurationReplicatedDisk(Aws::Utils::Json::JsonView jsonValue)
void SetStagingDiskType(const ReplicationConfigurationReplicatedDiskStagingDiskType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue