AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Ipv6CidrAssociation.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 Ipv6CidrAssociation() = default;
35 AWS_EC2_API Ipv6CidrAssociation(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
46 inline const Aws::String& GetIpv6Cidr() const { return m_ipv6Cidr; }
47 inline bool Ipv6CidrHasBeenSet() const { return m_ipv6CidrHasBeenSet; }
48 template<typename Ipv6CidrT = Aws::String>
49 void SetIpv6Cidr(Ipv6CidrT&& value) { m_ipv6CidrHasBeenSet = true; m_ipv6Cidr = std::forward<Ipv6CidrT>(value); }
50 template<typename Ipv6CidrT = Aws::String>
51 Ipv6CidrAssociation& WithIpv6Cidr(Ipv6CidrT&& value) { SetIpv6Cidr(std::forward<Ipv6CidrT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAssociatedResource() const { return m_associatedResource; }
59 inline bool AssociatedResourceHasBeenSet() const { return m_associatedResourceHasBeenSet; }
60 template<typename AssociatedResourceT = Aws::String>
61 void SetAssociatedResource(AssociatedResourceT&& value) { m_associatedResourceHasBeenSet = true; m_associatedResource = std::forward<AssociatedResourceT>(value); }
62 template<typename AssociatedResourceT = Aws::String>
63 Ipv6CidrAssociation& WithAssociatedResource(AssociatedResourceT&& value) { SetAssociatedResource(std::forward<AssociatedResourceT>(value)); return *this;}
65 private:
66
67 Aws::String m_ipv6Cidr;
68 bool m_ipv6CidrHasBeenSet = false;
69
70 Aws::String m_associatedResource;
71 bool m_associatedResourceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace EC2
76} // namespace Aws
AWS_EC2_API Ipv6CidrAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipv6CidrAssociation & WithIpv6Cidr(Ipv6CidrT &&value)
AWS_EC2_API Ipv6CidrAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAssociatedResource(AssociatedResourceT &&value)
const Aws::String & GetIpv6Cidr() const
Ipv6CidrAssociation & WithAssociatedResource(AssociatedResourceT &&value)
const Aws::String & GetAssociatedResource() const
AWS_EC2_API Ipv6CidrAssociation()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream