AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateSubnetCidrBlockResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/SubnetIpv6CidrBlockAssociation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const SubnetIpv6CidrBlockAssociation& GetIpv6CidrBlockAssociation() const{ return m_ipv6CidrBlockAssociation; }
42 inline void SetIpv6CidrBlockAssociation(const SubnetIpv6CidrBlockAssociation& value) { m_ipv6CidrBlockAssociation = value; }
43 inline void SetIpv6CidrBlockAssociation(SubnetIpv6CidrBlockAssociation&& value) { m_ipv6CidrBlockAssociation = std::move(value); }
47
49
52 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
53 inline void SetSubnetId(const Aws::String& value) { m_subnetId = value; }
54 inline void SetSubnetId(Aws::String&& value) { m_subnetId = std::move(value); }
55 inline void SetSubnetId(const char* value) { m_subnetId.assign(value); }
56 inline AssociateSubnetCidrBlockResponse& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
57 inline AssociateSubnetCidrBlockResponse& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
58 inline AssociateSubnetCidrBlockResponse& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
65 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
69 private:
70
71 SubnetIpv6CidrBlockAssociation m_ipv6CidrBlockAssociation;
72
73 Aws::String m_subnetId;
74
75 ResponseMetadata m_responseMetadata;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
void SetIpv6CidrBlockAssociation(SubnetIpv6CidrBlockAssociation &&value)
const SubnetIpv6CidrBlockAssociation & GetIpv6CidrBlockAssociation() const
AssociateSubnetCidrBlockResponse & WithSubnetId(Aws::String &&value)
AssociateSubnetCidrBlockResponse & WithSubnetId(const Aws::String &value)
AssociateSubnetCidrBlockResponse & WithIpv6CidrBlockAssociation(SubnetIpv6CidrBlockAssociation &&value)
AWS_EC2_API AssociateSubnetCidrBlockResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssociateSubnetCidrBlockResponse & WithResponseMetadata(ResponseMetadata &&value)
AssociateSubnetCidrBlockResponse & WithSubnetId(const char *value)
AssociateSubnetCidrBlockResponse & WithIpv6CidrBlockAssociation(const SubnetIpv6CidrBlockAssociation &value)
AWS_EC2_API AssociateSubnetCidrBlockResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssociateSubnetCidrBlockResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetIpv6CidrBlockAssociation(const SubnetIpv6CidrBlockAssociation &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument