/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a static IP.See Also:
AWS
* API Reference
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the static IP (e.g.,
* arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline const Aws::String& GetSupportCode() const{ return m_supportCode; } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline StaticIp& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;} /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline StaticIp& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;} /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline StaticIp& WithSupportCode(const char* value) { SetSupportCode(value); return *this;} /** *The timestamp when the static IP was created (e.g.,
* 1479735304.222
).
The timestamp when the static IP was created (e.g.,
* 1479735304.222
).
The timestamp when the static IP was created (e.g.,
* 1479735304.222
).
The timestamp when the static IP was created (e.g.,
* 1479735304.222
).
The timestamp when the static IP was created (e.g.,
* 1479735304.222
).
The timestamp when the static IP was created (e.g.,
* 1479735304.222
).
The region and Availability Zone where the static IP was created.
*/ inline const ResourceLocation& GetLocation() const{ return m_location; } /** *The region and Availability Zone where the static IP was created.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *The region and Availability Zone where the static IP was created.
*/ inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; } /** *The region and Availability Zone where the static IP was created.
*/ inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *The region and Availability Zone where the static IP was created.
*/ inline StaticIp& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;} /** *The region and Availability Zone where the static IP was created.
*/ inline StaticIp& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;} /** *The resource type (usually StaticIp
).
The resource type (usually StaticIp
).
The resource type (usually StaticIp
).
The resource type (usually StaticIp
).
The resource type (usually StaticIp
).
The resource type (usually StaticIp
).
The static IP address.
*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *The static IP address.
*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *The static IP address.
*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *The static IP address.
*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *The static IP address.
*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *The static IP address.
*/ inline StaticIp& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *The static IP address.
*/ inline StaticIp& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *The static IP address.
*/ inline StaticIp& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
The instance where the static IP is attached (e.g.,
* Amazon_Linux-1GB-Ohio-1
).
A Boolean value indicating whether the static IP is attached.
*/ inline bool GetIsAttached() const{ return m_isAttached; } /** *A Boolean value indicating whether the static IP is attached.
*/ inline bool IsAttachedHasBeenSet() const { return m_isAttachedHasBeenSet; } /** *A Boolean value indicating whether the static IP is attached.
*/ inline void SetIsAttached(bool value) { m_isAttachedHasBeenSet = true; m_isAttached = value; } /** *A Boolean value indicating whether the static IP is attached.
*/ inline StaticIp& WithIsAttached(bool value) { SetIsAttached(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_supportCode; bool m_supportCodeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; ResourceLocation m_location; bool m_locationHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; Aws::String m_attachedTo; bool m_attachedToHasBeenSet = false; bool m_isAttached; bool m_isAttachedHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws