AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ipv6Range.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
32 {
33 public:
34 AWS_EC2_API Ipv6Range();
35 AWS_EC2_API Ipv6Range(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_EC2_API Ipv6Range& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
48 inline const Aws::String& GetDescription() const{ return m_description; }
49 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
50 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
52 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
53 inline Ipv6Range& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
54 inline Ipv6Range& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
55 inline Ipv6Range& WithDescription(const char* value) { SetDescription(value); return *this;}
57
59
64 inline const Aws::String& GetCidrIpv6() const{ return m_cidrIpv6; }
65 inline bool CidrIpv6HasBeenSet() const { return m_cidrIpv6HasBeenSet; }
66 inline void SetCidrIpv6(const Aws::String& value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6 = value; }
67 inline void SetCidrIpv6(Aws::String&& value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6 = std::move(value); }
68 inline void SetCidrIpv6(const char* value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6.assign(value); }
69 inline Ipv6Range& WithCidrIpv6(const Aws::String& value) { SetCidrIpv6(value); return *this;}
70 inline Ipv6Range& WithCidrIpv6(Aws::String&& value) { SetCidrIpv6(std::move(value)); return *this;}
71 inline Ipv6Range& WithCidrIpv6(const char* value) { SetCidrIpv6(value); return *this;}
73 private:
74
75 Aws::String m_description;
76 bool m_descriptionHasBeenSet = false;
77
78 Aws::String m_cidrIpv6;
79 bool m_cidrIpv6HasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
bool DescriptionHasBeenSet() const
Definition Ipv6Range.h:49
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDescription(const char *value)
Definition Ipv6Range.h:52
void SetDescription(const Aws::String &value)
Definition Ipv6Range.h:50
AWS_EC2_API Ipv6Range(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipv6Range & WithDescription(const char *value)
Definition Ipv6Range.h:55
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetDescription() const
Definition Ipv6Range.h:48
Ipv6Range & WithCidrIpv6(Aws::String &&value)
Definition Ipv6Range.h:70
void SetCidrIpv6(const char *value)
Definition Ipv6Range.h:68
Ipv6Range & WithCidrIpv6(const char *value)
Definition Ipv6Range.h:71
Ipv6Range & WithCidrIpv6(const Aws::String &value)
Definition Ipv6Range.h:69
Ipv6Range & WithDescription(Aws::String &&value)
Definition Ipv6Range.h:54
void SetDescription(Aws::String &&value)
Definition Ipv6Range.h:51
const Aws::String & GetCidrIpv6() const
Definition Ipv6Range.h:64
Ipv6Range & WithDescription(const Aws::String &value)
Definition Ipv6Range.h:53
void SetCidrIpv6(Aws::String &&value)
Definition Ipv6Range.h:67
bool CidrIpv6HasBeenSet() const
Definition Ipv6Range.h:65
AWS_EC2_API Ipv6Range & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCidrIpv6(const Aws::String &value)
Definition Ipv6Range.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream