7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/ScalingAction.h>
10#include <aws/elasticmapreduce/model/ScalingTrigger.h>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
69 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
102 bool m_nameHasBeenSet =
false;
105 bool m_descriptionHasBeenSet =
false;
108 bool m_actionHasBeenSet =
false;
111 bool m_triggerHasBeenSet =
false;
bool NameHasBeenSet() const
void SetName(Aws::String &&value)
const ScalingTrigger & GetTrigger() const
ScalingRule & WithTrigger(ScalingTrigger &&value)
void SetDescription(const Aws::String &value)
ScalingRule & WithName(const char *value)
void SetName(const Aws::String &value)
void SetDescription(Aws::String &&value)
ScalingRule & WithName(Aws::String &&value)
AWS_EMR_API ScalingRule(Aws::Utils::Json::JsonView jsonValue)
ScalingRule & WithAction(const ScalingAction &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
ScalingRule & WithTrigger(const ScalingTrigger &value)
const Aws::String & GetName() const
AWS_EMR_API ScalingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
void SetTrigger(const ScalingTrigger &value)
ScalingRule & WithDescription(const Aws::String &value)
void SetAction(const ScalingAction &value)
ScalingRule & WithName(const Aws::String &value)
bool DescriptionHasBeenSet() const
ScalingRule & WithDescription(const char *value)
void SetTrigger(ScalingTrigger &&value)
bool ActionHasBeenSet() const
const Aws::String & GetDescription() const
AWS_EMR_API ScalingRule()
void SetName(const char *value)
bool TriggerHasBeenSet() const
void SetAction(ScalingAction &&value)
ScalingRule & WithAction(ScalingAction &&value)
ScalingRule & WithDescription(Aws::String &&value)
const ScalingAction & GetAction() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue