AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkFirewallMissingSubnetViolation.h
1
6#pragma once
7#include <aws/fms/FMS_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 FMS
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; }
46 inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; }
47 inline void SetViolationTarget(const Aws::String& value) { m_violationTargetHasBeenSet = true; m_violationTarget = value; }
48 inline void SetViolationTarget(Aws::String&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::move(value); }
49 inline void SetViolationTarget(const char* value) { m_violationTargetHasBeenSet = true; m_violationTarget.assign(value); }
52 inline NetworkFirewallMissingSubnetViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;}
54
56
59 inline const Aws::String& GetVPC() const{ return m_vPC; }
60 inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; }
61 inline void SetVPC(const Aws::String& value) { m_vPCHasBeenSet = true; m_vPC = value; }
62 inline void SetVPC(Aws::String&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); }
63 inline void SetVPC(const char* value) { m_vPCHasBeenSet = true; m_vPC.assign(value); }
64 inline NetworkFirewallMissingSubnetViolation& WithVPC(const Aws::String& value) { SetVPC(value); return *this;}
65 inline NetworkFirewallMissingSubnetViolation& WithVPC(Aws::String&& value) { SetVPC(std::move(value)); return *this;}
66 inline NetworkFirewallMissingSubnetViolation& WithVPC(const char* value) { SetVPC(value); return *this;}
68
70
73 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
74 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
75 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
76 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
77 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
80 inline NetworkFirewallMissingSubnetViolation& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
82
84
87 inline const Aws::String& GetTargetViolationReason() const{ return m_targetViolationReason; }
88 inline bool TargetViolationReasonHasBeenSet() const { return m_targetViolationReasonHasBeenSet; }
89 inline void SetTargetViolationReason(const Aws::String& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = value; }
90 inline void SetTargetViolationReason(Aws::String&& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = std::move(value); }
91 inline void SetTargetViolationReason(const char* value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason.assign(value); }
96 private:
97
98 Aws::String m_violationTarget;
99 bool m_violationTargetHasBeenSet = false;
100
101 Aws::String m_vPC;
102 bool m_vPCHasBeenSet = false;
103
104 Aws::String m_availabilityZone;
105 bool m_availabilityZoneHasBeenSet = false;
106
107 Aws::String m_targetViolationReason;
108 bool m_targetViolationReasonHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace FMS
113} // namespace Aws
NetworkFirewallMissingSubnetViolation & WithTargetViolationReason(const char *value)
NetworkFirewallMissingSubnetViolation & WithViolationTarget(const Aws::String &value)
NetworkFirewallMissingSubnetViolation & WithVPC(Aws::String &&value)
NetworkFirewallMissingSubnetViolation & WithTargetViolationReason(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API NetworkFirewallMissingSubnetViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkFirewallMissingSubnetViolation & WithAvailabilityZone(Aws::String &&value)
NetworkFirewallMissingSubnetViolation & WithVPC(const Aws::String &value)
NetworkFirewallMissingSubnetViolation & WithVPC(const char *value)
NetworkFirewallMissingSubnetViolation & WithAvailabilityZone(const Aws::String &value)
AWS_FMS_API NetworkFirewallMissingSubnetViolation(Aws::Utils::Json::JsonView jsonValue)
NetworkFirewallMissingSubnetViolation & WithViolationTarget(const char *value)
NetworkFirewallMissingSubnetViolation & WithTargetViolationReason(Aws::String &&value)
NetworkFirewallMissingSubnetViolation & WithAvailabilityZone(const char *value)
NetworkFirewallMissingSubnetViolation & WithViolationTarget(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue