AWS SDK for C++  1.8.129
AWS SDK for C++
ManagedScalingPolicy.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 
35  {
36  public:
41 
42 
49  inline const ComputeLimits& GetComputeLimits() const{ return m_computeLimits; }
50 
57  inline bool ComputeLimitsHasBeenSet() const { return m_computeLimitsHasBeenSet; }
58 
65  inline void SetComputeLimits(const ComputeLimits& value) { m_computeLimitsHasBeenSet = true; m_computeLimits = value; }
66 
73  inline void SetComputeLimits(ComputeLimits&& value) { m_computeLimitsHasBeenSet = true; m_computeLimits = std::move(value); }
74 
81  inline ManagedScalingPolicy& WithComputeLimits(const ComputeLimits& value) { SetComputeLimits(value); return *this;}
82 
89  inline ManagedScalingPolicy& WithComputeLimits(ComputeLimits&& value) { SetComputeLimits(std::move(value)); return *this;}
90 
91  private:
92 
93  ComputeLimits m_computeLimits;
94  bool m_computeLimitsHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace EMR
99 } // namespace Aws
Aws::EMR::Model::ManagedScalingPolicy::ManagedScalingPolicy
ManagedScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
EMR_EXPORTS.h
ComputeLimits.h
Aws::EMR::Model::ManagedScalingPolicy
Definition: ManagedScalingPolicy.h:35
Aws::EMR::Model::ManagedScalingPolicy::ComputeLimitsHasBeenSet
bool ComputeLimitsHasBeenSet() const
Definition: ManagedScalingPolicy.h:57
Aws::EMR::Model::ManagedScalingPolicy::WithComputeLimits
ManagedScalingPolicy & WithComputeLimits(ComputeLimits &&value)
Definition: ManagedScalingPolicy.h:89
Aws::EMR::Model::ManagedScalingPolicy::WithComputeLimits
ManagedScalingPolicy & WithComputeLimits(const ComputeLimits &value)
Definition: ManagedScalingPolicy.h:81
Aws::EMR::Model::ManagedScalingPolicy::SetComputeLimits
void SetComputeLimits(ComputeLimits &&value)
Definition: ManagedScalingPolicy.h:73
Aws::EMR::Model::ComputeLimits
Definition: ComputeLimits.h:35
Aws::EMR::Model::ManagedScalingPolicy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
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::ManagedScalingPolicy::SetComputeLimits
void SetComputeLimits(const ComputeLimits &value)
Definition: ManagedScalingPolicy.h:65
Aws::EMR::Model::ManagedScalingPolicy::GetComputeLimits
const ComputeLimits & GetComputeLimits() const
Definition: ManagedScalingPolicy.h:49
Aws::EMR::Model::ManagedScalingPolicy::operator=
ManagedScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ManagedScalingPolicy::ManagedScalingPolicy
ManagedScalingPolicy()
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28