7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
66 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
82 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
133 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
148 inline void SetAttachedTo(
const char* value) { m_attachedToHasBeenSet =
true; m_attachedTo.assign(value); }
160 inline void SetIsAttached(
bool value) { m_isAttachedHasBeenSet =
true; m_isAttached = value; }
166 bool m_nameHasBeenSet =
false;
169 bool m_arnHasBeenSet =
false;
172 bool m_supportCodeHasBeenSet =
false;
175 bool m_createdAtHasBeenSet =
false;
178 bool m_locationHasBeenSet =
false;
181 bool m_resourceTypeHasBeenSet =
false;
184 bool m_ipAddressHasBeenSet =
false;
187 bool m_attachedToHasBeenSet =
false;
190 bool m_isAttachedHasBeenSet =
false;
void SetIpAddress(Aws::String &&value)
StaticIp & WithArn(Aws::String &&value)
bool ArnHasBeenSet() const
StaticIp & WithLocation(ResourceLocation &&value)
StaticIp & WithName(const Aws::String &value)
const Aws::String & GetSupportCode() const
StaticIp & WithSupportCode(Aws::String &&value)
bool AttachedToHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
StaticIp & WithIsAttached(bool value)
StaticIp & WithAttachedTo(Aws::String &&value)
StaticIp & WithIpAddress(const char *value)
const Aws::String & GetAttachedTo() const
const Aws::String & GetArn() const
void SetAttachedTo(const char *value)
void SetArn(Aws::String &&value)
bool GetIsAttached() const
const Aws::String & GetName() const
StaticIp & WithLocation(const ResourceLocation &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetIpAddress(const Aws::String &value)
void SetName(const char *value)
const ResourceLocation & GetLocation() const
void SetLocation(const ResourceLocation &value)
void SetName(Aws::String &&value)
StaticIp & WithIpAddress(const Aws::String &value)
bool SupportCodeHasBeenSet() const
bool IpAddressHasBeenSet() const
void SetAttachedTo(const Aws::String &value)
StaticIp & WithSupportCode(const Aws::String &value)
bool CreatedAtHasBeenSet() const
bool IsAttachedHasBeenSet() const
const ResourceType & GetResourceType() const
StaticIp & WithArn(const char *value)
StaticIp & WithCreatedAt(Aws::Utils::DateTime &&value)
bool ResourceTypeHasBeenSet() const
StaticIp & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API StaticIp()
void SetSupportCode(Aws::String &&value)
StaticIp & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLocation(ResourceLocation &&value)
void SetSupportCode(const char *value)
bool NameHasBeenSet() const
const Aws::String & GetIpAddress() const
StaticIp & WithAttachedTo(const Aws::String &value)
AWS_LIGHTSAIL_API StaticIp & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
void SetResourceType(const ResourceType &value)
StaticIp & WithName(const char *value)
void SetSupportCode(const Aws::String &value)
void SetResourceType(ResourceType &&value)
AWS_LIGHTSAIL_API StaticIp(Aws::Utils::Json::JsonView jsonValue)
StaticIp & WithResourceType(ResourceType &&value)
void SetIsAttached(bool value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
StaticIp & WithIpAddress(Aws::String &&value)
StaticIp & WithArn(const Aws::String &value)
void SetAttachedTo(Aws::String &&value)
void SetName(const Aws::String &value)
void SetIpAddress(const char *value)
StaticIp & WithAttachedTo(const char *value)
StaticIp & WithResourceType(const ResourceType &value)
void SetArn(const char *value)
StaticIp & WithSupportCode(const char *value)
bool LocationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue