AWS SDK for C++  1.9.129
AWS SDK for C++
Ipv6PrefixSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetIpv6Prefix() const{ return m_ipv6Prefix; }
46 
50  inline bool Ipv6PrefixHasBeenSet() const { return m_ipv6PrefixHasBeenSet; }
51 
55  inline void SetIpv6Prefix(const Aws::String& value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix = value; }
56 
60  inline void SetIpv6Prefix(Aws::String&& value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix = std::move(value); }
61 
65  inline void SetIpv6Prefix(const char* value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix.assign(value); }
66 
70  inline Ipv6PrefixSpecification& WithIpv6Prefix(const Aws::String& value) { SetIpv6Prefix(value); return *this;}
71 
75  inline Ipv6PrefixSpecification& WithIpv6Prefix(Aws::String&& value) { SetIpv6Prefix(std::move(value)); return *this;}
76 
80  inline Ipv6PrefixSpecification& WithIpv6Prefix(const char* value) { SetIpv6Prefix(value); return *this;}
81 
82  private:
83 
84  Aws::String m_ipv6Prefix;
85  bool m_ipv6PrefixHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace EC2
90 } // namespace Aws
Aws::EC2::Model::Ipv6PrefixSpecification::WithIpv6Prefix
Ipv6PrefixSpecification & WithIpv6Prefix(Aws::String &&value)
Definition: Ipv6PrefixSpecification.h:75
Aws::EC2::Model::Ipv6PrefixSpecification::GetIpv6Prefix
const Aws::String & GetIpv6Prefix() const
Definition: Ipv6PrefixSpecification.h:45
Aws::EC2::Model::Ipv6PrefixSpecification
Definition: Ipv6PrefixSpecification.h:32
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Ipv6PrefixSpecification::SetIpv6Prefix
void SetIpv6Prefix(const char *value)
Definition: Ipv6PrefixSpecification.h:65
Aws::EC2::Model::Ipv6PrefixSpecification::SetIpv6Prefix
void SetIpv6Prefix(Aws::String &&value)
Definition: Ipv6PrefixSpecification.h:60
AWSStreamFwd.h
Aws::EC2::Model::Ipv6PrefixSpecification::Ipv6PrefixSpecification
Ipv6PrefixSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Ipv6PrefixSpecification::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::Ipv6PrefixSpecification::WithIpv6Prefix
Ipv6PrefixSpecification & WithIpv6Prefix(const Aws::String &value)
Definition: Ipv6PrefixSpecification.h:70
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWSString.h
Aws::EC2::Model::Ipv6PrefixSpecification::Ipv6PrefixSpecification
Ipv6PrefixSpecification()
Aws::EC2::Model::Ipv6PrefixSpecification::operator=
Ipv6PrefixSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Ipv6PrefixSpecification::WithIpv6Prefix
Ipv6PrefixSpecification & WithIpv6Prefix(const char *value)
Definition: Ipv6PrefixSpecification.h:80
Aws::EC2::Model::Ipv6PrefixSpecification::Ipv6PrefixHasBeenSet
bool Ipv6PrefixHasBeenSet() const
Definition: Ipv6PrefixSpecification.h:50
Aws::EC2::Model::Ipv6PrefixSpecification::SetIpv6Prefix
void SetIpv6Prefix(const Aws::String &value)
Definition: Ipv6PrefixSpecification.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Ipv6PrefixSpecification::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
EC2_EXPORTS.h