AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSqlInjectionMatchSetId(const Aws::String& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = value; }
65 inline void SetSqlInjectionMatchSetId(Aws::String&& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = std::move(value); }
66 inline void SetSqlInjectionMatchSetId(const char* value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId.assign(value); }
69 inline SqlInjectionMatchSetSummary& WithSqlInjectionMatchSetId(const char* value) { SetSqlInjectionMatchSetId(value); return *this;}
71
73
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline SqlInjectionMatchSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline SqlInjectionMatchSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline SqlInjectionMatchSetSummary& WithName(const char* value) { SetName(value); return *this;}
86 private:
87
88 Aws::String m_sqlInjectionMatchSetId;
89 bool m_sqlInjectionMatchSetIdHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace WAFRegional
97} // namespace Aws
SqlInjectionMatchSetSummary & WithSqlInjectionMatchSetId(Aws::String &&value)
AWS_WAFREGIONAL_API SqlInjectionMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
SqlInjectionMatchSetSummary & WithName(const char *value)
SqlInjectionMatchSetSummary & WithSqlInjectionMatchSetId(const Aws::String &value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
SqlInjectionMatchSetSummary & WithSqlInjectionMatchSetId(const char *value)
AWS_WAFREGIONAL_API SqlInjectionMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlInjectionMatchSetSummary & WithName(const Aws::String &value)
SqlInjectionMatchSetSummary & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue