AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseInspectionJson.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 WAFV2
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_WAFV2_API ResponseInspectionJson();
44 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
54 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
55 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
56 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
57 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
58 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
59 inline ResponseInspectionJson& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
60 inline ResponseInspectionJson& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
61 inline ResponseInspectionJson& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
63
65
72 inline const Aws::Vector<Aws::String>& GetSuccessValues() const{ return m_successValues; }
73 inline bool SuccessValuesHasBeenSet() const { return m_successValuesHasBeenSet; }
74 inline void SetSuccessValues(const Aws::Vector<Aws::String>& value) { m_successValuesHasBeenSet = true; m_successValues = value; }
75 inline void SetSuccessValues(Aws::Vector<Aws::String>&& value) { m_successValuesHasBeenSet = true; m_successValues = std::move(value); }
77 inline ResponseInspectionJson& WithSuccessValues(Aws::Vector<Aws::String>&& value) { SetSuccessValues(std::move(value)); return *this;}
78 inline ResponseInspectionJson& AddSuccessValues(const Aws::String& value) { m_successValuesHasBeenSet = true; m_successValues.push_back(value); return *this; }
79 inline ResponseInspectionJson& AddSuccessValues(Aws::String&& value) { m_successValuesHasBeenSet = true; m_successValues.push_back(std::move(value)); return *this; }
80 inline ResponseInspectionJson& AddSuccessValues(const char* value) { m_successValuesHasBeenSet = true; m_successValues.push_back(value); return *this; }
82
84
91 inline const Aws::Vector<Aws::String>& GetFailureValues() const{ return m_failureValues; }
92 inline bool FailureValuesHasBeenSet() const { return m_failureValuesHasBeenSet; }
93 inline void SetFailureValues(const Aws::Vector<Aws::String>& value) { m_failureValuesHasBeenSet = true; m_failureValues = value; }
94 inline void SetFailureValues(Aws::Vector<Aws::String>&& value) { m_failureValuesHasBeenSet = true; m_failureValues = std::move(value); }
96 inline ResponseInspectionJson& WithFailureValues(Aws::Vector<Aws::String>&& value) { SetFailureValues(std::move(value)); return *this;}
97 inline ResponseInspectionJson& AddFailureValues(const Aws::String& value) { m_failureValuesHasBeenSet = true; m_failureValues.push_back(value); return *this; }
98 inline ResponseInspectionJson& AddFailureValues(Aws::String&& value) { m_failureValuesHasBeenSet = true; m_failureValues.push_back(std::move(value)); return *this; }
99 inline ResponseInspectionJson& AddFailureValues(const char* value) { m_failureValuesHasBeenSet = true; m_failureValues.push_back(value); return *this; }
101 private:
102
103 Aws::String m_identifier;
104 bool m_identifierHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_successValues;
107 bool m_successValuesHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_failureValues;
110 bool m_failureValuesHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace WAFV2
115} // namespace Aws
ResponseInspectionJson & AddSuccessValues(const Aws::String &value)
ResponseInspectionJson & WithSuccessValues(const Aws::Vector< Aws::String > &value)
AWS_WAFV2_API ResponseInspectionJson(Aws::Utils::Json::JsonView jsonValue)
void SetSuccessValues(Aws::Vector< Aws::String > &&value)
ResponseInspectionJson & AddFailureValues(const Aws::String &value)
void SetFailureValues(const Aws::Vector< Aws::String > &value)
void SetSuccessValues(const Aws::Vector< Aws::String > &value)
ResponseInspectionJson & WithFailureValues(const Aws::Vector< Aws::String > &value)
ResponseInspectionJson & AddFailureValues(const char *value)
ResponseInspectionJson & AddSuccessValues(Aws::String &&value)
ResponseInspectionJson & WithIdentifier(const Aws::String &value)
const Aws::Vector< Aws::String > & GetFailureValues() const
ResponseInspectionJson & WithSuccessValues(Aws::Vector< Aws::String > &&value)
ResponseInspectionJson & WithIdentifier(Aws::String &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseInspectionJson & WithFailureValues(Aws::Vector< Aws::String > &&value)
ResponseInspectionJson & AddSuccessValues(const char *value)
ResponseInspectionJson & AddFailureValues(Aws::String &&value)
AWS_WAFV2_API ResponseInspectionJson & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSuccessValues() const
ResponseInspectionJson & WithIdentifier(const char *value)
void SetFailureValues(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue