AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestInspection.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WAFV2
24{
25namespace Model
26{
27
40 {
41 public:
42 AWS_WAFV2_API RequestInspection();
45 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const PayloadType& GetPayloadType() const{ return m_payloadType; }
53 inline bool PayloadTypeHasBeenSet() const { return m_payloadTypeHasBeenSet; }
54 inline void SetPayloadType(const PayloadType& value) { m_payloadTypeHasBeenSet = true; m_payloadType = value; }
55 inline void SetPayloadType(PayloadType&& value) { m_payloadTypeHasBeenSet = true; m_payloadType = std::move(value); }
56 inline RequestInspection& WithPayloadType(const PayloadType& value) { SetPayloadType(value); return *this;}
57 inline RequestInspection& WithPayloadType(PayloadType&& value) { SetPayloadType(std::move(value)); return *this;}
59
61
75 inline const UsernameField& GetUsernameField() const{ return m_usernameField; }
76 inline bool UsernameFieldHasBeenSet() const { return m_usernameFieldHasBeenSet; }
77 inline void SetUsernameField(const UsernameField& value) { m_usernameFieldHasBeenSet = true; m_usernameField = value; }
78 inline void SetUsernameField(UsernameField&& value) { m_usernameFieldHasBeenSet = true; m_usernameField = std::move(value); }
79 inline RequestInspection& WithUsernameField(const UsernameField& value) { SetUsernameField(value); return *this;}
80 inline RequestInspection& WithUsernameField(UsernameField&& value) { SetUsernameField(std::move(value)); return *this;}
82
84
98 inline const PasswordField& GetPasswordField() const{ return m_passwordField; }
99 inline bool PasswordFieldHasBeenSet() const { return m_passwordFieldHasBeenSet; }
100 inline void SetPasswordField(const PasswordField& value) { m_passwordFieldHasBeenSet = true; m_passwordField = value; }
101 inline void SetPasswordField(PasswordField&& value) { m_passwordFieldHasBeenSet = true; m_passwordField = std::move(value); }
102 inline RequestInspection& WithPasswordField(const PasswordField& value) { SetPasswordField(value); return *this;}
103 inline RequestInspection& WithPasswordField(PasswordField&& value) { SetPasswordField(std::move(value)); return *this;}
105 private:
106
107 PayloadType m_payloadType;
108 bool m_payloadTypeHasBeenSet = false;
109
110 UsernameField m_usernameField;
111 bool m_usernameFieldHasBeenSet = false;
112
113 PasswordField m_passwordField;
114 bool m_passwordFieldHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace WAFV2
119} // namespace Aws
const PayloadType & GetPayloadType() const
void SetPayloadType(const PayloadType &value)
const PasswordField & GetPasswordField() const
RequestInspection & WithUsernameField(UsernameField &&value)
void SetPasswordField(PasswordField &&value)
RequestInspection & WithPasswordField(PasswordField &&value)
void SetUsernameField(UsernameField &&value)
void SetPasswordField(const PasswordField &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const UsernameField & GetUsernameField() const
void SetPayloadType(PayloadType &&value)
RequestInspection & WithPayloadType(PayloadType &&value)
AWS_WAFV2_API RequestInspection(Aws::Utils::Json::JsonView jsonValue)
RequestInspection & WithUsernameField(const UsernameField &value)
RequestInspection & WithPayloadType(const PayloadType &value)
void SetUsernameField(const UsernameField &value)
AWS_WAFV2_API RequestInspection & operator=(Aws::Utils::Json::JsonView jsonValue)
RequestInspection & WithPasswordField(const PasswordField &value)
Aws::Utils::Json::JsonValue JsonValue