92 lines
2.9 KiB
C++
92 lines
2.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/ec2/EC2_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 EC2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Describes the private IP addresses assigned to a network
|
|
* interface.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignedPrivateIpAddress">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_EC2_API AssignedPrivateIpAddress
|
|
{
|
|
public:
|
|
AssignedPrivateIpAddress();
|
|
AssignedPrivateIpAddress(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|
AssignedPrivateIpAddress& 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 private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
|
|
|
|
/**
|
|
* <p>The private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
|
|
|
|
/**
|
|
* <p>The private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
|
|
|
|
/**
|
|
* <p>The private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
|
|
|
|
/**
|
|
* <p>The private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline AssignedPrivateIpAddress& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
|
|
|
|
/**
|
|
* <p>The private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline AssignedPrivateIpAddress& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The private IP address assigned to the network interface.</p>
|
|
*/
|
|
inline AssignedPrivateIpAddress& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_privateIpAddress;
|
|
bool m_privateIpAddressHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace EC2
|
|
} // namespace Aws
|