AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
WafAcfpConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/WafPayloadTypeEnum.h>
10#include <aws/lightsail/model/WafResponseInspection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lightsail {
22namespace Model {
23
32 public:
33 AWS_LIGHTSAIL_API WafAcfpConfig() = default;
34 AWS_LIGHTSAIL_API WafAcfpConfig(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LIGHTSAIL_API WafAcfpConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline WafPayloadTypeEnum GetPayloadType() const { return m_payloadType; }
46 inline bool PayloadTypeHasBeenSet() const { return m_payloadTypeHasBeenSet; }
48 m_payloadTypeHasBeenSet = true;
49 m_payloadType = value;
50 }
52 SetPayloadType(value);
53 return *this;
54 }
56
58
65 inline const Aws::String& GetCreationPath() const { return m_creationPath; }
66 inline bool CreationPathHasBeenSet() const { return m_creationPathHasBeenSet; }
67 template <typename CreationPathT = Aws::String>
68 void SetCreationPath(CreationPathT&& value) {
69 m_creationPathHasBeenSet = true;
70 m_creationPath = std::forward<CreationPathT>(value);
71 }
72 template <typename CreationPathT = Aws::String>
73 WafAcfpConfig& WithCreationPath(CreationPathT&& value) {
74 SetCreationPath(std::forward<CreationPathT>(value));
75 return *this;
76 }
78
80
86 inline const Aws::String& GetRegistrationPagePath() const { return m_registrationPagePath; }
87 inline bool RegistrationPagePathHasBeenSet() const { return m_registrationPagePathHasBeenSet; }
88 template <typename RegistrationPagePathT = Aws::String>
89 void SetRegistrationPagePath(RegistrationPagePathT&& value) {
90 m_registrationPagePathHasBeenSet = true;
91 m_registrationPagePath = std::forward<RegistrationPagePathT>(value);
92 }
93 template <typename RegistrationPagePathT = Aws::String>
94 WafAcfpConfig& WithRegistrationPagePath(RegistrationPagePathT&& value) {
95 SetRegistrationPagePath(std::forward<RegistrationPagePathT>(value));
96 return *this;
97 }
99
101
105 inline const WafResponseInspection& GetResponseInspection() const { return m_responseInspection; }
106 inline bool ResponseInspectionHasBeenSet() const { return m_responseInspectionHasBeenSet; }
107 template <typename ResponseInspectionT = WafResponseInspection>
108 void SetResponseInspection(ResponseInspectionT&& value) {
109 m_responseInspectionHasBeenSet = true;
110 m_responseInspection = std::forward<ResponseInspectionT>(value);
111 }
112 template <typename ResponseInspectionT = WafResponseInspection>
113 WafAcfpConfig& WithResponseInspection(ResponseInspectionT&& value) {
114 SetResponseInspection(std::forward<ResponseInspectionT>(value));
115 return *this;
116 }
118 private:
120
121 Aws::String m_creationPath;
122
123 Aws::String m_registrationPagePath;
124
125 WafResponseInspection m_responseInspection;
126 bool m_payloadTypeHasBeenSet = false;
127 bool m_creationPathHasBeenSet = false;
128 bool m_registrationPagePathHasBeenSet = false;
129 bool m_responseInspectionHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace Lightsail
134} // namespace Aws
const Aws::String & GetCreationPath() const
void SetRegistrationPagePath(RegistrationPagePathT &&value)
const Aws::String & GetRegistrationPagePath() const
void SetCreationPath(CreationPathT &&value)
AWS_LIGHTSAIL_API WafAcfpConfig()=default
WafAcfpConfig & WithPayloadType(WafPayloadTypeEnum value)
void SetResponseInspection(ResponseInspectionT &&value)
WafAcfpConfig & WithCreationPath(CreationPathT &&value)
WafAcfpConfig & WithRegistrationPagePath(RegistrationPagePathT &&value)
void SetPayloadType(WafPayloadTypeEnum value)
AWS_LIGHTSAIL_API WafAcfpConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API WafAcfpConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const WafResponseInspection & GetResponseInspection() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
WafAcfpConfig & WithResponseInspection(ResponseInspectionT &&value)
WafPayloadTypeEnum GetPayloadType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue