AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NetworkAclAssociation.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
33 {
34 public:
35 AWS_EC2_API NetworkAclAssociation() = default;
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetNetworkAclAssociationId() const { return m_networkAclAssociationId; }
48 inline bool NetworkAclAssociationIdHasBeenSet() const { return m_networkAclAssociationIdHasBeenSet; }
49 template<typename NetworkAclAssociationIdT = Aws::String>
50 void SetNetworkAclAssociationId(NetworkAclAssociationIdT&& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = std::forward<NetworkAclAssociationIdT>(value); }
51 template<typename NetworkAclAssociationIdT = Aws::String>
52 NetworkAclAssociation& WithNetworkAclAssociationId(NetworkAclAssociationIdT&& value) { SetNetworkAclAssociationId(std::forward<NetworkAclAssociationIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetNetworkAclId() const { return m_networkAclId; }
60 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
61 template<typename NetworkAclIdT = Aws::String>
62 void SetNetworkAclId(NetworkAclIdT&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::forward<NetworkAclIdT>(value); }
63 template<typename NetworkAclIdT = Aws::String>
64 NetworkAclAssociation& WithNetworkAclId(NetworkAclIdT&& value) { SetNetworkAclId(std::forward<NetworkAclIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
72 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
73 template<typename SubnetIdT = Aws::String>
74 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
75 template<typename SubnetIdT = Aws::String>
76 NetworkAclAssociation& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_networkAclAssociationId;
81 bool m_networkAclAssociationIdHasBeenSet = false;
82
83 Aws::String m_networkAclId;
84 bool m_networkAclIdHasBeenSet = false;
85
86 Aws::String m_subnetId;
87 bool m_subnetIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace EC2
92} // namespace Aws
const Aws::String & GetNetworkAclId() const
NetworkAclAssociation & WithSubnetId(SubnetIdT &&value)
AWS_EC2_API NetworkAclAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkAclAssociation & WithNetworkAclAssociationId(NetworkAclAssociationIdT &&value)
void SetNetworkAclAssociationId(NetworkAclAssociationIdT &&value)
AWS_EC2_API NetworkAclAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetNetworkAclAssociationId() const
NetworkAclAssociation & WithNetworkAclId(NetworkAclIdT &&value)
void SetNetworkAclId(NetworkAclIdT &&value)
AWS_EC2_API NetworkAclAssociation()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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