AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EbsConfiguration.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/model/EbsBlockDeviceConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EMR
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EMR_API EbsConfiguration();
40
41
43
47 inline const Aws::Vector<EbsBlockDeviceConfig>& GetEbsBlockDeviceConfigs() const{ return m_ebsBlockDeviceConfigs; }
48 inline bool EbsBlockDeviceConfigsHasBeenSet() const { return m_ebsBlockDeviceConfigsHasBeenSet; }
49 inline void SetEbsBlockDeviceConfigs(const Aws::Vector<EbsBlockDeviceConfig>& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs = value; }
50 inline void SetEbsBlockDeviceConfigs(Aws::Vector<EbsBlockDeviceConfig>&& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs = std::move(value); }
53 inline EbsConfiguration& AddEbsBlockDeviceConfigs(const EbsBlockDeviceConfig& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs.push_back(value); return *this; }
54 inline EbsConfiguration& AddEbsBlockDeviceConfigs(EbsBlockDeviceConfig&& value) { m_ebsBlockDeviceConfigsHasBeenSet = true; m_ebsBlockDeviceConfigs.push_back(std::move(value)); return *this; }
56
58
61 inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
62 inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
63 inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
64 inline EbsConfiguration& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
66 private:
67
68 Aws::Vector<EbsBlockDeviceConfig> m_ebsBlockDeviceConfigs;
69 bool m_ebsBlockDeviceConfigsHasBeenSet = false;
70
71 bool m_ebsOptimized;
72 bool m_ebsOptimizedHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace EMR
77} // namespace Aws
EbsConfiguration & AddEbsBlockDeviceConfigs(const EbsBlockDeviceConfig &value)
void SetEbsBlockDeviceConfigs(const Aws::Vector< EbsBlockDeviceConfig > &value)
const Aws::Vector< EbsBlockDeviceConfig > & GetEbsBlockDeviceConfigs() const
EbsConfiguration & WithEbsBlockDeviceConfigs(Aws::Vector< EbsBlockDeviceConfig > &&value)
EbsConfiguration & WithEbsBlockDeviceConfigs(const Aws::Vector< EbsBlockDeviceConfig > &value)
EbsConfiguration & AddEbsBlockDeviceConfigs(EbsBlockDeviceConfig &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
EbsConfiguration & WithEbsOptimized(bool value)
void SetEbsBlockDeviceConfigs(Aws::Vector< EbsBlockDeviceConfig > &&value)
AWS_EMR_API EbsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API EbsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue