AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidNetworkAclEntriesViolation.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fms/model/EntryViolation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetVpc() const{ return m_vpc; }
48 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
49 inline void SetVpc(const Aws::String& value) { m_vpcHasBeenSet = true; m_vpc = value; }
50 inline void SetVpc(Aws::String&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); }
51 inline void SetVpc(const char* value) { m_vpcHasBeenSet = true; m_vpc.assign(value); }
52 inline InvalidNetworkAclEntriesViolation& WithVpc(const Aws::String& value) { SetVpc(value); return *this;}
53 inline InvalidNetworkAclEntriesViolation& WithVpc(Aws::String&& value) { SetVpc(std::move(value)); return *this;}
54 inline InvalidNetworkAclEntriesViolation& WithVpc(const char* value) { SetVpc(value); return *this;}
56
58
61 inline const Aws::String& GetSubnet() const{ return m_subnet; }
62 inline bool SubnetHasBeenSet() const { return m_subnetHasBeenSet; }
63 inline void SetSubnet(const Aws::String& value) { m_subnetHasBeenSet = true; m_subnet = value; }
64 inline void SetSubnet(Aws::String&& value) { m_subnetHasBeenSet = true; m_subnet = std::move(value); }
65 inline void SetSubnet(const char* value) { m_subnetHasBeenSet = true; m_subnet.assign(value); }
66 inline InvalidNetworkAclEntriesViolation& WithSubnet(const Aws::String& value) { SetSubnet(value); return *this;}
67 inline InvalidNetworkAclEntriesViolation& WithSubnet(Aws::String&& value) { SetSubnet(std::move(value)); return *this;}
68 inline InvalidNetworkAclEntriesViolation& WithSubnet(const char* value) { SetSubnet(value); return *this;}
70
72
75 inline const Aws::String& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; }
76 inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
77 inline void SetSubnetAvailabilityZone(const Aws::String& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; }
78 inline void SetSubnetAvailabilityZone(Aws::String&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); }
79 inline void SetSubnetAvailabilityZone(const char* value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone.assign(value); }
84
86
89 inline const Aws::String& GetCurrentAssociatedNetworkAcl() const{ return m_currentAssociatedNetworkAcl; }
90 inline bool CurrentAssociatedNetworkAclHasBeenSet() const { return m_currentAssociatedNetworkAclHasBeenSet; }
91 inline void SetCurrentAssociatedNetworkAcl(const Aws::String& value) { m_currentAssociatedNetworkAclHasBeenSet = true; m_currentAssociatedNetworkAcl = value; }
92 inline void SetCurrentAssociatedNetworkAcl(Aws::String&& value) { m_currentAssociatedNetworkAclHasBeenSet = true; m_currentAssociatedNetworkAcl = std::move(value); }
93 inline void SetCurrentAssociatedNetworkAcl(const char* value) { m_currentAssociatedNetworkAclHasBeenSet = true; m_currentAssociatedNetworkAcl.assign(value); }
98
100
103 inline const Aws::Vector<EntryViolation>& GetEntryViolations() const{ return m_entryViolations; }
104 inline bool EntryViolationsHasBeenSet() const { return m_entryViolationsHasBeenSet; }
105 inline void SetEntryViolations(const Aws::Vector<EntryViolation>& value) { m_entryViolationsHasBeenSet = true; m_entryViolations = value; }
106 inline void SetEntryViolations(Aws::Vector<EntryViolation>&& value) { m_entryViolationsHasBeenSet = true; m_entryViolations = std::move(value); }
109 inline InvalidNetworkAclEntriesViolation& AddEntryViolations(const EntryViolation& value) { m_entryViolationsHasBeenSet = true; m_entryViolations.push_back(value); return *this; }
110 inline InvalidNetworkAclEntriesViolation& AddEntryViolations(EntryViolation&& value) { m_entryViolationsHasBeenSet = true; m_entryViolations.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_vpc;
115 bool m_vpcHasBeenSet = false;
116
117 Aws::String m_subnet;
118 bool m_subnetHasBeenSet = false;
119
120 Aws::String m_subnetAvailabilityZone;
121 bool m_subnetAvailabilityZoneHasBeenSet = false;
122
123 Aws::String m_currentAssociatedNetworkAcl;
124 bool m_currentAssociatedNetworkAclHasBeenSet = false;
125
126 Aws::Vector<EntryViolation> m_entryViolations;
127 bool m_entryViolationsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace FMS
132} // namespace Aws
void SetEntryViolations(const Aws::Vector< EntryViolation > &value)
InvalidNetworkAclEntriesViolation & WithSubnetAvailabilityZone(const Aws::String &value)
InvalidNetworkAclEntriesViolation & WithVpc(const Aws::String &value)
InvalidNetworkAclEntriesViolation & WithVpc(const char *value)
InvalidNetworkAclEntriesViolation & WithSubnet(Aws::String &&value)
InvalidNetworkAclEntriesViolation & WithSubnet(const Aws::String &value)
const Aws::Vector< EntryViolation > & GetEntryViolations() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidNetworkAclEntriesViolation & WithSubnetAvailabilityZone(Aws::String &&value)
InvalidNetworkAclEntriesViolation & WithSubnet(const char *value)
InvalidNetworkAclEntriesViolation & WithCurrentAssociatedNetworkAcl(Aws::String &&value)
AWS_FMS_API InvalidNetworkAclEntriesViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API InvalidNetworkAclEntriesViolation(Aws::Utils::Json::JsonView jsonValue)
InvalidNetworkAclEntriesViolation & WithCurrentAssociatedNetworkAcl(const Aws::String &value)
InvalidNetworkAclEntriesViolation & AddEntryViolations(const EntryViolation &value)
InvalidNetworkAclEntriesViolation & WithEntryViolations(Aws::Vector< EntryViolation > &&value)
InvalidNetworkAclEntriesViolation & WithEntryViolations(const Aws::Vector< EntryViolation > &value)
InvalidNetworkAclEntriesViolation & AddEntryViolations(EntryViolation &&value)
void SetEntryViolations(Aws::Vector< EntryViolation > &&value)
InvalidNetworkAclEntriesViolation & WithSubnetAvailabilityZone(const char *value)
InvalidNetworkAclEntriesViolation & WithVpc(Aws::String &&value)
InvalidNetworkAclEntriesViolation & WithCurrentAssociatedNetworkAcl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue