AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryInstanceDisk.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace drs
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DRS_API RecoveryInstanceDisk();
39
40
42
45 inline long long GetBytes() const{ return m_bytes; }
46 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
47 inline void SetBytes(long long value) { m_bytesHasBeenSet = true; m_bytes = value; }
48 inline RecoveryInstanceDisk& WithBytes(long long value) { SetBytes(value); return *this;}
50
52
55 inline const Aws::String& GetEbsVolumeID() const{ return m_ebsVolumeID; }
56 inline bool EbsVolumeIDHasBeenSet() const { return m_ebsVolumeIDHasBeenSet; }
57 inline void SetEbsVolumeID(const Aws::String& value) { m_ebsVolumeIDHasBeenSet = true; m_ebsVolumeID = value; }
58 inline void SetEbsVolumeID(Aws::String&& value) { m_ebsVolumeIDHasBeenSet = true; m_ebsVolumeID = std::move(value); }
59 inline void SetEbsVolumeID(const char* value) { m_ebsVolumeIDHasBeenSet = true; m_ebsVolumeID.assign(value); }
60 inline RecoveryInstanceDisk& WithEbsVolumeID(const Aws::String& value) { SetEbsVolumeID(value); return *this;}
61 inline RecoveryInstanceDisk& WithEbsVolumeID(Aws::String&& value) { SetEbsVolumeID(std::move(value)); return *this;}
62 inline RecoveryInstanceDisk& WithEbsVolumeID(const char* value) { SetEbsVolumeID(value); return *this;}
64
66
70 inline const Aws::String& GetInternalDeviceName() const{ return m_internalDeviceName; }
71 inline bool InternalDeviceNameHasBeenSet() const { return m_internalDeviceNameHasBeenSet; }
72 inline void SetInternalDeviceName(const Aws::String& value) { m_internalDeviceNameHasBeenSet = true; m_internalDeviceName = value; }
73 inline void SetInternalDeviceName(Aws::String&& value) { m_internalDeviceNameHasBeenSet = true; m_internalDeviceName = std::move(value); }
74 inline void SetInternalDeviceName(const char* value) { m_internalDeviceNameHasBeenSet = true; m_internalDeviceName.assign(value); }
76 inline RecoveryInstanceDisk& WithInternalDeviceName(Aws::String&& value) { SetInternalDeviceName(std::move(value)); return *this;}
77 inline RecoveryInstanceDisk& WithInternalDeviceName(const char* value) { SetInternalDeviceName(value); return *this;}
79 private:
80
81 long long m_bytes;
82 bool m_bytesHasBeenSet = false;
83
84 Aws::String m_ebsVolumeID;
85 bool m_ebsVolumeIDHasBeenSet = false;
86
87 Aws::String m_internalDeviceName;
88 bool m_internalDeviceNameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace drs
93} // namespace Aws
void SetInternalDeviceName(Aws::String &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInternalDeviceName() const
RecoveryInstanceDisk & WithInternalDeviceName(const Aws::String &value)
const Aws::String & GetEbsVolumeID() const
AWS_DRS_API RecoveryInstanceDisk(Aws::Utils::Json::JsonView jsonValue)
RecoveryInstanceDisk & WithInternalDeviceName(Aws::String &&value)
RecoveryInstanceDisk & WithBytes(long long value)
void SetEbsVolumeID(const Aws::String &value)
RecoveryInstanceDisk & WithEbsVolumeID(const char *value)
RecoveryInstanceDisk & WithEbsVolumeID(const Aws::String &value)
void SetInternalDeviceName(const Aws::String &value)
RecoveryInstanceDisk & WithInternalDeviceName(const char *value)
RecoveryInstanceDisk & WithEbsVolumeID(Aws::String &&value)
AWS_DRS_API RecoveryInstanceDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue