7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/PortInfoSourceType.h>
55 inline void SetSourceName(
const char* value) { m_sourceNameHasBeenSet =
true; m_sourceName.assign(value); }
70 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
121 inline void SetUserData(
const char* value) { m_userDataHasBeenSet =
true; m_userData.assign(value); }
135 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
143 bool m_sourceNameHasBeenSet =
false;
146 bool m_instanceTypeHasBeenSet =
false;
149 bool m_portInfoSourceHasBeenSet =
false;
152 bool m_userDataHasBeenSet =
false;
155 bool m_availabilityZoneHasBeenSet =
false;
bool InstanceTypeHasBeenSet() const
InstanceEntry & WithUserData(Aws::String &&value)
void SetUserData(Aws::String &&value)
bool AvailabilityZoneHasBeenSet() const
AWS_LIGHTSAIL_API InstanceEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PortInfoSourceHasBeenSet() const
const Aws::String & GetInstanceType() const
InstanceEntry & WithAvailabilityZone(Aws::String &&value)
InstanceEntry & WithInstanceType(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
bool SourceNameHasBeenSet() const
InstanceEntry & WithSourceName(const Aws::String &value)
InstanceEntry & WithAvailabilityZone(const char *value)
void SetPortInfoSource(PortInfoSourceType &&value)
AWS_LIGHTSAIL_API InstanceEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceName() const
void SetAvailabilityZone(const char *value)
void SetPortInfoSource(const PortInfoSourceType &value)
const PortInfoSourceType & GetPortInfoSource() const
bool UserDataHasBeenSet() const
void SetAvailabilityZone(Aws::String &&value)
void SetSourceName(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
void SetInstanceType(const char *value)
InstanceEntry & WithAvailabilityZone(const Aws::String &value)
void SetUserData(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
InstanceEntry & WithInstanceType(const Aws::String &value)
InstanceEntry & WithUserData(const Aws::String &value)
AWS_LIGHTSAIL_API InstanceEntry()
const Aws::String & GetUserData() const
void SetUserData(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceName(const char *value)
void SetAvailabilityZone(const Aws::String &value)
InstanceEntry & WithUserData(const char *value)
InstanceEntry & WithSourceName(const char *value)
InstanceEntry & WithPortInfoSource(const PortInfoSourceType &value)
InstanceEntry & WithInstanceType(const char *value)
InstanceEntry & WithPortInfoSource(PortInfoSourceType &&value)
void SetSourceName(Aws::String &&value)
InstanceEntry & WithSourceName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue