AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceFleetProvisioningSpecifications.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/SpotProvisioningSpecification.h>
9#include <aws/elasticmapreduce/model/OnDemandProvisioningSpecification.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
37 {
38 public:
43
44
46
51 inline const SpotProvisioningSpecification& GetSpotSpecification() const{ return m_spotSpecification; }
52 inline bool SpotSpecificationHasBeenSet() const { return m_spotSpecificationHasBeenSet; }
53 inline void SetSpotSpecification(const SpotProvisioningSpecification& value) { m_spotSpecificationHasBeenSet = true; m_spotSpecification = value; }
54 inline void SetSpotSpecification(SpotProvisioningSpecification&& value) { m_spotSpecificationHasBeenSet = true; m_spotSpecification = std::move(value); }
58
60
68 inline const OnDemandProvisioningSpecification& GetOnDemandSpecification() const{ return m_onDemandSpecification; }
69 inline bool OnDemandSpecificationHasBeenSet() const { return m_onDemandSpecificationHasBeenSet; }
70 inline void SetOnDemandSpecification(const OnDemandProvisioningSpecification& value) { m_onDemandSpecificationHasBeenSet = true; m_onDemandSpecification = value; }
71 inline void SetOnDemandSpecification(OnDemandProvisioningSpecification&& value) { m_onDemandSpecificationHasBeenSet = true; m_onDemandSpecification = std::move(value); }
75 private:
76
77 SpotProvisioningSpecification m_spotSpecification;
78 bool m_spotSpecificationHasBeenSet = false;
79
80 OnDemandProvisioningSpecification m_onDemandSpecification;
81 bool m_onDemandSpecificationHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace EMR
86} // namespace Aws
InstanceFleetProvisioningSpecifications & WithOnDemandSpecification(const OnDemandProvisioningSpecification &value)
AWS_EMR_API InstanceFleetProvisioningSpecifications(Aws::Utils::Json::JsonView jsonValue)
void SetOnDemandSpecification(const OnDemandProvisioningSpecification &value)
const OnDemandProvisioningSpecification & GetOnDemandSpecification() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceFleetProvisioningSpecifications & WithOnDemandSpecification(OnDemandProvisioningSpecification &&value)
AWS_EMR_API InstanceFleetProvisioningSpecifications & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceFleetProvisioningSpecifications & WithSpotSpecification(SpotProvisioningSpecification &&value)
InstanceFleetProvisioningSpecifications & WithSpotSpecification(const SpotProvisioningSpecification &value)
Aws::Utils::Json::JsonValue JsonValue