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/elasticmapreduce/model/InstanceGroupState.h>
12#include <aws/core/utils/DateTime.h>
52 inline void SetInstanceGroupId(
const char* value) { m_instanceGroupIdHasBeenSet =
true; m_instanceGroupId.assign(value); }
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
107 inline void SetBidPrice(
const char* value) { m_bidPriceHasBeenSet =
true; m_bidPrice.assign(value); }
121 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
168 inline void SetLastStateChangeReason(
const char* value) { m_lastStateChangeReasonHasBeenSet =
true; m_lastStateChangeReason.assign(value); }
230 inline void SetCustomAmiId(
const char* value) { m_customAmiIdHasBeenSet =
true; m_customAmiId.assign(value); }
238 bool m_instanceGroupIdHasBeenSet =
false;
241 bool m_nameHasBeenSet =
false;
244 bool m_marketHasBeenSet =
false;
247 bool m_instanceRoleHasBeenSet =
false;
250 bool m_bidPriceHasBeenSet =
false;
253 bool m_instanceTypeHasBeenSet =
false;
255 int m_instanceRequestCount;
256 bool m_instanceRequestCountHasBeenSet =
false;
258 int m_instanceRunningCount;
259 bool m_instanceRunningCountHasBeenSet =
false;
262 bool m_stateHasBeenSet =
false;
265 bool m_lastStateChangeReasonHasBeenSet =
false;
268 bool m_creationDateTimeHasBeenSet =
false;
271 bool m_startDateTimeHasBeenSet =
false;
274 bool m_readyDateTimeHasBeenSet =
false;
277 bool m_endDateTimeHasBeenSet =
false;
280 bool m_customAmiIdHasBeenSet =
false;
bool ReadyDateTimeHasBeenSet() const
void SetStartDateTime(const Aws::Utils::DateTime &value)
void SetInstanceType(Aws::String &&value)
void SetLastStateChangeReason(const char *value)
bool NameHasBeenSet() const
bool BidPriceHasBeenSet() const
void SetMarket(const MarketType &value)
void SetName(Aws::String &&value)
void SetLastStateChangeReason(Aws::String &&value)
void SetStartDateTime(Aws::Utils::DateTime &&value)
void SetInstanceRole(const InstanceRoleType &value)
InstanceGroupDetail & WithBidPrice(Aws::String &&value)
bool CreationDateTimeHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationDateTime() const
InstanceGroupDetail & WithLastStateChangeReason(const Aws::String &value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
void SetEndDateTime(Aws::Utils::DateTime &&value)
InstanceGroupDetail & WithCustomAmiId(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
bool StartDateTimeHasBeenSet() const
int GetInstanceRunningCount() const
void SetCustomAmiId(const Aws::String &value)
const Aws::String & GetCustomAmiId() const
const Aws::String & GetLastStateChangeReason() const
void SetCustomAmiId(const char *value)
void SetInstanceRole(InstanceRoleType &&value)
void SetInstanceGroupId(const char *value)
InstanceGroupDetail & WithBidPrice(const Aws::String &value)
void SetName(const char *value)
InstanceGroupDetail & WithStartDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
bool CustomAmiIdHasBeenSet() const
const MarketType & GetMarket() const
const Aws::String & GetInstanceType() const
const Aws::String & GetBidPrice() const
bool InstanceRunningCountHasBeenSet() const
void SetCustomAmiId(Aws::String &&value)
InstanceGroupDetail & WithInstanceGroupId(Aws::String &&value)
void SetReadyDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
void SetInstanceType(const char *value)
InstanceGroupDetail & WithMarket(const MarketType &value)
void SetState(const InstanceGroupState &value)
InstanceGroupDetail & WithLastStateChangeReason(Aws::String &&value)
bool InstanceRoleHasBeenSet() const
InstanceGroupDetail & WithInstanceGroupId(const char *value)
InstanceGroupDetail & WithState(InstanceGroupState &&value)
InstanceGroupDetail & WithName(Aws::String &&value)
AWS_EMR_API InstanceGroupDetail()
InstanceGroupDetail & WithInstanceType(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
const Aws::Utils::DateTime & GetStartDateTime() const
void SetBidPrice(const char *value)
bool InstanceGroupIdHasBeenSet() const
const Aws::Utils::DateTime & GetReadyDateTime() const
InstanceGroupDetail & WithName(const char *value)
void SetState(InstanceGroupState &&value)
InstanceGroupDetail & WithReadyDateTime(const Aws::Utils::DateTime &value)
const InstanceGroupState & GetState() const
void SetMarket(MarketType &&value)
void SetInstanceRequestCount(int value)
int GetInstanceRequestCount() const
void SetName(const Aws::String &value)
void SetBidPrice(const Aws::String &value)
InstanceGroupDetail & WithCreationDateTime(Aws::Utils::DateTime &&value)
InstanceGroupDetail & WithLastStateChangeReason(const char *value)
InstanceGroupDetail & WithStartDateTime(const Aws::Utils::DateTime &value)
InstanceGroupDetail & WithInstanceGroupId(const Aws::String &value)
InstanceGroupDetail & WithInstanceType(Aws::String &&value)
const InstanceRoleType & GetInstanceRole() const
const Aws::Utils::DateTime & GetEndDateTime() const
InstanceGroupDetail & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
InstanceGroupDetail & WithInstanceType(const char *value)
const Aws::String & GetInstanceGroupId() const
InstanceGroupDetail & WithMarket(MarketType &&value)
InstanceGroupDetail & WithEndDateTime(const Aws::Utils::DateTime &value)
InstanceGroupDetail & WithBidPrice(const char *value)
InstanceGroupDetail & WithInstanceRequestCount(int value)
bool StateHasBeenSet() const
InstanceGroupDetail & WithInstanceRole(const InstanceRoleType &value)
InstanceGroupDetail & WithCustomAmiId(const char *value)
InstanceGroupDetail & WithState(const InstanceGroupState &value)
InstanceGroupDetail & WithInstanceRunningCount(int value)
void SetInstanceGroupId(const Aws::String &value)
bool EndDateTimeHasBeenSet() const
AWS_EMR_API InstanceGroupDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastStateChangeReason(const Aws::String &value)
InstanceGroupDetail & WithCustomAmiId(const Aws::String &value)
bool MarketHasBeenSet() const
InstanceGroupDetail & WithInstanceRole(InstanceRoleType &&value)
void SetInstanceRunningCount(int value)
bool LastStateChangeReasonHasBeenSet() const
InstanceGroupDetail & WithReadyDateTime(Aws::Utils::DateTime &&value)
bool InstanceRequestCountHasBeenSet() const
InstanceGroupDetail & WithName(const Aws::String &value)
void SetInstanceGroupId(Aws::String &&value)
void SetBidPrice(Aws::String &&value)
void SetReadyDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API InstanceGroupDetail(Aws::Utils::Json::JsonView jsonValue)
InstanceGroupDetail & WithEndDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue