AWS SDK for C++  1.9.19
AWS SDK for C++
EbsBlockDeviceConfig.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 
34  {
35  public:
40 
41 
46  inline const VolumeSpecification& GetVolumeSpecification() const{ return m_volumeSpecification; }
47 
52  inline bool VolumeSpecificationHasBeenSet() const { return m_volumeSpecificationHasBeenSet; }
53 
58  inline void SetVolumeSpecification(const VolumeSpecification& value) { m_volumeSpecificationHasBeenSet = true; m_volumeSpecification = value; }
59 
64  inline void SetVolumeSpecification(VolumeSpecification&& value) { m_volumeSpecificationHasBeenSet = true; m_volumeSpecification = std::move(value); }
65 
70  inline EbsBlockDeviceConfig& WithVolumeSpecification(const VolumeSpecification& value) { SetVolumeSpecification(value); return *this;}
71 
76  inline EbsBlockDeviceConfig& WithVolumeSpecification(VolumeSpecification&& value) { SetVolumeSpecification(std::move(value)); return *this;}
77 
78 
83  inline int GetVolumesPerInstance() const{ return m_volumesPerInstance; }
84 
89  inline bool VolumesPerInstanceHasBeenSet() const { return m_volumesPerInstanceHasBeenSet; }
90 
95  inline void SetVolumesPerInstance(int value) { m_volumesPerInstanceHasBeenSet = true; m_volumesPerInstance = value; }
96 
101  inline EbsBlockDeviceConfig& WithVolumesPerInstance(int value) { SetVolumesPerInstance(value); return *this;}
102 
103  private:
104 
105  VolumeSpecification m_volumeSpecification;
106  bool m_volumeSpecificationHasBeenSet;
107 
108  int m_volumesPerInstance;
109  bool m_volumesPerInstanceHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace EMR
114 } // namespace Aws
Aws::EMR::Model::EbsBlockDeviceConfig::WithVolumeSpecification
EbsBlockDeviceConfig & WithVolumeSpecification(VolumeSpecification &&value)
Definition: EbsBlockDeviceConfig.h:76
Aws::EMR::Model::EbsBlockDeviceConfig::WithVolumesPerInstance
EbsBlockDeviceConfig & WithVolumesPerInstance(int value)
Definition: EbsBlockDeviceConfig.h:101
EMR_EXPORTS.h
Aws::EMR::Model::VolumeSpecification
Definition: VolumeSpecification.h:34
Aws::EMR::Model::EbsBlockDeviceConfig::GetVolumeSpecification
const VolumeSpecification & GetVolumeSpecification() const
Definition: EbsBlockDeviceConfig.h:46
Aws::EMR::Model::EbsBlockDeviceConfig::VolumesPerInstanceHasBeenSet
bool VolumesPerInstanceHasBeenSet() const
Definition: EbsBlockDeviceConfig.h:89
Aws::EMR::Model::EbsBlockDeviceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::EbsBlockDeviceConfig::VolumeSpecificationHasBeenSet
bool VolumeSpecificationHasBeenSet() const
Definition: EbsBlockDeviceConfig.h:52
Aws::EMR::Model::EbsBlockDeviceConfig::SetVolumeSpecification
void SetVolumeSpecification(VolumeSpecification &&value)
Definition: EbsBlockDeviceConfig.h:64
Aws::EMR::Model::EbsBlockDeviceConfig::EbsBlockDeviceConfig
EbsBlockDeviceConfig()
VolumeSpecification.h
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::EbsBlockDeviceConfig::GetVolumesPerInstance
int GetVolumesPerInstance() const
Definition: EbsBlockDeviceConfig.h:83
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::EbsBlockDeviceConfig
Definition: EbsBlockDeviceConfig.h:34
Aws::EMR::Model::EbsBlockDeviceConfig::SetVolumeSpecification
void SetVolumeSpecification(const VolumeSpecification &value)
Definition: EbsBlockDeviceConfig.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::EbsBlockDeviceConfig::WithVolumeSpecification
EbsBlockDeviceConfig & WithVolumeSpecification(const VolumeSpecification &value)
Definition: EbsBlockDeviceConfig.h:70
Aws::EMR::Model::EbsBlockDeviceConfig::SetVolumesPerInstance
void SetVolumesPerInstance(int value)
Definition: EbsBlockDeviceConfig.h:95
Aws::EMR::Model::EbsBlockDeviceConfig::operator=
EbsBlockDeviceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::EbsBlockDeviceConfig::EbsBlockDeviceConfig
EbsBlockDeviceConfig(Aws::Utils::Json::JsonView jsonValue)