AWS SDK for C++  1.9.103
AWS SDK for C++
Ipv6PrefixSpecificationRequest.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetIpv6Prefix() const{ return m_ipv6Prefix; }
47 
51  inline bool Ipv6PrefixHasBeenSet() const { return m_ipv6PrefixHasBeenSet; }
52 
56  inline void SetIpv6Prefix(const Aws::String& value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix = value; }
57 
61  inline void SetIpv6Prefix(Aws::String&& value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix = std::move(value); }
62 
66  inline void SetIpv6Prefix(const char* value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix.assign(value); }
67 
71  inline Ipv6PrefixSpecificationRequest& WithIpv6Prefix(const Aws::String& value) { SetIpv6Prefix(value); return *this;}
72 
76  inline Ipv6PrefixSpecificationRequest& WithIpv6Prefix(Aws::String&& value) { SetIpv6Prefix(std::move(value)); return *this;}
77 
81  inline Ipv6PrefixSpecificationRequest& WithIpv6Prefix(const char* value) { SetIpv6Prefix(value); return *this;}
82 
83  private:
84 
85  Aws::String m_ipv6Prefix;
86  bool m_ipv6PrefixHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::WithIpv6Prefix
Ipv6PrefixSpecificationRequest & WithIpv6Prefix(const Aws::String &value)
Definition: Ipv6PrefixSpecificationRequest.h:71
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::SetIpv6Prefix
void SetIpv6Prefix(const Aws::String &value)
Definition: Ipv6PrefixSpecificationRequest.h:56
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::WithIpv6Prefix
Ipv6PrefixSpecificationRequest & WithIpv6Prefix(Aws::String &&value)
Definition: Ipv6PrefixSpecificationRequest.h:76
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::GetIpv6Prefix
const Aws::String & GetIpv6Prefix() const
Definition: Ipv6PrefixSpecificationRequest.h:46
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::Ipv6PrefixSpecificationRequest
Ipv6PrefixSpecificationRequest()
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::SetIpv6Prefix
void SetIpv6Prefix(Aws::String &&value)
Definition: Ipv6PrefixSpecificationRequest.h:61
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::WithIpv6Prefix
Ipv6PrefixSpecificationRequest & WithIpv6Prefix(const char *value)
Definition: Ipv6PrefixSpecificationRequest.h:81
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::Ipv6PrefixSpecificationRequest
Ipv6PrefixSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::SetIpv6Prefix
void SetIpv6Prefix(const char *value)
Definition: Ipv6PrefixSpecificationRequest.h:66
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::Ipv6PrefixHasBeenSet
bool Ipv6PrefixHasBeenSet() const
Definition: Ipv6PrefixSpecificationRequest.h:51
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Ipv6PrefixSpecificationRequest
Definition: Ipv6PrefixSpecificationRequest.h:33
AWSString.h
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
EC2_EXPORTS.h
Aws::EC2::Model::Ipv6PrefixSpecificationRequest::operator=
Ipv6PrefixSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)