AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNetworkAclAssociationId(const Aws::String& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = value; }
48 inline void SetNetworkAclAssociationId(Aws::String&& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = std::move(value); }
49 inline void SetNetworkAclAssociationId(const char* value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId.assign(value); }
54
56
59 inline const Aws::String& GetNetworkAclId() const{ return m_networkAclId; }
60 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
61 inline void SetNetworkAclId(const Aws::String& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = value; }
62 inline void SetNetworkAclId(Aws::String&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::move(value); }
63 inline void SetNetworkAclId(const char* value) { m_networkAclIdHasBeenSet = true; m_networkAclId.assign(value); }
64 inline AwsEc2NetworkAclAssociation& WithNetworkAclId(const Aws::String& value) { SetNetworkAclId(value); return *this;}
65 inline AwsEc2NetworkAclAssociation& WithNetworkAclId(Aws::String&& value) { SetNetworkAclId(std::move(value)); return *this;}
66 inline AwsEc2NetworkAclAssociation& WithNetworkAclId(const char* value) { SetNetworkAclId(value); return *this;}
68
70
73 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
74 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
75 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
76 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
77 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
78 inline AwsEc2NetworkAclAssociation& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
79 inline AwsEc2NetworkAclAssociation& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
80 inline AwsEc2NetworkAclAssociation& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
82 private:
83
84 Aws::String m_networkAclAssociationId;
85 bool m_networkAclAssociationIdHasBeenSet = false;
86
87 Aws::String m_networkAclId;
88 bool m_networkAclIdHasBeenSet = false;
89
90 Aws::String m_subnetId;
91 bool m_subnetIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SecurityHub
96} // namespace Aws
AwsEc2NetworkAclAssociation & WithNetworkAclId(const Aws::String &value)
AwsEc2NetworkAclAssociation & WithSubnetId(Aws::String &&value)
AwsEc2NetworkAclAssociation & WithNetworkAclId(const char *value)
AWS_SECURITYHUB_API AwsEc2NetworkAclAssociation(Aws::Utils::Json::JsonView jsonValue)
AwsEc2NetworkAclAssociation & WithSubnetId(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2NetworkAclAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2NetworkAclAssociation & WithNetworkAclAssociationId(Aws::String &&value)
AwsEc2NetworkAclAssociation & WithNetworkAclAssociationId(const char *value)
AwsEc2NetworkAclAssociation & WithNetworkAclAssociationId(const Aws::String &value)
AwsEc2NetworkAclAssociation & WithNetworkAclId(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2NetworkAclAssociation & WithSubnetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue