/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

The status of the elastic IP (EIP) address for an Amazon Redshift * cluster.

See Also:

AWS * API Reference

*/ class AwsRedshiftClusterElasticIpStatus { public: AWS_SECURITYHUB_API AwsRedshiftClusterElasticIpStatus(); AWS_SECURITYHUB_API AwsRedshiftClusterElasticIpStatus(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsRedshiftClusterElasticIpStatus& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The elastic IP address for the cluster.

*/ inline const Aws::String& GetElasticIp() const{ return m_elasticIp; } /** *

The elastic IP address for the cluster.

*/ inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; } /** *

The elastic IP address for the cluster.

*/ inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; } /** *

The elastic IP address for the cluster.

*/ inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); } /** *

The elastic IP address for the cluster.

*/ inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); } /** *

The elastic IP address for the cluster.

*/ inline AwsRedshiftClusterElasticIpStatus& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;} /** *

The elastic IP address for the cluster.

*/ inline AwsRedshiftClusterElasticIpStatus& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;} /** *

The elastic IP address for the cluster.

*/ inline AwsRedshiftClusterElasticIpStatus& WithElasticIp(const char* value) { SetElasticIp(value); return *this;} /** *

The status of the elastic IP address.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the elastic IP address.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the elastic IP address.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the elastic IP address.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the elastic IP address.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The status of the elastic IP address.

*/ inline AwsRedshiftClusterElasticIpStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the elastic IP address.

*/ inline AwsRedshiftClusterElasticIpStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the elastic IP address.

*/ inline AwsRedshiftClusterElasticIpStatus& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_elasticIp; bool m_elasticIpHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws