AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SqlInjectionMatchSetSummary.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFRegional
22{
23namespace Model
24{
25
41 {
42 public:
43 AWS_WAFREGIONAL_API SqlInjectionMatchSetSummary() = default;
46 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
62 inline const Aws::String& GetSqlInjectionMatchSetId() const { return m_sqlInjectionMatchSetId; }
63 inline bool SqlInjectionMatchSetIdHasBeenSet() const { return m_sqlInjectionMatchSetIdHasBeenSet; }
64 template<typename SqlInjectionMatchSetIdT = Aws::String>
65 void SetSqlInjectionMatchSetId(SqlInjectionMatchSetIdT&& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = std::forward<SqlInjectionMatchSetIdT>(value); }
66 template<typename SqlInjectionMatchSetIdT = Aws::String>
67 SqlInjectionMatchSetSummary& WithSqlInjectionMatchSetId(SqlInjectionMatchSetIdT&& value) { SetSqlInjectionMatchSetId(std::forward<SqlInjectionMatchSetIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
79 template<typename NameT = Aws::String>
80 SqlInjectionMatchSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
82 private:
83
84 Aws::String m_sqlInjectionMatchSetId;
85 bool m_sqlInjectionMatchSetIdHasBeenSet = false;
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace WAFRegional
93} // namespace Aws
AWS_WAFREGIONAL_API SqlInjectionMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
SqlInjectionMatchSetSummary & WithSqlInjectionMatchSetId(SqlInjectionMatchSetIdT &&value)
SqlInjectionMatchSetSummary & WithName(NameT &&value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSqlInjectionMatchSetId(SqlInjectionMatchSetIdT &&value)
AWS_WAFREGIONAL_API SqlInjectionMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API SqlInjectionMatchSetSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue