AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
WafConfig.h
1
6#pragma once
7#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
8#include <aws/network-security-manager/model/ExistingCustomerWebACLResolution.h>
9#include <aws/network-security-manager/model/WAFConflictResolutionOptions.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NetworkSecurityManager {
21namespace Model {
22
28class WafConfig {
29 public:
30 AWS_NETWORKSECURITYMANAGER_API WafConfig() = default;
31 AWS_NETWORKSECURITYMANAGER_API WafConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NETWORKSECURITYMANAGER_API WafConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline ExistingCustomerWebACLResolution GetExistingCustomerWebACLResolution() const { return m_existingCustomerWebACLResolution; }
42 inline bool ExistingCustomerWebACLResolutionHasBeenSet() const { return m_existingCustomerWebACLResolutionHasBeenSet; }
44 m_existingCustomerWebACLResolutionHasBeenSet = true;
45 m_existingCustomerWebACLResolution = value;
46 }
52
54
58 inline WAFConflictResolutionOptions GetConflictResolution() const { return m_conflictResolution; }
59 inline bool ConflictResolutionHasBeenSet() const { return m_conflictResolutionHasBeenSet; }
61 m_conflictResolutionHasBeenSet = true;
62 m_conflictResolution = value;
63 }
69 private:
71
73 bool m_existingCustomerWebACLResolutionHasBeenSet = false;
74 bool m_conflictResolutionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace NetworkSecurityManager
79} // namespace Aws
void SetExistingCustomerWebACLResolution(ExistingCustomerWebACLResolution value)
Definition WafConfig.h:43
AWS_NETWORKSECURITYMANAGER_API WafConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKSECURITYMANAGER_API WafConfig()=default
ExistingCustomerWebACLResolution GetExistingCustomerWebACLResolution() const
Definition WafConfig.h:41
WafConfig & WithConflictResolution(WAFConflictResolutionOptions value)
Definition WafConfig.h:64
WafConfig & WithExistingCustomerWebACLResolution(ExistingCustomerWebACLResolution value)
Definition WafConfig.h:47
AWS_NETWORKSECURITYMANAGER_API WafConfig(Aws::Utils::Json::JsonView jsonValue)
void SetConflictResolution(WAFConflictResolutionOptions value)
Definition WafConfig.h:60
AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
WAFConflictResolutionOptions GetConflictResolution() const
Definition WafConfig.h:58
Aws::Utils::Json::JsonValue JsonValue