7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/MarketType.h>
10#include <aws/elasticmapreduce/model/InstanceRoleType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticmapreduce/model/EbsConfiguration.h>
13#include <aws/elasticmapreduce/model/AutoScalingPolicy.h>
14#include <aws/elasticmapreduce/model/Configuration.h>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
95 inline void SetBidPrice(
const char* value) { m_bidPriceHasBeenSet =
true; m_bidPrice.assign(value); }
109 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
121 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
178 inline void SetCustomAmiId(
const char* value) { m_customAmiIdHasBeenSet =
true; m_customAmiId.assign(value); }
186 bool m_nameHasBeenSet =
false;
189 bool m_marketHasBeenSet =
false;
192 bool m_instanceRoleHasBeenSet =
false;
195 bool m_bidPriceHasBeenSet =
false;
198 bool m_instanceTypeHasBeenSet =
false;
201 bool m_instanceCountHasBeenSet =
false;
204 bool m_configurationsHasBeenSet =
false;
207 bool m_ebsConfigurationHasBeenSet =
false;
210 bool m_autoScalingPolicyHasBeenSet =
false;
213 bool m_customAmiIdHasBeenSet =
false;
const Aws::Vector< Configuration > & GetConfigurations() const
void SetMarket(MarketType &&value)
InstanceGroupConfig & WithInstanceRole(InstanceRoleType &&value)
InstanceGroupConfig & WithAutoScalingPolicy(const AutoScalingPolicy &value)
InstanceGroupConfig & WithAutoScalingPolicy(AutoScalingPolicy &&value)
InstanceGroupConfig & WithName(Aws::String &&value)
InstanceGroupConfig & WithConfigurations(const Aws::Vector< Configuration > &value)
InstanceGroupConfig & AddConfigurations(const Configuration &value)
const Aws::String & GetName() const
bool InstanceRoleHasBeenSet() const
void SetEbsConfiguration(EbsConfiguration &&value)
const InstanceRoleType & GetInstanceRole() const
InstanceGroupConfig & WithCustomAmiId(Aws::String &&value)
InstanceGroupConfig & WithBidPrice(const char *value)
bool AutoScalingPolicyHasBeenSet() const
bool EbsConfigurationHasBeenSet() const
InstanceGroupConfig & WithInstanceRole(const InstanceRoleType &value)
const Aws::String & GetBidPrice() const
InstanceGroupConfig & WithBidPrice(const Aws::String &value)
void SetName(Aws::String &&value)
const EbsConfiguration & GetEbsConfiguration() const
void SetMarket(const MarketType &value)
InstanceGroupConfig & WithCustomAmiId(const char *value)
void SetBidPrice(Aws::String &&value)
InstanceGroupConfig & WithMarket(const MarketType &value)
const MarketType & GetMarket() const
InstanceGroupConfig & WithBidPrice(Aws::String &&value)
InstanceGroupConfig & AddConfigurations(Configuration &&value)
void SetName(const char *value)
void SetConfigurations(Aws::Vector< Configuration > &&value)
void SetInstanceRole(const InstanceRoleType &value)
void SetInstanceCount(int value)
InstanceGroupConfig & WithConfigurations(Aws::Vector< Configuration > &&value)
void SetInstanceType(Aws::String &&value)
InstanceGroupConfig & WithInstanceCount(int value)
InstanceGroupConfig & WithName(const char *value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomAmiId(const Aws::String &value)
InstanceGroupConfig & WithInstanceType(Aws::String &&value)
InstanceGroupConfig & WithInstanceType(const char *value)
bool NameHasBeenSet() const
bool MarketHasBeenSet() const
void SetAutoScalingPolicy(AutoScalingPolicy &&value)
void SetAutoScalingPolicy(const AutoScalingPolicy &value)
InstanceGroupConfig & WithEbsConfiguration(EbsConfiguration &&value)
AWS_EMR_API InstanceGroupConfig()
int GetInstanceCount() const
bool InstanceCountHasBeenSet() const
void SetConfigurations(const Aws::Vector< Configuration > &value)
void SetBidPrice(const char *value)
const Aws::String & GetCustomAmiId() const
void SetInstanceRole(InstanceRoleType &&value)
AWS_EMR_API InstanceGroupConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API InstanceGroupConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InstanceTypeHasBeenSet() const
InstanceGroupConfig & WithCustomAmiId(const Aws::String &value)
void SetBidPrice(const Aws::String &value)
InstanceGroupConfig & WithEbsConfiguration(const EbsConfiguration &value)
const Aws::String & GetInstanceType() const
void SetCustomAmiId(const char *value)
void SetInstanceType(const char *value)
const AutoScalingPolicy & GetAutoScalingPolicy() const
bool ConfigurationsHasBeenSet() const
InstanceGroupConfig & WithInstanceType(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
void SetCustomAmiId(Aws::String &&value)
bool BidPriceHasBeenSet() const
void SetName(const Aws::String &value)
bool CustomAmiIdHasBeenSet() const
InstanceGroupConfig & WithName(const Aws::String &value)
void SetEbsConfiguration(const EbsConfiguration &value)
InstanceGroupConfig & WithMarket(MarketType &&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