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/InstanceGroupType.h>
11#include <aws/elasticmapreduce/model/InstanceGroupStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticmapreduce/model/ShrinkPolicy.h>
14#include <aws/elasticmapreduce/model/AutoScalingPolicyDescription.h>
15#include <aws/elasticmapreduce/model/Configuration.h>
16#include <aws/elasticmapreduce/model/EbsBlockDevice.h>
57 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
58 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
72 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
114 inline void SetBidPrice(
const char* value) { m_bidPriceHasBeenSet =
true; m_bidPrice.assign(value); }
128 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
190 inline void SetConfigurationsVersion(
long long value) { m_configurationsVersionHasBeenSet =
true; m_configurationsVersion = value; }
242 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
281 inline void SetCustomAmiId(
const char* value) { m_customAmiIdHasBeenSet =
true; m_customAmiId.assign(value); }
289 bool m_idHasBeenSet =
false;
292 bool m_nameHasBeenSet =
false;
295 bool m_marketHasBeenSet =
false;
298 bool m_instanceGroupTypeHasBeenSet =
false;
301 bool m_bidPriceHasBeenSet =
false;
304 bool m_instanceTypeHasBeenSet =
false;
306 int m_requestedInstanceCount;
307 bool m_requestedInstanceCountHasBeenSet =
false;
309 int m_runningInstanceCount;
310 bool m_runningInstanceCountHasBeenSet =
false;
313 bool m_statusHasBeenSet =
false;
316 bool m_configurationsHasBeenSet =
false;
318 long long m_configurationsVersion;
319 bool m_configurationsVersionHasBeenSet =
false;
322 bool m_lastSuccessfullyAppliedConfigurationsHasBeenSet =
false;
324 long long m_lastSuccessfullyAppliedConfigurationsVersion;
325 bool m_lastSuccessfullyAppliedConfigurationsVersionHasBeenSet =
false;
328 bool m_ebsBlockDevicesHasBeenSet =
false;
331 bool m_ebsOptimizedHasBeenSet =
false;
334 bool m_shrinkPolicyHasBeenSet =
false;
337 bool m_autoScalingPolicyHasBeenSet =
false;
340 bool m_customAmiIdHasBeenSet =
false;
void SetShrinkPolicy(const ShrinkPolicy &value)
const InstanceGroupStatus & GetStatus() const
const Aws::Vector< EbsBlockDevice > & GetEbsBlockDevices() const
InstanceGroup & WithConfigurationsVersion(long long value)
void SetEbsBlockDevices(Aws::Vector< EbsBlockDevice > &&value)
InstanceGroup & WithId(Aws::String &&value)
const Aws::String & GetName() const
InstanceGroup & WithInstanceGroupType(const InstanceGroupType &value)
bool AutoScalingPolicyHasBeenSet() const
InstanceGroup & WithName(const char *value)
InstanceGroup & WithStatus(InstanceGroupStatus &&value)
InstanceGroup & WithEbsOptimized(bool value)
InstanceGroup & WithCustomAmiId(Aws::String &&value)
void SetEbsOptimized(bool value)
InstanceGroup & WithCustomAmiId(const char *value)
InstanceGroup & AddEbsBlockDevices(const EbsBlockDevice &value)
void SetInstanceGroupType(InstanceGroupType &&value)
InstanceGroup & WithId(const Aws::String &value)
InstanceGroup & WithEbsBlockDevices(Aws::Vector< EbsBlockDevice > &&value)
InstanceGroup & AddEbsBlockDevices(EbsBlockDevice &&value)
InstanceGroup & WithLastSuccessfullyAppliedConfigurations(const Aws::Vector< Configuration > &value)
void SetBidPrice(Aws::String &&value)
void SetStatus(InstanceGroupStatus &&value)
InstanceGroup & WithInstanceType(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceGroup & WithConfigurations(const Aws::Vector< Configuration > &value)
InstanceGroup & WithShrinkPolicy(ShrinkPolicy &&value)
void SetConfigurations(Aws::Vector< Configuration > &&value)
const Aws::String & GetCustomAmiId() const
bool InstanceGroupTypeHasBeenSet() const
InstanceGroup & WithStatus(const InstanceGroupStatus &value)
InstanceGroup & WithLastSuccessfullyAppliedConfigurations(Aws::Vector< Configuration > &&value)
void SetMarket(const MarketType &value)
InstanceGroup & WithLastSuccessfullyAppliedConfigurationsVersion(long long value)
InstanceGroup & AddConfigurations(Configuration &&value)
void SetCustomAmiId(const Aws::String &value)
InstanceGroup & WithCustomAmiId(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
bool LastSuccessfullyAppliedConfigurationsHasBeenSet() const
bool ConfigurationsVersionHasBeenSet() const
InstanceGroup & WithBidPrice(const char *value)
int GetRequestedInstanceCount() const
void SetShrinkPolicy(ShrinkPolicy &&value)
void SetConfigurationsVersion(long long value)
AWS_EMR_API InstanceGroup(Aws::Utils::Json::JsonView jsonValue)
InstanceGroup & WithConfigurations(Aws::Vector< Configuration > &&value)
void SetInstanceType(const Aws::String &value)
void SetEbsBlockDevices(const Aws::Vector< EbsBlockDevice > &value)
void SetConfigurations(const Aws::Vector< Configuration > &value)
InstanceGroup & WithMarket(const MarketType &value)
void SetRequestedInstanceCount(int value)
InstanceGroup & WithInstanceType(Aws::String &&value)
bool LastSuccessfullyAppliedConfigurationsVersionHasBeenSet() const
InstanceGroup & WithInstanceType(const char *value)
bool EbsBlockDevicesHasBeenSet() const
InstanceGroup & WithRunningInstanceCount(int value)
bool RequestedInstanceCountHasBeenSet() const
void SetLastSuccessfullyAppliedConfigurationsVersion(long long value)
void SetLastSuccessfullyAppliedConfigurations(Aws::Vector< Configuration > &&value)
InstanceGroup & AddLastSuccessfullyAppliedConfigurations(Configuration &&value)
const Aws::String & GetBidPrice() const
InstanceGroup & WithShrinkPolicy(const ShrinkPolicy &value)
void SetBidPrice(const char *value)
bool BidPriceHasBeenSet() const
bool ShrinkPolicyHasBeenSet() const
const ShrinkPolicy & GetShrinkPolicy() const
const InstanceGroupType & GetInstanceGroupType() const
bool GetEbsOptimized() const
void SetMarket(MarketType &&value)
int GetRunningInstanceCount() const
InstanceGroup & AddConfigurations(const Configuration &value)
void SetRunningInstanceCount(int value)
void SetInstanceGroupType(const InstanceGroupType &value)
void SetInstanceType(Aws::String &&value)
void SetBidPrice(const Aws::String &value)
bool CustomAmiIdHasBeenSet() const
void SetName(Aws::String &&value)
const MarketType & GetMarket() const
const Aws::String & GetId() const
void SetStatus(const InstanceGroupStatus &value)
const Aws::Vector< Configuration > & GetConfigurations() const
bool NameHasBeenSet() const
bool RunningInstanceCountHasBeenSet() const
long long GetLastSuccessfullyAppliedConfigurationsVersion() const
void SetCustomAmiId(Aws::String &&value)
InstanceGroup & WithBidPrice(Aws::String &&value)
void SetId(Aws::String &&value)
InstanceGroup & WithId(const char *value)
InstanceGroup & AddLastSuccessfullyAppliedConfigurations(const Configuration &value)
const AutoScalingPolicyDescription & GetAutoScalingPolicy() const
void SetInstanceType(const char *value)
InstanceGroup & WithName(Aws::String &&value)
InstanceGroup & WithEbsBlockDevices(const Aws::Vector< EbsBlockDevice > &value)
InstanceGroup & WithName(const Aws::String &value)
bool IdHasBeenSet() const
void SetLastSuccessfullyAppliedConfigurations(const Aws::Vector< Configuration > &value)
InstanceGroup & WithMarket(MarketType &&value)
InstanceGroup & WithInstanceGroupType(InstanceGroupType &&value)
bool ConfigurationsHasBeenSet() const
AWS_EMR_API InstanceGroup()
long long GetConfigurationsVersion() const
bool MarketHasBeenSet() const
bool StatusHasBeenSet() const
InstanceGroup & WithBidPrice(const Aws::String &value)
InstanceGroup & WithAutoScalingPolicy(const AutoScalingPolicyDescription &value)
void SetCustomAmiId(const char *value)
InstanceGroup & WithRequestedInstanceCount(int value)
void SetId(const Aws::String &value)
AWS_EMR_API InstanceGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAutoScalingPolicy(const AutoScalingPolicyDescription &value)
const Aws::Vector< Configuration > & GetLastSuccessfullyAppliedConfigurations() const
bool EbsOptimizedHasBeenSet() const
void SetName(const char *value)
InstanceGroup & WithAutoScalingPolicy(AutoScalingPolicyDescription &&value)
const Aws::String & GetInstanceType() const
void SetName(const Aws::String &value)
void SetAutoScalingPolicy(AutoScalingPolicyDescription &&value)
void SetId(const char *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