AWS SDK for C++  1.9.19
AWS SDK for C++
ScalingTrigger.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 
33  {
34  public:
39 
40 
46  inline const CloudWatchAlarmDefinition& GetCloudWatchAlarmDefinition() const{ return m_cloudWatchAlarmDefinition; }
47 
53  inline bool CloudWatchAlarmDefinitionHasBeenSet() const { return m_cloudWatchAlarmDefinitionHasBeenSet; }
54 
60  inline void SetCloudWatchAlarmDefinition(const CloudWatchAlarmDefinition& value) { m_cloudWatchAlarmDefinitionHasBeenSet = true; m_cloudWatchAlarmDefinition = value; }
61 
67  inline void SetCloudWatchAlarmDefinition(CloudWatchAlarmDefinition&& value) { m_cloudWatchAlarmDefinitionHasBeenSet = true; m_cloudWatchAlarmDefinition = std::move(value); }
68 
74  inline ScalingTrigger& WithCloudWatchAlarmDefinition(const CloudWatchAlarmDefinition& value) { SetCloudWatchAlarmDefinition(value); return *this;}
75 
81  inline ScalingTrigger& WithCloudWatchAlarmDefinition(CloudWatchAlarmDefinition&& value) { SetCloudWatchAlarmDefinition(std::move(value)); return *this;}
82 
83  private:
84 
85  CloudWatchAlarmDefinition m_cloudWatchAlarmDefinition;
86  bool m_cloudWatchAlarmDefinitionHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace EMR
91 } // namespace Aws
CloudWatchAlarmDefinition.h
EMR_EXPORTS.h
Aws::EMR::Model::ScalingTrigger::SetCloudWatchAlarmDefinition
void SetCloudWatchAlarmDefinition(const CloudWatchAlarmDefinition &value)
Definition: ScalingTrigger.h:60
Aws::EMR::Model::ScalingTrigger::ScalingTrigger
ScalingTrigger()
Aws::EMR::Model::ScalingTrigger::WithCloudWatchAlarmDefinition
ScalingTrigger & WithCloudWatchAlarmDefinition(CloudWatchAlarmDefinition &&value)
Definition: ScalingTrigger.h:81
Aws::EMR::Model::ScalingTrigger::GetCloudWatchAlarmDefinition
const CloudWatchAlarmDefinition & GetCloudWatchAlarmDefinition() const
Definition: ScalingTrigger.h:46
Aws::EMR::Model::ScalingTrigger::CloudWatchAlarmDefinitionHasBeenSet
bool CloudWatchAlarmDefinitionHasBeenSet() const
Definition: ScalingTrigger.h:53
Aws::EMR::Model::ScalingTrigger::SetCloudWatchAlarmDefinition
void SetCloudWatchAlarmDefinition(CloudWatchAlarmDefinition &&value)
Definition: ScalingTrigger.h:67
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::ScalingTrigger
Definition: ScalingTrigger.h:33
Aws::EMR::Model::CloudWatchAlarmDefinition
Definition: CloudWatchAlarmDefinition.h:39
Aws::EMR::Model::ScalingTrigger::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ScalingTrigger::operator=
ScalingTrigger & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::ScalingTrigger::WithCloudWatchAlarmDefinition
ScalingTrigger & WithCloudWatchAlarmDefinition(const CloudWatchAlarmDefinition &value)
Definition: ScalingTrigger.h:74
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ScalingTrigger::ScalingTrigger
ScalingTrigger(Aws::Utils::Json::JsonView jsonValue)