7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
88 bool m_instancesToTerminateHasBeenSet =
false;
91 bool m_instancesToProtectHasBeenSet =
false;
93 int m_instanceTerminationTimeout;
94 bool m_instanceTerminationTimeoutHasBeenSet =
false;
InstanceResizePolicy & AddInstancesToTerminate(const Aws::String &value)
InstanceResizePolicy & WithInstanceTerminationTimeout(int value)
bool InstanceTerminationTimeoutHasBeenSet() const
void SetInstancesToProtect(Aws::Vector< Aws::String > &&value)
InstanceResizePolicy & AddInstancesToProtect(Aws::String &&value)
InstanceResizePolicy & WithInstancesToProtect(const Aws::Vector< Aws::String > &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstancesToProtect(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetInstancesToProtect() const
InstanceResizePolicy & AddInstancesToTerminate(const char *value)
int GetInstanceTerminationTimeout() const
const Aws::Vector< Aws::String > & GetInstancesToTerminate() const
bool InstancesToTerminateHasBeenSet() const
AWS_EMR_API InstanceResizePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceResizePolicy & WithInstancesToTerminate(const Aws::Vector< Aws::String > &value)
InstanceResizePolicy & WithInstancesToTerminate(Aws::Vector< Aws::String > &&value)
bool InstancesToProtectHasBeenSet() const
InstanceResizePolicy & AddInstancesToTerminate(Aws::String &&value)
void SetInstanceTerminationTimeout(int value)
void SetInstancesToTerminate(Aws::Vector< Aws::String > &&value)
InstanceResizePolicy & AddInstancesToProtect(const char *value)
InstanceResizePolicy & WithInstancesToProtect(Aws::Vector< Aws::String > &&value)
AWS_EMR_API InstanceResizePolicy()
AWS_EMR_API InstanceResizePolicy(Aws::Utils::Json::JsonView jsonValue)
void SetInstancesToTerminate(const Aws::Vector< Aws::String > &value)
InstanceResizePolicy & AddInstancesToProtect(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue