AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThirdPartyFirewallMissingFirewallViolation.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 ThirdPartyFirewallMissingFirewallViolation& 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 ThirdPartyFirewallMissingFirewallViolation& WithVPC(const Aws::String& value) { SetVPC(value); return *this;}
65 inline ThirdPartyFirewallMissingFirewallViolation& WithVPC(Aws::String&& value) { SetVPC(std::move(value)); return *this;}
66 inline ThirdPartyFirewallMissingFirewallViolation& WithVPC(const char* value) { SetVPC(value); return *this;}
68
70
74 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
75 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
76 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
77 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
78 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
83
85
89 inline const Aws::String& GetTargetViolationReason() const{ return m_targetViolationReason; }
90 inline bool TargetViolationReasonHasBeenSet() const { return m_targetViolationReasonHasBeenSet; }
91 inline void SetTargetViolationReason(const Aws::String& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = value; }
92 inline void SetTargetViolationReason(Aws::String&& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = std::move(value); }
93 inline void SetTargetViolationReason(const char* value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason.assign(value); }
98 private:
99
100 Aws::String m_violationTarget;
101 bool m_violationTargetHasBeenSet = false;
102
103 Aws::String m_vPC;
104 bool m_vPCHasBeenSet = false;
105
106 Aws::String m_availabilityZone;
107 bool m_availabilityZoneHasBeenSet = false;
108
109 Aws::String m_targetViolationReason;
110 bool m_targetViolationReasonHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace FMS
115} // namespace Aws
ThirdPartyFirewallMissingFirewallViolation & WithAvailabilityZone(const Aws::String &value)
AWS_FMS_API ThirdPartyFirewallMissingFirewallViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
ThirdPartyFirewallMissingFirewallViolation & WithTargetViolationReason(Aws::String &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ThirdPartyFirewallMissingFirewallViolation & WithVPC(const char *value)
ThirdPartyFirewallMissingFirewallViolation & WithTargetViolationReason(const char *value)
AWS_FMS_API ThirdPartyFirewallMissingFirewallViolation(Aws::Utils::Json::JsonView jsonValue)
ThirdPartyFirewallMissingFirewallViolation & WithTargetViolationReason(const Aws::String &value)
ThirdPartyFirewallMissingFirewallViolation & WithViolationTarget(const char *value)
ThirdPartyFirewallMissingFirewallViolation & WithViolationTarget(const Aws::String &value)
ThirdPartyFirewallMissingFirewallViolation & WithAvailabilityZone(const char *value)
ThirdPartyFirewallMissingFirewallViolation & WithVPC(Aws::String &&value)
ThirdPartyFirewallMissingFirewallViolation & WithAvailabilityZone(Aws::String &&value)
ThirdPartyFirewallMissingFirewallViolation & WithViolationTarget(Aws::String &&value)
ThirdPartyFirewallMissingFirewallViolation & WithVPC(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue