AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SqlInjectionMatchSetSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/waf/WAF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAF {
20namespace Model {
21
37 public:
38 AWS_WAF_API SqlInjectionMatchSetSummary() = default;
42
44
56 inline const Aws::String& GetSqlInjectionMatchSetId() const { return m_sqlInjectionMatchSetId; }
57 inline bool SqlInjectionMatchSetIdHasBeenSet() const { return m_sqlInjectionMatchSetIdHasBeenSet; }
58 template <typename SqlInjectionMatchSetIdT = Aws::String>
59 void SetSqlInjectionMatchSetId(SqlInjectionMatchSetIdT&& value) {
60 m_sqlInjectionMatchSetIdHasBeenSet = true;
61 m_sqlInjectionMatchSetId = std::forward<SqlInjectionMatchSetIdT>(value);
62 }
63 template <typename SqlInjectionMatchSetIdT = Aws::String>
64 SqlInjectionMatchSetSummary& WithSqlInjectionMatchSetId(SqlInjectionMatchSetIdT&& value) {
65 SetSqlInjectionMatchSetId(std::forward<SqlInjectionMatchSetIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_sqlInjectionMatchSetId;
90
91 Aws::String m_name;
92 bool m_sqlInjectionMatchSetIdHasBeenSet = false;
93 bool m_nameHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace WAF
98} // namespace Aws
void SetSqlInjectionMatchSetId(SqlInjectionMatchSetIdT &&value)
SqlInjectionMatchSetSummary & WithName(NameT &&value)
AWS_WAF_API SqlInjectionMatchSetSummary()=default
SqlInjectionMatchSetSummary & WithSqlInjectionMatchSetId(SqlInjectionMatchSetIdT &&value)
AWS_WAF_API SqlInjectionMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API SqlInjectionMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue