AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceFleetResizingSpecifications.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/SpotResizingSpecification.h>
9#include <aws/elasticmapreduce/model/OnDemandResizingSpecification.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:
40
41
43
47 inline const SpotResizingSpecification& GetSpotResizeSpecification() const{ return m_spotResizeSpecification; }
48 inline bool SpotResizeSpecificationHasBeenSet() const { return m_spotResizeSpecificationHasBeenSet; }
49 inline void SetSpotResizeSpecification(const SpotResizingSpecification& value) { m_spotResizeSpecificationHasBeenSet = true; m_spotResizeSpecification = value; }
50 inline void SetSpotResizeSpecification(SpotResizingSpecification&& value) { m_spotResizeSpecificationHasBeenSet = true; m_spotResizeSpecification = std::move(value); }
54
56
61 inline const OnDemandResizingSpecification& GetOnDemandResizeSpecification() const{ return m_onDemandResizeSpecification; }
62 inline bool OnDemandResizeSpecificationHasBeenSet() const { return m_onDemandResizeSpecificationHasBeenSet; }
63 inline void SetOnDemandResizeSpecification(const OnDemandResizingSpecification& value) { m_onDemandResizeSpecificationHasBeenSet = true; m_onDemandResizeSpecification = value; }
64 inline void SetOnDemandResizeSpecification(OnDemandResizingSpecification&& value) { m_onDemandResizeSpecificationHasBeenSet = true; m_onDemandResizeSpecification = std::move(value); }
68 private:
69
70 SpotResizingSpecification m_spotResizeSpecification;
71 bool m_spotResizeSpecificationHasBeenSet = false;
72
73 OnDemandResizingSpecification m_onDemandResizeSpecification;
74 bool m_onDemandResizeSpecificationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace EMR
79} // namespace Aws
const OnDemandResizingSpecification & GetOnDemandResizeSpecification() const
InstanceFleetResizingSpecifications & WithSpotResizeSpecification(SpotResizingSpecification &&value)
AWS_EMR_API InstanceFleetResizingSpecifications(Aws::Utils::Json::JsonView jsonValue)
void SetOnDemandResizeSpecification(OnDemandResizingSpecification &&value)
AWS_EMR_API InstanceFleetResizingSpecifications & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceFleetResizingSpecifications & WithOnDemandResizeSpecification(OnDemandResizingSpecification &&value)
InstanceFleetResizingSpecifications & WithOnDemandResizeSpecification(const OnDemandResizingSpecification &value)
void SetSpotResizeSpecification(const SpotResizingSpecification &value)
void SetOnDemandResizeSpecification(const OnDemandResizingSpecification &value)
InstanceFleetResizingSpecifications & WithSpotResizeSpecification(const SpotResizingSpecification &value)
Aws::Utils::Json::JsonValue JsonValue