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>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
62 template<
typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
64 template<
typename ArnT = Aws::String>
76 template<
typename SupportCodeT = Aws::String>
77 void SetSupportCode(SupportCodeT&& value) { m_supportCodeHasBeenSet =
true; m_supportCode = std::forward<SupportCodeT>(value); }
78 template<
typename SupportCodeT = Aws::String>
89 template<
typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
91 template<
typename CreatedAtT = Aws::Utils::DateTime>
101 template<
typename LocationT = ResourceLocation>
102 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
103 template<
typename LocationT = ResourceLocation>
123 template<
typename IpAddressT = Aws::String>
124 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
125 template<
typename IpAddressT = Aws::String>
136 template<
typename AttachedToT = Aws::String>
137 void SetAttachedTo(AttachedToT&& value) { m_attachedToHasBeenSet =
true; m_attachedTo = std::forward<AttachedToT>(value); }
138 template<
typename AttachedToT = Aws::String>
148 inline void SetIsAttached(
bool value) { m_isAttachedHasBeenSet =
true; m_isAttached = value; }
154 bool m_nameHasBeenSet =
false;
157 bool m_arnHasBeenSet =
false;
160 bool m_supportCodeHasBeenSet =
false;
163 bool m_createdAtHasBeenSet =
false;
165 ResourceLocation m_location;
166 bool m_locationHasBeenSet =
false;
169 bool m_resourceTypeHasBeenSet =
false;
172 bool m_ipAddressHasBeenSet =
false;
175 bool m_attachedToHasBeenSet =
false;
177 bool m_isAttached{
false};
178 bool m_isAttachedHasBeenSet =
false;
bool ArnHasBeenSet() const
const Aws::String & GetSupportCode() const
StaticIp & WithAttachedTo(AttachedToT &&value)
bool AttachedToHasBeenSet() const
StaticIp & WithIsAttached(bool value)
void SetIpAddress(IpAddressT &&value)
const Aws::String & GetAttachedTo() const
void SetLocation(LocationT &&value)
const Aws::String & GetArn() const
bool GetIsAttached() const
const Aws::String & GetName() const
StaticIp & WithResourceType(ResourceType value)
void SetCreatedAt(CreatedAtT &&value)
StaticIp & WithCreatedAt(CreatedAtT &&value)
AWS_LIGHTSAIL_API StaticIp()=default
const ResourceLocation & GetLocation() const
ResourceType GetResourceType() const
StaticIp & WithIpAddress(IpAddressT &&value)
bool SupportCodeHasBeenSet() const
bool IpAddressHasBeenSet() const
void SetName(NameT &&value)
bool CreatedAtHasBeenSet() const
bool IsAttachedHasBeenSet() const
bool ResourceTypeHasBeenSet() const
StaticIp & WithLocation(LocationT &&value)
void SetResourceType(ResourceType value)
StaticIp & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool NameHasBeenSet() const
const Aws::String & GetIpAddress() const
void SetAttachedTo(AttachedToT &&value)
void SetArn(ArnT &&value)
AWS_LIGHTSAIL_API StaticIp & operator=(Aws::Utils::Json::JsonView jsonValue)
StaticIp & WithName(NameT &&value)
AWS_LIGHTSAIL_API StaticIp(Aws::Utils::Json::JsonView jsonValue)
void SetIsAttached(bool value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
StaticIp & WithSupportCode(SupportCodeT &&value)
void SetSupportCode(SupportCodeT &&value)
bool LocationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue