AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SqlInjectionMatchSet.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf-regional/model/SqlInjectionMatchTuple.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 WAFRegional
24{
25namespace Model
26{
27
48 {
49 public:
50 AWS_WAFREGIONAL_API SqlInjectionMatchSet() = default;
51 AWS_WAFREGIONAL_API SqlInjectionMatchSet(Aws::Utils::Json::JsonView jsonValue);
53 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
69 inline const Aws::String& GetSqlInjectionMatchSetId() const { return m_sqlInjectionMatchSetId; }
70 inline bool SqlInjectionMatchSetIdHasBeenSet() const { return m_sqlInjectionMatchSetIdHasBeenSet; }
71 template<typename SqlInjectionMatchSetIdT = Aws::String>
72 void SetSqlInjectionMatchSetId(SqlInjectionMatchSetIdT&& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = std::forward<SqlInjectionMatchSetIdT>(value); }
73 template<typename SqlInjectionMatchSetIdT = Aws::String>
74 SqlInjectionMatchSet& WithSqlInjectionMatchSetId(SqlInjectionMatchSetIdT&& value) { SetSqlInjectionMatchSetId(std::forward<SqlInjectionMatchSetIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template<typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
85 template<typename NameT = Aws::String>
86 SqlInjectionMatchSet& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
88
90
94 inline const Aws::Vector<SqlInjectionMatchTuple>& GetSqlInjectionMatchTuples() const { return m_sqlInjectionMatchTuples; }
95 inline bool SqlInjectionMatchTuplesHasBeenSet() const { return m_sqlInjectionMatchTuplesHasBeenSet; }
96 template<typename SqlInjectionMatchTuplesT = Aws::Vector<SqlInjectionMatchTuple>>
97 void SetSqlInjectionMatchTuples(SqlInjectionMatchTuplesT&& value) { m_sqlInjectionMatchTuplesHasBeenSet = true; m_sqlInjectionMatchTuples = std::forward<SqlInjectionMatchTuplesT>(value); }
98 template<typename SqlInjectionMatchTuplesT = Aws::Vector<SqlInjectionMatchTuple>>
99 SqlInjectionMatchSet& WithSqlInjectionMatchTuples(SqlInjectionMatchTuplesT&& value) { SetSqlInjectionMatchTuples(std::forward<SqlInjectionMatchTuplesT>(value)); return *this;}
100 template<typename SqlInjectionMatchTuplesT = SqlInjectionMatchTuple>
101 SqlInjectionMatchSet& AddSqlInjectionMatchTuples(SqlInjectionMatchTuplesT&& value) { m_sqlInjectionMatchTuplesHasBeenSet = true; m_sqlInjectionMatchTuples.emplace_back(std::forward<SqlInjectionMatchTuplesT>(value)); return *this; }
103 private:
104
105 Aws::String m_sqlInjectionMatchSetId;
106 bool m_sqlInjectionMatchSetIdHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::Vector<SqlInjectionMatchTuple> m_sqlInjectionMatchTuples;
112 bool m_sqlInjectionMatchTuplesHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace WAFRegional
117} // namespace Aws
const Aws::Vector< SqlInjectionMatchTuple > & GetSqlInjectionMatchTuples() const
void SetSqlInjectionMatchTuples(SqlInjectionMatchTuplesT &&value)
AWS_WAFREGIONAL_API SqlInjectionMatchSet & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlInjectionMatchSet & WithSqlInjectionMatchSetId(SqlInjectionMatchSetIdT &&value)
void SetSqlInjectionMatchSetId(SqlInjectionMatchSetIdT &&value)
SqlInjectionMatchSet & AddSqlInjectionMatchTuples(SqlInjectionMatchTuplesT &&value)
SqlInjectionMatchSet & WithSqlInjectionMatchTuples(SqlInjectionMatchTuplesT &&value)
AWS_WAFREGIONAL_API SqlInjectionMatchSet()=default
SqlInjectionMatchSet & WithName(NameT &&value)
AWS_WAFREGIONAL_API SqlInjectionMatchSet(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue