AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EbsBlockDeviceConfig.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/VolumeSpecification.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
34 {
35 public:
36 AWS_EMR_API EbsBlockDeviceConfig();
40
41
43
48 inline const VolumeSpecification& GetVolumeSpecification() const{ return m_volumeSpecification; }
49 inline bool VolumeSpecificationHasBeenSet() const { return m_volumeSpecificationHasBeenSet; }
50 inline void SetVolumeSpecification(const VolumeSpecification& value) { m_volumeSpecificationHasBeenSet = true; m_volumeSpecification = value; }
51 inline void SetVolumeSpecification(VolumeSpecification&& value) { m_volumeSpecificationHasBeenSet = true; m_volumeSpecification = std::move(value); }
55
57
61 inline int GetVolumesPerInstance() const{ return m_volumesPerInstance; }
62 inline bool VolumesPerInstanceHasBeenSet() const { return m_volumesPerInstanceHasBeenSet; }
63 inline void SetVolumesPerInstance(int value) { m_volumesPerInstanceHasBeenSet = true; m_volumesPerInstance = value; }
64 inline EbsBlockDeviceConfig& WithVolumesPerInstance(int value) { SetVolumesPerInstance(value); return *this;}
66 private:
67
68 VolumeSpecification m_volumeSpecification;
69 bool m_volumeSpecificationHasBeenSet = false;
70
71 int m_volumesPerInstance;
72 bool m_volumesPerInstanceHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace EMR
77} // namespace Aws
EbsBlockDeviceConfig & WithVolumeSpecification(VolumeSpecification &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVolumeSpecification(VolumeSpecification &&value)
AWS_EMR_API EbsBlockDeviceConfig(Aws::Utils::Json::JsonView jsonValue)
const VolumeSpecification & GetVolumeSpecification() const
EbsBlockDeviceConfig & WithVolumeSpecification(const VolumeSpecification &value)
void SetVolumeSpecification(const VolumeSpecification &value)
EbsBlockDeviceConfig & WithVolumesPerInstance(int value)
AWS_EMR_API EbsBlockDeviceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue