AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInterfaceIpv6Address.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; }
48 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
49 inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; }
50 inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); }
51 inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); }
52 inline NetworkInterfaceIpv6Address& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;}
53 inline NetworkInterfaceIpv6Address& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;}
54 inline NetworkInterfaceIpv6Address& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;}
56
58
65 inline bool GetIsPrimaryIpv6() const{ return m_isPrimaryIpv6; }
66 inline bool IsPrimaryIpv6HasBeenSet() const { return m_isPrimaryIpv6HasBeenSet; }
67 inline void SetIsPrimaryIpv6(bool value) { m_isPrimaryIpv6HasBeenSet = true; m_isPrimaryIpv6 = value; }
68 inline NetworkInterfaceIpv6Address& WithIsPrimaryIpv6(bool value) { SetIsPrimaryIpv6(value); return *this;}
70 private:
71
72 Aws::String m_ipv6Address;
73 bool m_ipv6AddressHasBeenSet = false;
74
75 bool m_isPrimaryIpv6;
76 bool m_isPrimaryIpv6HasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API NetworkInterfaceIpv6Address & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInterfaceIpv6Address & WithIpv6Address(const char *value)
NetworkInterfaceIpv6Address & WithIsPrimaryIpv6(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API NetworkInterfaceIpv6Address(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInterfaceIpv6Address & WithIpv6Address(Aws::String &&value)
NetworkInterfaceIpv6Address & WithIpv6Address(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream