AWS SDK for C++  1.9.19
AWS SDK for C++
EbsVolume.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace EMR
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetDevice() const{ return m_device; }
45 
49  inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; }
50 
54  inline void SetDevice(const Aws::String& value) { m_deviceHasBeenSet = true; m_device = value; }
55 
59  inline void SetDevice(Aws::String&& value) { m_deviceHasBeenSet = true; m_device = std::move(value); }
60 
64  inline void SetDevice(const char* value) { m_deviceHasBeenSet = true; m_device.assign(value); }
65 
69  inline EbsVolume& WithDevice(const Aws::String& value) { SetDevice(value); return *this;}
70 
74  inline EbsVolume& WithDevice(Aws::String&& value) { SetDevice(std::move(value)); return *this;}
75 
79  inline EbsVolume& WithDevice(const char* value) { SetDevice(value); return *this;}
80 
81 
85  inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
86 
90  inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
91 
95  inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; }
96 
100  inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); }
101 
105  inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); }
106 
110  inline EbsVolume& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
111 
115  inline EbsVolume& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
116 
120  inline EbsVolume& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
121 
122  private:
123 
124  Aws::String m_device;
125  bool m_deviceHasBeenSet;
126 
127  Aws::String m_volumeId;
128  bool m_volumeIdHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace EMR
133 } // namespace Aws
Aws::EMR::Model::EbsVolume::GetVolumeId
const Aws::String & GetVolumeId() const
Definition: EbsVolume.h:85
Aws::EMR::Model::EbsVolume::WithDevice
EbsVolume & WithDevice(const Aws::String &value)
Definition: EbsVolume.h:69
Aws::EMR::Model::EbsVolume::operator=
EbsVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::EbsVolume::SetVolumeId
void SetVolumeId(const char *value)
Definition: EbsVolume.h:105
EMR_EXPORTS.h
Aws::EMR::Model::EbsVolume::VolumeIdHasBeenSet
bool VolumeIdHasBeenSet() const
Definition: EbsVolume.h:90
Aws::EMR::Model::EbsVolume::WithVolumeId
EbsVolume & WithVolumeId(Aws::String &&value)
Definition: EbsVolume.h:115
Aws::EMR::Model::EbsVolume::SetVolumeId
void SetVolumeId(Aws::String &&value)
Definition: EbsVolume.h:100
Aws::EMR::Model::EbsVolume::SetDevice
void SetDevice(const Aws::String &value)
Definition: EbsVolume.h:54
Aws::EMR::Model::EbsVolume::GetDevice
const Aws::String & GetDevice() const
Definition: EbsVolume.h:44
Aws::EMR::Model::EbsVolume::WithVolumeId
EbsVolume & WithVolumeId(const Aws::String &value)
Definition: EbsVolume.h:110
Aws::EMR::Model::EbsVolume::WithDevice
EbsVolume & WithDevice(const char *value)
Definition: EbsVolume.h:79
Aws::EMR::Model::EbsVolume::SetDevice
void SetDevice(Aws::String &&value)
Definition: EbsVolume.h:59
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::EMR::Model::EbsVolume::DeviceHasBeenSet
bool DeviceHasBeenSet() const
Definition: EbsVolume.h:49
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::EbsVolume::WithVolumeId
EbsVolume & WithVolumeId(const char *value)
Definition: EbsVolume.h:120
Aws::EMR::Model::EbsVolume::WithDevice
EbsVolume & WithDevice(Aws::String &&value)
Definition: EbsVolume.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::EbsVolume::SetDevice
void SetDevice(const char *value)
Definition: EbsVolume.h:64
Aws::EMR::Model::EbsVolume
Definition: EbsVolume.h:33
Aws::EMR::Model::EbsVolume::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::EbsVolume::EbsVolume
EbsVolume(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::EbsVolume::EbsVolume
EbsVolume()
Aws::EMR::Model::EbsVolume::SetVolumeId
void SetVolumeId(const Aws::String &value)
Definition: EbsVolume.h:95
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28