7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/InstanceStatus.h>
10#include <aws/elasticmapreduce/model/MarketType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticmapreduce/model/EbsVolume.h>
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetEc2InstanceId(
const char* value) { m_ec2InstanceIdHasBeenSet =
true; m_ec2InstanceId.assign(value); }
81 inline void SetPublicDnsName(
const char* value) { m_publicDnsNameHasBeenSet =
true; m_publicDnsName.assign(value); }
95 inline void SetPublicIpAddress(
const char* value) { m_publicIpAddressHasBeenSet =
true; m_publicIpAddress.assign(value); }
109 inline void SetPrivateDnsName(
const char* value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName.assign(value); }
123 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
149 inline void SetInstanceGroupId(
const char* value) { m_instanceGroupIdHasBeenSet =
true; m_instanceGroupId.assign(value); }
164 inline void SetInstanceFleetId(
const char* value) { m_instanceFleetIdHasBeenSet =
true; m_instanceFleetId.assign(value); }
191 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
213 bool m_idHasBeenSet =
false;
216 bool m_ec2InstanceIdHasBeenSet =
false;
219 bool m_publicDnsNameHasBeenSet =
false;
222 bool m_publicIpAddressHasBeenSet =
false;
225 bool m_privateDnsNameHasBeenSet =
false;
228 bool m_privateIpAddressHasBeenSet =
false;
231 bool m_statusHasBeenSet =
false;
234 bool m_instanceGroupIdHasBeenSet =
false;
237 bool m_instanceFleetIdHasBeenSet =
false;
240 bool m_marketHasBeenSet =
false;
243 bool m_instanceTypeHasBeenSet =
false;
246 bool m_ebsVolumesHasBeenSet =
false;
Instance & WithPrivateIpAddress(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
Instance & WithPrivateDnsName(const char *value)
const Aws::Vector< EbsVolume > & GetEbsVolumes() const
const Aws::String & GetEc2InstanceId() const
Instance & WithPublicIpAddress(const Aws::String &value)
void SetPublicIpAddress(const Aws::String &value)
void SetInstanceGroupId(const Aws::String &value)
void SetId(const char *value)
void SetEc2InstanceId(const char *value)
Instance & WithPublicDnsName(const char *value)
void SetEbsVolumes(Aws::Vector< EbsVolume > &&value)
void SetPrivateDnsName(const Aws::String &value)
AWS_EMR_API Instance(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceGroupId(Aws::String &&value)
Instance & WithPublicDnsName(const Aws::String &value)
void SetPrivateDnsName(const char *value)
Instance & WithId(const Aws::String &value)
const Aws::String & GetInstanceFleetId() const
bool PrivateIpAddressHasBeenSet() const
Instance & WithInstanceType(const char *value)
void SetEc2InstanceId(Aws::String &&value)
const Aws::String & GetPrivateIpAddress() const
Instance & AddEbsVolumes(EbsVolume &&value)
const Aws::String & GetId() const
Instance & WithInstanceType(const Aws::String &value)
Instance & WithEc2InstanceId(Aws::String &&value)
void SetPrivateDnsName(Aws::String &&value)
void SetId(const Aws::String &value)
Instance & WithEc2InstanceId(const Aws::String &value)
void SetInstanceFleetId(Aws::String &&value)
bool PublicIpAddressHasBeenSet() const
bool StatusHasBeenSet() const
Instance & WithPublicIpAddress(Aws::String &&value)
void SetInstanceType(const char *value)
Instance & WithPrivateDnsName(Aws::String &&value)
Instance & WithStatus(InstanceStatus &&value)
void SetInstanceType(const Aws::String &value)
const Aws::String & GetInstanceGroupId() const
void SetPrivateIpAddress(Aws::String &&value)
void SetInstanceGroupId(const char *value)
Instance & WithInstanceFleetId(Aws::String &&value)
Instance & WithId(Aws::String &&value)
Instance & WithStatus(const InstanceStatus &value)
Instance & WithPrivateDnsName(const Aws::String &value)
void SetEbsVolumes(const Aws::Vector< EbsVolume > &value)
Instance & WithMarket(const MarketType &value)
const Aws::String & GetPublicDnsName() const
void SetPublicDnsName(const Aws::String &value)
Instance & WithEc2InstanceId(const char *value)
bool MarketHasBeenSet() const
Instance & WithPublicDnsName(Aws::String &&value)
void SetInstanceFleetId(const Aws::String &value)
void SetStatus(InstanceStatus &&value)
Instance & WithInstanceFleetId(const Aws::String &value)
Instance & WithId(const char *value)
Instance & WithEbsVolumes(Aws::Vector< EbsVolume > &&value)
Instance & WithPublicIpAddress(const char *value)
bool PrivateDnsNameHasBeenSet() const
const Aws::String & GetInstanceType() const
void SetMarket(MarketType &&value)
void SetPrivateIpAddress(const char *value)
void SetId(Aws::String &&value)
void SetMarket(const MarketType &value)
bool EbsVolumesHasBeenSet() const
bool InstanceTypeHasBeenSet() const
void SetPublicIpAddress(Aws::String &&value)
bool Ec2InstanceIdHasBeenSet() const
Instance & WithPrivateIpAddress(const char *value)
Instance & WithInstanceType(Aws::String &&value)
void SetPublicIpAddress(const char *value)
void SetPrivateIpAddress(const Aws::String &value)
bool IdHasBeenSet() const
bool InstanceGroupIdHasBeenSet() const
bool InstanceFleetIdHasBeenSet() const
Instance & WithInstanceGroupId(const char *value)
Instance & WithPrivateIpAddress(Aws::String &&value)
Instance & AddEbsVolumes(const EbsVolume &value)
void SetEc2InstanceId(const Aws::String &value)
const Aws::String & GetPrivateDnsName() const
bool PublicDnsNameHasBeenSet() const
void SetPublicDnsName(const char *value)
Instance & WithInstanceGroupId(Aws::String &&value)
Instance & WithInstanceGroupId(const Aws::String &value)
void SetPublicDnsName(Aws::String &&value)
Instance & WithEbsVolumes(const Aws::Vector< EbsVolume > &value)
const MarketType & GetMarket() const
const Aws::String & GetPublicIpAddress() const
Instance & WithMarket(MarketType &&value)
void SetStatus(const InstanceStatus &value)
Instance & WithInstanceFleetId(const char *value)
void SetInstanceType(Aws::String &&value)
const InstanceStatus & GetStatus() const
void SetInstanceFleetId(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