AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkFirewallPolicyModifiedViolation.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/NetworkFirewallPolicyDescription.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FMS
23{
24namespace Model
25{
26
35 {
36 public:
41
42
44
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 NetworkFirewallPolicyModifiedViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;}
56
58
61 inline const NetworkFirewallPolicyDescription& GetCurrentPolicyDescription() const{ return m_currentPolicyDescription; }
62 inline bool CurrentPolicyDescriptionHasBeenSet() const { return m_currentPolicyDescriptionHasBeenSet; }
63 inline void SetCurrentPolicyDescription(const NetworkFirewallPolicyDescription& value) { m_currentPolicyDescriptionHasBeenSet = true; m_currentPolicyDescription = value; }
64 inline void SetCurrentPolicyDescription(NetworkFirewallPolicyDescription&& value) { m_currentPolicyDescriptionHasBeenSet = true; m_currentPolicyDescription = std::move(value); }
68
70
74 inline const NetworkFirewallPolicyDescription& GetExpectedPolicyDescription() const{ return m_expectedPolicyDescription; }
75 inline bool ExpectedPolicyDescriptionHasBeenSet() const { return m_expectedPolicyDescriptionHasBeenSet; }
76 inline void SetExpectedPolicyDescription(const NetworkFirewallPolicyDescription& value) { m_expectedPolicyDescriptionHasBeenSet = true; m_expectedPolicyDescription = value; }
77 inline void SetExpectedPolicyDescription(NetworkFirewallPolicyDescription&& value) { m_expectedPolicyDescriptionHasBeenSet = true; m_expectedPolicyDescription = std::move(value); }
81 private:
82
83 Aws::String m_violationTarget;
84 bool m_violationTargetHasBeenSet = false;
85
86 NetworkFirewallPolicyDescription m_currentPolicyDescription;
87 bool m_currentPolicyDescriptionHasBeenSet = false;
88
89 NetworkFirewallPolicyDescription m_expectedPolicyDescription;
90 bool m_expectedPolicyDescriptionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace FMS
95} // namespace Aws
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const NetworkFirewallPolicyDescription & GetExpectedPolicyDescription() const
void SetExpectedPolicyDescription(const NetworkFirewallPolicyDescription &value)
void SetExpectedPolicyDescription(NetworkFirewallPolicyDescription &&value)
NetworkFirewallPolicyModifiedViolation & WithCurrentPolicyDescription(NetworkFirewallPolicyDescription &&value)
void SetCurrentPolicyDescription(const NetworkFirewallPolicyDescription &value)
AWS_FMS_API NetworkFirewallPolicyModifiedViolation(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentPolicyDescription(NetworkFirewallPolicyDescription &&value)
NetworkFirewallPolicyModifiedViolation & WithViolationTarget(Aws::String &&value)
NetworkFirewallPolicyModifiedViolation & WithExpectedPolicyDescription(NetworkFirewallPolicyDescription &&value)
const NetworkFirewallPolicyDescription & GetCurrentPolicyDescription() const
AWS_FMS_API NetworkFirewallPolicyModifiedViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkFirewallPolicyModifiedViolation & WithViolationTarget(const char *value)
NetworkFirewallPolicyModifiedViolation & WithViolationTarget(const Aws::String &value)
NetworkFirewallPolicyModifiedViolation & WithCurrentPolicyDescription(const NetworkFirewallPolicyDescription &value)
NetworkFirewallPolicyModifiedViolation & WithExpectedPolicyDescription(const NetworkFirewallPolicyDescription &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue