AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedScalingPolicy.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/ComputeLimits.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
35 {
36 public:
37 AWS_EMR_API ManagedScalingPolicy();
41
42
44
50 inline const ComputeLimits& GetComputeLimits() const{ return m_computeLimits; }
51 inline bool ComputeLimitsHasBeenSet() const { return m_computeLimitsHasBeenSet; }
52 inline void SetComputeLimits(const ComputeLimits& value) { m_computeLimitsHasBeenSet = true; m_computeLimits = value; }
53 inline void SetComputeLimits(ComputeLimits&& value) { m_computeLimitsHasBeenSet = true; m_computeLimits = std::move(value); }
54 inline ManagedScalingPolicy& WithComputeLimits(const ComputeLimits& value) { SetComputeLimits(value); return *this;}
55 inline ManagedScalingPolicy& WithComputeLimits(ComputeLimits&& value) { SetComputeLimits(std::move(value)); return *this;}
57 private:
58
59 ComputeLimits m_computeLimits;
60 bool m_computeLimitsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace EMR
65} // namespace Aws
void SetComputeLimits(const ComputeLimits &value)
AWS_EMR_API ManagedScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedScalingPolicy & WithComputeLimits(ComputeLimits &&value)
void SetComputeLimits(ComputeLimits &&value)
const ComputeLimits & GetComputeLimits() const
AWS_EMR_API ManagedScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
ManagedScalingPolicy & WithComputeLimits(const ComputeLimits &value)
Aws::Utils::Json::JsonValue JsonValue