7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/InstanceResizePolicy.h>
49 inline void SetDecommissionTimeout(
int value) { m_decommissionTimeoutHasBeenSet =
true; m_decommissionTimeout = value; }
67 int m_decommissionTimeout;
68 bool m_decommissionTimeoutHasBeenSet =
false;
71 bool m_instanceResizePolicyHasBeenSet =
false;
int GetDecommissionTimeout() const
ShrinkPolicy & WithInstanceResizePolicy(InstanceResizePolicy &&value)
AWS_EMR_API ShrinkPolicy(Aws::Utils::Json::JsonView jsonValue)
ShrinkPolicy & WithDecommissionTimeout(int value)
void SetDecommissionTimeout(int value)
void SetInstanceResizePolicy(InstanceResizePolicy &&value)
bool InstanceResizePolicyHasBeenSet() const
AWS_EMR_API ShrinkPolicy()
AWS_EMR_API ShrinkPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DecommissionTimeoutHasBeenSet() const
const InstanceResizePolicy & GetInstanceResizePolicy() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceResizePolicy(const InstanceResizePolicy &value)
ShrinkPolicy & WithInstanceResizePolicy(const InstanceResizePolicy &value)
Aws::Utils::Json::JsonValue JsonValue