AWS SDK for C++  1.8.126
AWS SDK for C++
EbsConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace EMR
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::Vector<EbsBlockDeviceConfig>& GetEbsBlockDeviceConfigs() const{ return m_ebsBlockDeviceConfigs; }
47 
52  inline bool EbsBlockDeviceConfigsHasBeenSet() const { return m_ebsBlockDeviceConfigsHasBeenSet; }
53 
58  inline void SetEbsBlockDeviceConfigs(const Aws::Vector<EbsBlockDeviceConfig>& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs = value; }
59 
64  inline void SetEbsBlockDeviceConfigs(Aws::Vector<EbsBlockDeviceConfig>&& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs = std::move(value); }
65 
70  inline EbsConfiguration& WithEbsBlockDeviceConfigs(const Aws::Vector<EbsBlockDeviceConfig>& value) { SetEbsBlockDeviceConfigs(value); return *this;}
71 
76  inline EbsConfiguration& WithEbsBlockDeviceConfigs(Aws::Vector<EbsBlockDeviceConfig>&& value) { SetEbsBlockDeviceConfigs(std::move(value)); return *this;}
77 
82  inline EbsConfiguration& AddEbsBlockDeviceConfigs(const EbsBlockDeviceConfig& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs.push_back(value); return *this; }
83 
88  inline EbsConfiguration& AddEbsBlockDeviceConfigs(EbsBlockDeviceConfig&& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs.push_back(std::move(value)); return *this; }
89 
90 
94  inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
95 
99  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
100 
104  inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
105 
109  inline EbsConfiguration& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
110 
111  private:
112 
113  Aws::Vector<EbsBlockDeviceConfig> m_ebsBlockDeviceConfigs;
114  bool m_ebsBlockDeviceConfigsHasBeenSet;
115 
116  bool m_ebsOptimized;
117  bool m_ebsOptimizedHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace EMR
122 } // namespace Aws
Aws::EMR::Model::EbsConfiguration::WithEbsBlockDeviceConfigs
EbsConfiguration & WithEbsBlockDeviceConfigs(Aws::Vector< EbsBlockDeviceConfig > &&value)
Definition: EbsConfiguration.h:76
Aws::EMR::Model::EbsConfiguration::operator=
EbsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::EbsConfiguration::EbsBlockDeviceConfigsHasBeenSet
bool EbsBlockDeviceConfigsHasBeenSet() const
Definition: EbsConfiguration.h:52
EMR_EXPORTS.h
Aws::EMR::Model::EbsConfiguration::EbsConfiguration
EbsConfiguration()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EMR::Model::EbsConfiguration::EbsConfiguration
EbsConfiguration(Aws::Utils::Json::JsonView jsonValue)
EbsBlockDeviceConfig.h
Aws::EMR::Model::EbsConfiguration::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: EbsConfiguration.h:99
Aws::EMR::Model::EbsConfiguration::AddEbsBlockDeviceConfigs
EbsConfiguration & AddEbsBlockDeviceConfigs(EbsBlockDeviceConfig &&value)
Definition: EbsConfiguration.h:88
Aws::EMR::Model::EbsConfiguration::GetEbsOptimized
bool GetEbsOptimized() const
Definition: EbsConfiguration.h:94
Aws::EMR::Model::EbsConfiguration
Definition: EbsConfiguration.h:34
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
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::EbsConfiguration::GetEbsBlockDeviceConfigs
const Aws::Vector< EbsBlockDeviceConfig > & GetEbsBlockDeviceConfigs() const
Definition: EbsConfiguration.h:46
Aws::EMR::Model::EbsConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::EbsConfiguration::SetEbsOptimized
void SetEbsOptimized(bool value)
Definition: EbsConfiguration.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::EbsConfiguration::WithEbsOptimized
EbsConfiguration & WithEbsOptimized(bool value)
Definition: EbsConfiguration.h:109
Aws::EMR::Model::EbsConfiguration::WithEbsBlockDeviceConfigs
EbsConfiguration & WithEbsBlockDeviceConfigs(const Aws::Vector< EbsBlockDeviceConfig > &value)
Definition: EbsConfiguration.h:70
Aws::EMR::Model::EbsConfiguration::AddEbsBlockDeviceConfigs
EbsConfiguration & AddEbsBlockDeviceConfigs(const EbsBlockDeviceConfig &value)
Definition: EbsConfiguration.h:82
Aws::EMR::Model::EbsConfiguration::SetEbsBlockDeviceConfigs
void SetEbsBlockDeviceConfigs(const Aws::Vector< EbsBlockDeviceConfig > &value)
Definition: EbsConfiguration.h:58
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::EbsConfiguration::SetEbsBlockDeviceConfigs
void SetEbsBlockDeviceConfigs(Aws::Vector< EbsBlockDeviceConfig > &&value)
Definition: EbsConfiguration.h:64