7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/model/ShrinkPolicy.h>
11#include <aws/elasticmapreduce/model/ReconfigurationType.h>
12#include <aws/elasticmapreduce/model/Configuration.h>
53 inline void SetInstanceGroupId(
const char* value) { m_instanceGroupIdHasBeenSet =
true; m_instanceGroupId.assign(value); }
65 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
125 bool m_instanceGroupIdHasBeenSet =
false;
128 bool m_instanceCountHasBeenSet =
false;
131 bool m_eC2InstanceIdsToTerminateHasBeenSet =
false;
134 bool m_shrinkPolicyHasBeenSet =
false;
137 bool m_reconfigurationTypeHasBeenSet =
false;
140 bool m_configurationsHasBeenSet =
false;
const Aws::Vector< Configuration > & GetConfigurations() const
InstanceGroupModifyConfig & WithShrinkPolicy(const ShrinkPolicy &value)
void SetInstanceGroupId(const Aws::String &value)
void SetConfigurations(Aws::Vector< Configuration > &&value)
InstanceGroupModifyConfig & WithInstanceGroupId(const char *value)
const Aws::String & GetInstanceGroupId() const
void SetShrinkPolicy(ShrinkPolicy &&value)
InstanceGroupModifyConfig & WithInstanceCount(int value)
void SetInstanceGroupId(Aws::String &&value)
InstanceGroupModifyConfig & AddEC2InstanceIdsToTerminate(const Aws::String &value)
InstanceGroupModifyConfig & WithEC2InstanceIdsToTerminate(Aws::Vector< Aws::String > &&value)
InstanceGroupModifyConfig & AddEC2InstanceIdsToTerminate(const char *value)
InstanceGroupModifyConfig & AddConfigurations(const Configuration &value)
void SetConfigurations(const Aws::Vector< Configuration > &value)
void SetReconfigurationType(const ReconfigurationType &value)
void SetEC2InstanceIdsToTerminate(const Aws::Vector< Aws::String > &value)
void SetReconfigurationType(ReconfigurationType &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceGroupModifyConfig & WithInstanceGroupId(Aws::String &&value)
InstanceGroupModifyConfig & AddEC2InstanceIdsToTerminate(Aws::String &&value)
bool ShrinkPolicyHasBeenSet() const
bool InstanceCountHasBeenSet() const
InstanceGroupModifyConfig & WithShrinkPolicy(ShrinkPolicy &&value)
InstanceGroupModifyConfig & WithReconfigurationType(ReconfigurationType &&value)
int GetInstanceCount() const
void SetInstanceGroupId(const char *value)
const ShrinkPolicy & GetShrinkPolicy() const
InstanceGroupModifyConfig & WithConfigurations(const Aws::Vector< Configuration > &value)
bool InstanceGroupIdHasBeenSet() const
bool ReconfigurationTypeHasBeenSet() const
void SetEC2InstanceIdsToTerminate(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetEC2InstanceIdsToTerminate() const
AWS_EMR_API InstanceGroupModifyConfig(Aws::Utils::Json::JsonView jsonValue)
InstanceGroupModifyConfig & WithConfigurations(Aws::Vector< Configuration > &&value)
InstanceGroupModifyConfig & WithReconfigurationType(const ReconfigurationType &value)
InstanceGroupModifyConfig & WithInstanceGroupId(const Aws::String &value)
const ReconfigurationType & GetReconfigurationType() const
void SetShrinkPolicy(const ShrinkPolicy &value)
AWS_EMR_API InstanceGroupModifyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceGroupModifyConfig & WithEC2InstanceIdsToTerminate(const Aws::Vector< Aws::String > &value)
bool EC2InstanceIdsToTerminateHasBeenSet() const
AWS_EMR_API InstanceGroupModifyConfig()
InstanceGroupModifyConfig & AddConfigurations(Configuration &&value)
bool ConfigurationsHasBeenSet() const
void SetInstanceCount(int 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