AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseInspectionHeader.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
38 {
39 public:
40 AWS_WAFV2_API ResponseInspectionHeader();
43 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline ResponseInspectionHeader& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline ResponseInspectionHeader& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline ResponseInspectionHeader& WithName(const char* value) { SetName(value); return *this;}
61
63
71 inline const Aws::Vector<Aws::String>& GetSuccessValues() const{ return m_successValues; }
72 inline bool SuccessValuesHasBeenSet() const { return m_successValuesHasBeenSet; }
73 inline void SetSuccessValues(const Aws::Vector<Aws::String>& value) { m_successValuesHasBeenSet = true; m_successValues = value; }
74 inline void SetSuccessValues(Aws::Vector<Aws::String>&& value) { m_successValuesHasBeenSet = true; m_successValues = std::move(value); }
76 inline ResponseInspectionHeader& WithSuccessValues(Aws::Vector<Aws::String>&& value) { SetSuccessValues(std::move(value)); return *this;}
77 inline ResponseInspectionHeader& AddSuccessValues(const Aws::String& value) { m_successValuesHasBeenSet = true; m_successValues.push_back(value); return *this; }
78 inline ResponseInspectionHeader& AddSuccessValues(Aws::String&& value) { m_successValuesHasBeenSet = true; m_successValues.push_back(std::move(value)); return *this; }
79 inline ResponseInspectionHeader& AddSuccessValues(const char* value) { m_successValuesHasBeenSet = true; m_successValues.push_back(value); return *this; }
81
83
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 ResponseInspectionHeader& WithFailureValues(Aws::Vector<Aws::String>&& value) { SetFailureValues(std::move(value)); return *this;}
97 inline ResponseInspectionHeader& AddFailureValues(const Aws::String& value) { m_failureValuesHasBeenSet = true; m_failureValues.push_back(value); return *this; }
98 inline ResponseInspectionHeader& AddFailureValues(Aws::String&& value) { m_failureValuesHasBeenSet = true; m_failureValues.push_back(std::move(value)); return *this; }
99 inline ResponseInspectionHeader& AddFailureValues(const char* value) { m_failureValuesHasBeenSet = true; m_failureValues.push_back(value); return *this; }
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = 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
ResponseInspectionHeader & AddSuccessValues(const Aws::String &value)
ResponseInspectionHeader & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFailureValues() const
ResponseInspectionHeader & AddFailureValues(const char *value)
ResponseInspectionHeader & WithFailureValues(const Aws::Vector< Aws::String > &value)
ResponseInspectionHeader & AddFailureValues(Aws::String &&value)
void SetFailureValues(Aws::Vector< Aws::String > &&value)
void SetFailureValues(const Aws::Vector< Aws::String > &value)
void SetSuccessValues(const Aws::Vector< Aws::String > &value)
void SetSuccessValues(Aws::Vector< Aws::String > &&value)
ResponseInspectionHeader & WithSuccessValues(Aws::Vector< Aws::String > &&value)
AWS_WAFV2_API ResponseInspectionHeader & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSuccessValues() const
AWS_WAFV2_API ResponseInspectionHeader(Aws::Utils::Json::JsonView jsonValue)
ResponseInspectionHeader & AddFailureValues(const Aws::String &value)
ResponseInspectionHeader & WithName(const Aws::String &value)
ResponseInspectionHeader & AddSuccessValues(Aws::String &&value)
ResponseInspectionHeader & WithSuccessValues(const Aws::Vector< Aws::String > &value)
ResponseInspectionHeader & AddSuccessValues(const char *value)
ResponseInspectionHeader & WithName(const char *value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseInspectionHeader & WithFailureValues(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