7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticmapreduce/model/AutoScalingPolicy.h>
47 inline void SetClusterId(
const char* value) { m_clusterIdHasBeenSet =
true; m_clusterId.assign(value); }
62 inline void SetInstanceGroupId(
const char* value) { m_instanceGroupIdHasBeenSet =
true; m_instanceGroupId.assign(value); }
82 bool m_clusterIdHasBeenSet =
false;
85 bool m_instanceGroupIdHasBeenSet =
false;
88 bool m_autoScalingPolicyHasBeenSet =
false;
void SetInstanceGroupId(Aws::String &&value)
PutAutoScalingPolicyRequest & WithInstanceGroupId(Aws::String &&value)
void SetAutoScalingPolicy(AutoScalingPolicy &&value)
PutAutoScalingPolicyRequest & WithClusterId(const char *value)
PutAutoScalingPolicyRequest & WithInstanceGroupId(const char *value)
PutAutoScalingPolicyRequest & WithAutoScalingPolicy(const AutoScalingPolicy &value)
PutAutoScalingPolicyRequest & WithClusterId(Aws::String &&value)
void SetInstanceGroupId(const char *value)
void SetClusterId(const char *value)
bool ClusterIdHasBeenSet() const
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_EMR_API Aws::String SerializePayload() const override
AWS_EMR_API PutAutoScalingPolicyRequest()
void SetClusterId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutAutoScalingPolicyRequest & WithInstanceGroupId(const Aws::String &value)
void SetInstanceGroupId(const Aws::String &value)
void SetClusterId(Aws::String &&value)
const Aws::String & GetInstanceGroupId() const
PutAutoScalingPolicyRequest & WithClusterId(const Aws::String &value)
bool AutoScalingPolicyHasBeenSet() const
const AutoScalingPolicy & GetAutoScalingPolicy() const
bool InstanceGroupIdHasBeenSet() const
const Aws::String & GetClusterId() const
void SetAutoScalingPolicy(const AutoScalingPolicy &value)
PutAutoScalingPolicyRequest & WithAutoScalingPolicy(AutoScalingPolicy &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String