7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/InstanceFleetResizingSpecifications.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticmapreduce/model/InstanceTypeConfig.h>
54 inline void SetInstanceFleetId(
const char* value) { m_instanceFleetIdHasBeenSet =
true; m_instanceFleetId.assign(value); }
78 inline void SetTargetSpotCapacity(
int value) { m_targetSpotCapacityHasBeenSet =
true; m_targetSpotCapacity = value; }
119 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
127 bool m_instanceFleetIdHasBeenSet =
false;
129 int m_targetOnDemandCapacity;
130 bool m_targetOnDemandCapacityHasBeenSet =
false;
132 int m_targetSpotCapacity;
133 bool m_targetSpotCapacityHasBeenSet =
false;
136 bool m_resizeSpecificationsHasBeenSet =
false;
139 bool m_instanceTypeConfigsHasBeenSet =
false;
142 bool m_contextHasBeenSet =
false;
InstanceFleetModifyConfig & WithResizeSpecifications(const InstanceFleetResizingSpecifications &value)
InstanceFleetModifyConfig & WithContext(Aws::String &&value)
const Aws::String & GetContext() const
bool InstanceTypeConfigsHasBeenSet() const
bool InstanceFleetIdHasBeenSet() const
int GetTargetSpotCapacity() const
void SetContext(Aws::String &&value)
void SetInstanceTypeConfigs(const Aws::Vector< InstanceTypeConfig > &value)
void SetInstanceFleetId(Aws::String &&value)
InstanceFleetModifyConfig & AddInstanceTypeConfigs(InstanceTypeConfig &&value)
InstanceFleetModifyConfig & WithInstanceTypeConfigs(const Aws::Vector< InstanceTypeConfig > &value)
bool ContextHasBeenSet() const
InstanceFleetModifyConfig & WithInstanceFleetId(Aws::String &&value)
const Aws::String & GetInstanceFleetId() const
const Aws::Vector< InstanceTypeConfig > & GetInstanceTypeConfigs() const
bool TargetOnDemandCapacityHasBeenSet() const
InstanceFleetModifyConfig & AddInstanceTypeConfigs(const InstanceTypeConfig &value)
bool TargetSpotCapacityHasBeenSet() const
InstanceFleetModifyConfig & WithTargetSpotCapacity(int value)
void SetInstanceFleetId(const Aws::String &value)
void SetTargetOnDemandCapacity(int value)
AWS_EMR_API InstanceFleetModifyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceFleetId(const char *value)
AWS_EMR_API InstanceFleetModifyConfig()
InstanceFleetModifyConfig & WithInstanceFleetId(const Aws::String &value)
void SetInstanceTypeConfigs(Aws::Vector< InstanceTypeConfig > &&value)
int GetTargetOnDemandCapacity() const
InstanceFleetModifyConfig & WithTargetOnDemandCapacity(int value)
void SetResizeSpecifications(InstanceFleetResizingSpecifications &&value)
AWS_EMR_API InstanceFleetModifyConfig(Aws::Utils::Json::JsonView jsonValue)
InstanceFleetModifyConfig & WithInstanceFleetId(const char *value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResizeSpecificationsHasBeenSet() const
void SetTargetSpotCapacity(int value)
void SetContext(const char *value)
InstanceFleetModifyConfig & WithInstanceTypeConfigs(Aws::Vector< InstanceTypeConfig > &&value)
void SetResizeSpecifications(const InstanceFleetResizingSpecifications &value)
InstanceFleetModifyConfig & WithContext(const Aws::String &value)
const InstanceFleetResizingSpecifications & GetResizeSpecifications() const
InstanceFleetModifyConfig & WithContext(const char *value)
void SetContext(const Aws::String &value)
InstanceFleetModifyConfig & WithResizeSpecifications(InstanceFleetResizingSpecifications &&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