7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
62 template <
typename ArnT = Aws::String>
64 m_arnHasBeenSet =
true;
65 m_arn = std::forward<ArnT>(value);
67 template <
typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
82 template <
typename SupportCodeT = Aws::String>
84 m_supportCodeHasBeenSet =
true;
85 m_supportCode = std::forward<SupportCodeT>(value);
87 template <
typename SupportCodeT = Aws::String>
101 template <
typename CreatedAtT = Aws::Utils::DateTime>
103 m_createdAtHasBeenSet =
true;
104 m_createdAt = std::forward<CreatedAtT>(value);
106 template <
typename CreatedAtT = Aws::Utils::DateTime>
119 template <
typename LocationT = ResourceLocation>
121 m_locationHasBeenSet =
true;
122 m_location = std::forward<LocationT>(value);
124 template <
typename LocationT = ResourceLocation>
138 m_resourceTypeHasBeenSet =
true;
139 m_resourceType = value;
153 template <
typename IpAddressT = Aws::String>
155 m_ipAddressHasBeenSet =
true;
156 m_ipAddress = std::forward<IpAddressT>(value);
158 template <
typename IpAddressT = Aws::String>
172 template <
typename AttachedToT = Aws::String>
174 m_attachedToHasBeenSet =
true;
175 m_attachedTo = std::forward<AttachedToT>(value);
177 template <
typename AttachedToT = Aws::String>
191 m_isAttachedHasBeenSet =
true;
192 m_isAttached = value;
208 ResourceLocation m_location;
216 bool m_isAttached{
false};
217 bool m_nameHasBeenSet =
false;
218 bool m_arnHasBeenSet =
false;
219 bool m_supportCodeHasBeenSet =
false;
220 bool m_createdAtHasBeenSet =
false;
221 bool m_locationHasBeenSet =
false;
222 bool m_resourceTypeHasBeenSet =
false;
223 bool m_ipAddressHasBeenSet =
false;
224 bool m_attachedToHasBeenSet =
false;
225 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