AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNetworkAclAssociationId(const Aws::String& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = value; }
50 inline void SetNetworkAclAssociationId(Aws::String&& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = std::move(value); }
51 inline void SetNetworkAclAssociationId(const char* value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId.assign(value); }
54 inline NetworkAclAssociation& WithNetworkAclAssociationId(const char* value) { SetNetworkAclAssociationId(value); return *this;}
56
58
61 inline const Aws::String& GetNetworkAclId() const{ return m_networkAclId; }
62 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
63 inline void SetNetworkAclId(const Aws::String& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = value; }
64 inline void SetNetworkAclId(Aws::String&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::move(value); }
65 inline void SetNetworkAclId(const char* value) { m_networkAclIdHasBeenSet = true; m_networkAclId.assign(value); }
66 inline NetworkAclAssociation& WithNetworkAclId(const Aws::String& value) { SetNetworkAclId(value); return *this;}
67 inline NetworkAclAssociation& WithNetworkAclId(Aws::String&& value) { SetNetworkAclId(std::move(value)); return *this;}
68 inline NetworkAclAssociation& WithNetworkAclId(const char* value) { SetNetworkAclId(value); return *this;}
70
72
75 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
76 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
77 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
78 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
79 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
80 inline NetworkAclAssociation& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
81 inline NetworkAclAssociation& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
82 inline NetworkAclAssociation& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
84 private:
85
86 Aws::String m_networkAclAssociationId;
87 bool m_networkAclAssociationIdHasBeenSet = false;
88
89 Aws::String m_networkAclId;
90 bool m_networkAclIdHasBeenSet = false;
91
92 Aws::String m_subnetId;
93 bool m_subnetIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace EC2
98} // namespace Aws
NetworkAclAssociation & WithSubnetId(const char *value)
const Aws::String & GetNetworkAclId() const
NetworkAclAssociation & WithNetworkAclId(const Aws::String &value)
AWS_EC2_API NetworkAclAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkAclAssociation & WithNetworkAclId(const char *value)
NetworkAclAssociation & WithNetworkAclId(Aws::String &&value)
NetworkAclAssociation & WithSubnetId(const Aws::String &value)
AWS_EC2_API NetworkAclAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetNetworkAclAssociationId() const
NetworkAclAssociation & WithNetworkAclAssociationId(const char *value)
void SetNetworkAclAssociationId(const Aws::String &value)
NetworkAclAssociation & WithSubnetId(Aws::String &&value)
void SetSubnetId(const Aws::String &value)
void SetNetworkAclId(const Aws::String &value)
NetworkAclAssociation & WithNetworkAclAssociationId(Aws::String &&value)
NetworkAclAssociation & WithNetworkAclAssociationId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetNetworkAclAssociationId(Aws::String &&value)
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