136 lines
4.0 KiB
C++
136 lines
4.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/redshift/Redshift_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Xml
|
|
{
|
|
class XmlNode;
|
|
} // namespace Xml
|
|
} // namespace Utils
|
|
namespace Redshift
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Describes the status of the elastic IP (EIP) address.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ElasticIpStatus">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_REDSHIFT_API ElasticIpStatus
|
|
{
|
|
public:
|
|
ElasticIpStatus();
|
|
ElasticIpStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|
ElasticIpStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|
|
|
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
|
|
void OutputToStream(Aws::OStream& oStream, const char* location) const;
|
|
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; }
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); }
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); }
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline ElasticIpStatus& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline ElasticIpStatus& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The elastic IP (EIP) address for the cluster.</p>
|
|
*/
|
|
inline ElasticIpStatus& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline const Aws::String& GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline ElasticIpStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline ElasticIpStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the elastic IP (EIP) address.</p>
|
|
*/
|
|
inline ElasticIpStatus& WithStatus(const char* value) { SetStatus(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_elasticIp;
|
|
bool m_elasticIpHasBeenSet;
|
|
|
|
Aws::String m_status;
|
|
bool m_statusHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Redshift
|
|
} // namespace Aws
|