AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseInspectionBodyContains.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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:
44 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
57 inline const Aws::Vector<Aws::String>& GetSuccessStrings() const{ return m_successStrings; }
58 inline bool SuccessStringsHasBeenSet() const { return m_successStringsHasBeenSet; }
59 inline void SetSuccessStrings(const Aws::Vector<Aws::String>& value) { m_successStringsHasBeenSet = true; m_successStrings = value; }
60 inline void SetSuccessStrings(Aws::Vector<Aws::String>&& value) { m_successStringsHasBeenSet = true; m_successStrings = std::move(value); }
63 inline ResponseInspectionBodyContains& AddSuccessStrings(const Aws::String& value) { m_successStringsHasBeenSet = true; m_successStrings.push_back(value); return *this; }
64 inline ResponseInspectionBodyContains& AddSuccessStrings(Aws::String&& value) { m_successStringsHasBeenSet = true; m_successStrings.push_back(std::move(value)); return *this; }
65 inline ResponseInspectionBodyContains& AddSuccessStrings(const char* value) { m_successStringsHasBeenSet = true; m_successStrings.push_back(value); return *this; }
67
69
76 inline const Aws::Vector<Aws::String>& GetFailureStrings() const{ return m_failureStrings; }
77 inline bool FailureStringsHasBeenSet() const { return m_failureStringsHasBeenSet; }
78 inline void SetFailureStrings(const Aws::Vector<Aws::String>& value) { m_failureStringsHasBeenSet = true; m_failureStrings = value; }
79 inline void SetFailureStrings(Aws::Vector<Aws::String>&& value) { m_failureStringsHasBeenSet = true; m_failureStrings = std::move(value); }
82 inline ResponseInspectionBodyContains& AddFailureStrings(const Aws::String& value) { m_failureStringsHasBeenSet = true; m_failureStrings.push_back(value); return *this; }
83 inline ResponseInspectionBodyContains& AddFailureStrings(Aws::String&& value) { m_failureStringsHasBeenSet = true; m_failureStrings.push_back(std::move(value)); return *this; }
84 inline ResponseInspectionBodyContains& AddFailureStrings(const char* value) { m_failureStringsHasBeenSet = true; m_failureStrings.push_back(value); return *this; }
86 private:
87
88 Aws::Vector<Aws::String> m_successStrings;
89 bool m_successStringsHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_failureStrings;
92 bool m_failureStringsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace WAFV2
97} // namespace Aws
const Aws::Vector< Aws::String > & GetSuccessStrings() const
ResponseInspectionBodyContains & AddSuccessStrings(Aws::String &&value)
void SetSuccessStrings(const Aws::Vector< Aws::String > &value)
ResponseInspectionBodyContains & AddFailureStrings(const Aws::String &value)
ResponseInspectionBodyContains & AddFailureStrings(Aws::String &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureStrings(const Aws::Vector< Aws::String > &value)
ResponseInspectionBodyContains & WithSuccessStrings(const Aws::Vector< Aws::String > &value)
AWS_WAFV2_API ResponseInspectionBodyContains & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ResponseInspectionBodyContains(Aws::Utils::Json::JsonView jsonValue)
ResponseInspectionBodyContains & WithSuccessStrings(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetFailureStrings() const
ResponseInspectionBodyContains & WithFailureStrings(const Aws::Vector< Aws::String > &value)
ResponseInspectionBodyContains & AddSuccessStrings(const char *value)
void SetSuccessStrings(Aws::Vector< Aws::String > &&value)
ResponseInspectionBodyContains & WithFailureStrings(Aws::Vector< Aws::String > &&value)
ResponseInspectionBodyContains & AddSuccessStrings(const Aws::String &value)
void SetFailureStrings(Aws::Vector< Aws::String > &&value)
ResponseInspectionBodyContains & AddFailureStrings(const char *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