AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsEc2NetworkAclAssociation.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsEc2NetworkAclAssociation() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetNetworkAclAssociationId() const { return m_networkAclAssociationId; }
46 inline bool NetworkAclAssociationIdHasBeenSet() const { return m_networkAclAssociationIdHasBeenSet; }
47 template<typename NetworkAclAssociationIdT = Aws::String>
48 void SetNetworkAclAssociationId(NetworkAclAssociationIdT&& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = std::forward<NetworkAclAssociationIdT>(value); }
49 template<typename NetworkAclAssociationIdT = Aws::String>
50 AwsEc2NetworkAclAssociation& WithNetworkAclAssociationId(NetworkAclAssociationIdT&& value) { SetNetworkAclAssociationId(std::forward<NetworkAclAssociationIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetNetworkAclId() const { return m_networkAclId; }
58 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
59 template<typename NetworkAclIdT = Aws::String>
60 void SetNetworkAclId(NetworkAclIdT&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::forward<NetworkAclIdT>(value); }
61 template<typename NetworkAclIdT = Aws::String>
62 AwsEc2NetworkAclAssociation& WithNetworkAclId(NetworkAclIdT&& value) { SetNetworkAclId(std::forward<NetworkAclIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
70 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
71 template<typename SubnetIdT = Aws::String>
72 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
73 template<typename SubnetIdT = Aws::String>
74 AwsEc2NetworkAclAssociation& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_networkAclAssociationId;
79 bool m_networkAclAssociationIdHasBeenSet = false;
80
81 Aws::String m_networkAclId;
82 bool m_networkAclIdHasBeenSet = false;
83
84 Aws::String m_subnetId;
85 bool m_subnetIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SecurityHub
90} // namespace Aws
AwsEc2NetworkAclAssociation & WithSubnetId(SubnetIdT &&value)
AwsEc2NetworkAclAssociation & WithNetworkAclAssociationId(NetworkAclAssociationIdT &&value)
AWS_SECURITYHUB_API AwsEc2NetworkAclAssociation()=default
AWS_SECURITYHUB_API AwsEc2NetworkAclAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsEc2NetworkAclAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkAclAssociationId(NetworkAclAssociationIdT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2NetworkAclAssociation & WithNetworkAclId(NetworkAclIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue