AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestInspectionACFP.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/PayloadType.h>
9#include <aws/wafv2/model/UsernameField.h>
10#include <aws/wafv2/model/PasswordField.h>
11#include <aws/wafv2/model/EmailField.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/wafv2/model/PhoneNumberField.h>
14#include <aws/wafv2/model/AddressField.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace WAFV2
28{
29namespace Model
30{
31
45 {
46 public:
47 AWS_WAFV2_API RequestInspectionACFP();
50 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
58 inline const PayloadType& GetPayloadType() const{ return m_payloadType; }
59 inline bool PayloadTypeHasBeenSet() const { return m_payloadTypeHasBeenSet; }
60 inline void SetPayloadType(const PayloadType& value) { m_payloadTypeHasBeenSet = true; m_payloadType = value; }
61 inline void SetPayloadType(PayloadType&& value) { m_payloadTypeHasBeenSet = true; m_payloadType = std::move(value); }
62 inline RequestInspectionACFP& WithPayloadType(const PayloadType& value) { SetPayloadType(value); return *this;}
63 inline RequestInspectionACFP& WithPayloadType(PayloadType&& value) { SetPayloadType(std::move(value)); return *this;}
65
67
81 inline const UsernameField& GetUsernameField() const{ return m_usernameField; }
82 inline bool UsernameFieldHasBeenSet() const { return m_usernameFieldHasBeenSet; }
83 inline void SetUsernameField(const UsernameField& value) { m_usernameFieldHasBeenSet = true; m_usernameField = value; }
84 inline void SetUsernameField(UsernameField&& value) { m_usernameFieldHasBeenSet = true; m_usernameField = std::move(value); }
85 inline RequestInspectionACFP& WithUsernameField(const UsernameField& value) { SetUsernameField(value); return *this;}
86 inline RequestInspectionACFP& WithUsernameField(UsernameField&& value) { SetUsernameField(std::move(value)); return *this;}
88
90
104 inline const PasswordField& GetPasswordField() const{ return m_passwordField; }
105 inline bool PasswordFieldHasBeenSet() const { return m_passwordFieldHasBeenSet; }
106 inline void SetPasswordField(const PasswordField& value) { m_passwordFieldHasBeenSet = true; m_passwordField = value; }
107 inline void SetPasswordField(PasswordField&& value) { m_passwordFieldHasBeenSet = true; m_passwordField = std::move(value); }
108 inline RequestInspectionACFP& WithPasswordField(const PasswordField& value) { SetPasswordField(value); return *this;}
109 inline RequestInspectionACFP& WithPasswordField(PasswordField&& value) { SetPasswordField(std::move(value)); return *this;}
111
113
127 inline const EmailField& GetEmailField() const{ return m_emailField; }
128 inline bool EmailFieldHasBeenSet() const { return m_emailFieldHasBeenSet; }
129 inline void SetEmailField(const EmailField& value) { m_emailFieldHasBeenSet = true; m_emailField = value; }
130 inline void SetEmailField(EmailField&& value) { m_emailFieldHasBeenSet = true; m_emailField = std::move(value); }
131 inline RequestInspectionACFP& WithEmailField(const EmailField& value) { SetEmailField(value); return *this;}
132 inline RequestInspectionACFP& WithEmailField(EmailField&& value) { SetEmailField(std::move(value)); return *this;}
134
136
157 inline const Aws::Vector<PhoneNumberField>& GetPhoneNumberFields() const{ return m_phoneNumberFields; }
158 inline bool PhoneNumberFieldsHasBeenSet() const { return m_phoneNumberFieldsHasBeenSet; }
159 inline void SetPhoneNumberFields(const Aws::Vector<PhoneNumberField>& value) { m_phoneNumberFieldsHasBeenSet = true; m_phoneNumberFields = value; }
160 inline void SetPhoneNumberFields(Aws::Vector<PhoneNumberField>&& value) { m_phoneNumberFieldsHasBeenSet = true; m_phoneNumberFields = std::move(value); }
163 inline RequestInspectionACFP& AddPhoneNumberFields(const PhoneNumberField& value) { m_phoneNumberFieldsHasBeenSet = true; m_phoneNumberFields.push_back(value); return *this; }
164 inline RequestInspectionACFP& AddPhoneNumberFields(PhoneNumberField&& value) { m_phoneNumberFieldsHasBeenSet = true; m_phoneNumberFields.push_back(std::move(value)); return *this; }
166
168
189 inline const Aws::Vector<AddressField>& GetAddressFields() const{ return m_addressFields; }
190 inline bool AddressFieldsHasBeenSet() const { return m_addressFieldsHasBeenSet; }
191 inline void SetAddressFields(const Aws::Vector<AddressField>& value) { m_addressFieldsHasBeenSet = true; m_addressFields = value; }
192 inline void SetAddressFields(Aws::Vector<AddressField>&& value) { m_addressFieldsHasBeenSet = true; m_addressFields = std::move(value); }
194 inline RequestInspectionACFP& WithAddressFields(Aws::Vector<AddressField>&& value) { SetAddressFields(std::move(value)); return *this;}
195 inline RequestInspectionACFP& AddAddressFields(const AddressField& value) { m_addressFieldsHasBeenSet = true; m_addressFields.push_back(value); return *this; }
196 inline RequestInspectionACFP& AddAddressFields(AddressField&& value) { m_addressFieldsHasBeenSet = true; m_addressFields.push_back(std::move(value)); return *this; }
198 private:
199
200 PayloadType m_payloadType;
201 bool m_payloadTypeHasBeenSet = false;
202
203 UsernameField m_usernameField;
204 bool m_usernameFieldHasBeenSet = false;
205
206 PasswordField m_passwordField;
207 bool m_passwordFieldHasBeenSet = false;
208
209 EmailField m_emailField;
210 bool m_emailFieldHasBeenSet = false;
211
212 Aws::Vector<PhoneNumberField> m_phoneNumberFields;
213 bool m_phoneNumberFieldsHasBeenSet = false;
214
215 Aws::Vector<AddressField> m_addressFields;
216 bool m_addressFieldsHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace WAFV2
221} // namespace Aws
void SetAddressFields(Aws::Vector< AddressField > &&value)
const Aws::Vector< AddressField > & GetAddressFields() const
AWS_WAFV2_API RequestInspectionACFP(Aws::Utils::Json::JsonView jsonValue)
RequestInspectionACFP & WithPhoneNumberFields(const Aws::Vector< PhoneNumberField > &value)
RequestInspectionACFP & WithPayloadType(PayloadType &&value)
RequestInspectionACFP & WithAddressFields(Aws::Vector< AddressField > &&value)
const UsernameField & GetUsernameField() const
void SetUsernameField(const UsernameField &value)
RequestInspectionACFP & WithPasswordField(PasswordField &&value)
void SetPhoneNumberFields(Aws::Vector< PhoneNumberField > &&value)
RequestInspectionACFP & AddPhoneNumberFields(const PhoneNumberField &value)
RequestInspectionACFP & WithUsernameField(UsernameField &&value)
const Aws::Vector< PhoneNumberField > & GetPhoneNumberFields() const
RequestInspectionACFP & AddAddressFields(AddressField &&value)
RequestInspectionACFP & WithUsernameField(const UsernameField &value)
RequestInspectionACFP & AddPhoneNumberFields(PhoneNumberField &&value)
RequestInspectionACFP & WithEmailField(const EmailField &value)
RequestInspectionACFP & WithEmailField(EmailField &&value)
AWS_WAFV2_API RequestInspectionACFP & operator=(Aws::Utils::Json::JsonView jsonValue)
RequestInspectionACFP & WithPhoneNumberFields(Aws::Vector< PhoneNumberField > &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
RequestInspectionACFP & WithPasswordField(const PasswordField &value)
void SetAddressFields(const Aws::Vector< AddressField > &value)
void SetPasswordField(const PasswordField &value)
RequestInspectionACFP & WithAddressFields(const Aws::Vector< AddressField > &value)
void SetPayloadType(const PayloadType &value)
RequestInspectionACFP & AddAddressFields(const AddressField &value)
void SetPhoneNumberFields(const Aws::Vector< PhoneNumberField > &value)
const PasswordField & GetPasswordField() const
RequestInspectionACFP & WithPayloadType(const PayloadType &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue