AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThirdPartyFirewallMissingSubnetViolation.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
34 {
35 public:
40
41
43
47 inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; }
48 inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; }
49 inline void SetViolationTarget(const Aws::String& value) { m_violationTargetHasBeenSet = true; m_violationTarget = value; }
50 inline void SetViolationTarget(Aws::String&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::move(value); }
51 inline void SetViolationTarget(const char* value) { m_violationTargetHasBeenSet = true; m_violationTarget.assign(value); }
54 inline ThirdPartyFirewallMissingSubnetViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;}
56
58
62 inline const Aws::String& GetVPC() const{ return m_vPC; }
63 inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; }
64 inline void SetVPC(const Aws::String& value) { m_vPCHasBeenSet = true; m_vPC = value; }
65 inline void SetVPC(Aws::String&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); }
66 inline void SetVPC(const char* value) { m_vPCHasBeenSet = true; m_vPC.assign(value); }
67 inline ThirdPartyFirewallMissingSubnetViolation& WithVPC(const Aws::String& value) { SetVPC(value); return *this;}
68 inline ThirdPartyFirewallMissingSubnetViolation& WithVPC(Aws::String&& value) { SetVPC(std::move(value)); return *this;}
69 inline ThirdPartyFirewallMissingSubnetViolation& WithVPC(const char* value) { SetVPC(value); return *this;}
71
73
76 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
77 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
78 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
79 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
80 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
83 inline ThirdPartyFirewallMissingSubnetViolation& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
85
87
91 inline const Aws::String& GetTargetViolationReason() const{ return m_targetViolationReason; }
92 inline bool TargetViolationReasonHasBeenSet() const { return m_targetViolationReasonHasBeenSet; }
93 inline void SetTargetViolationReason(const Aws::String& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = value; }
94 inline void SetTargetViolationReason(Aws::String&& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = std::move(value); }
95 inline void SetTargetViolationReason(const char* value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason.assign(value); }
100 private:
101
102 Aws::String m_violationTarget;
103 bool m_violationTargetHasBeenSet = false;
104
105 Aws::String m_vPC;
106 bool m_vPCHasBeenSet = false;
107
108 Aws::String m_availabilityZone;
109 bool m_availabilityZoneHasBeenSet = false;
110
111 Aws::String m_targetViolationReason;
112 bool m_targetViolationReasonHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace FMS
117} // namespace Aws
ThirdPartyFirewallMissingSubnetViolation & WithVPC(const char *value)
ThirdPartyFirewallMissingSubnetViolation & WithAvailabilityZone(const Aws::String &value)
ThirdPartyFirewallMissingSubnetViolation & WithVPC(Aws::String &&value)
ThirdPartyFirewallMissingSubnetViolation & WithTargetViolationReason(const Aws::String &value)
AWS_FMS_API ThirdPartyFirewallMissingSubnetViolation(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ThirdPartyFirewallMissingSubnetViolation & WithTargetViolationReason(Aws::String &&value)
ThirdPartyFirewallMissingSubnetViolation & WithViolationTarget(const char *value)
ThirdPartyFirewallMissingSubnetViolation & WithAvailabilityZone(Aws::String &&value)
AWS_FMS_API ThirdPartyFirewallMissingSubnetViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
ThirdPartyFirewallMissingSubnetViolation & WithViolationTarget(Aws::String &&value)
ThirdPartyFirewallMissingSubnetViolation & WithVPC(const Aws::String &value)
ThirdPartyFirewallMissingSubnetViolation & WithTargetViolationReason(const char *value)
ThirdPartyFirewallMissingSubnetViolation & WithAvailabilityZone(const char *value)
ThirdPartyFirewallMissingSubnetViolation & WithViolationTarget(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue