AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EbsVolume.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_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 EMR
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMR_API EbsVolume();
36 AWS_EMR_API EbsVolume(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetDevice() const{ return m_device; }
46 inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; }
47 inline void SetDevice(const Aws::String& value) { m_deviceHasBeenSet = true; m_device = value; }
48 inline void SetDevice(Aws::String&& value) { m_deviceHasBeenSet = true; m_device = std::move(value); }
49 inline void SetDevice(const char* value) { m_deviceHasBeenSet = true; m_device.assign(value); }
50 inline EbsVolume& WithDevice(const Aws::String& value) { SetDevice(value); return *this;}
51 inline EbsVolume& WithDevice(Aws::String&& value) { SetDevice(std::move(value)); return *this;}
52 inline EbsVolume& WithDevice(const char* value) { SetDevice(value); return *this;}
54
56
59 inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
60 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
61 inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; }
62 inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); }
63 inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); }
64 inline EbsVolume& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
65 inline EbsVolume& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
66 inline EbsVolume& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
68 private:
69
70 Aws::String m_device;
71 bool m_deviceHasBeenSet = false;
72
73 Aws::String m_volumeId;
74 bool m_volumeIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace EMR
79} // namespace Aws
void SetDevice(const char *value)
Definition EbsVolume.h:49
AWS_EMR_API EbsVolume(Aws::Utils::Json::JsonView jsonValue)
void SetDevice(const Aws::String &value)
Definition EbsVolume.h:47
EbsVolume & WithVolumeId(const char *value)
Definition EbsVolume.h:66
void SetVolumeId(const char *value)
Definition EbsVolume.h:63
const Aws::String & GetDevice() const
Definition EbsVolume.h:45
bool DeviceHasBeenSet() const
Definition EbsVolume.h:46
AWS_EMR_API EbsVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
EbsVolume & WithDevice(const Aws::String &value)
Definition EbsVolume.h:50
const Aws::String & GetVolumeId() const
Definition EbsVolume.h:59
EbsVolume & WithVolumeId(Aws::String &&value)
Definition EbsVolume.h:65
void SetVolumeId(Aws::String &&value)
Definition EbsVolume.h:62
bool VolumeIdHasBeenSet() const
Definition EbsVolume.h:60
EbsVolume & WithDevice(Aws::String &&value)
Definition EbsVolume.h:51
EbsVolume & WithVolumeId(const Aws::String &value)
Definition EbsVolume.h:64
void SetDevice(Aws::String &&value)
Definition EbsVolume.h:48
EbsVolume & WithDevice(const char *value)
Definition EbsVolume.h:52
void SetVolumeId(const Aws::String &value)
Definition EbsVolume.h:61
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue