AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
XssMatchSetSummary.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
40 {
41 public:
42 AWS_WAFREGIONAL_API XssMatchSetSummary() = default;
43 AWS_WAFREGIONAL_API XssMatchSetSummary(Aws::Utils::Json::JsonView jsonValue);
45 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
59 inline const Aws::String& GetXssMatchSetId() const { return m_xssMatchSetId; }
60 inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; }
61 template<typename XssMatchSetIdT = Aws::String>
62 void SetXssMatchSetId(XssMatchSetIdT&& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = std::forward<XssMatchSetIdT>(value); }
63 template<typename XssMatchSetIdT = Aws::String>
64 XssMatchSetSummary& WithXssMatchSetId(XssMatchSetIdT&& value) { SetXssMatchSetId(std::forward<XssMatchSetIdT>(value)); return *this;}
66
68
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 XssMatchSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79 private:
80
81 Aws::String m_xssMatchSetId;
82 bool m_xssMatchSetIdHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace WAFRegional
90} // namespace Aws
AWS_WAFREGIONAL_API XssMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
XssMatchSetSummary & WithXssMatchSetId(XssMatchSetIdT &&value)
XssMatchSetSummary & WithName(NameT &&value)
void SetXssMatchSetId(XssMatchSetIdT &&value)
AWS_WAFREGIONAL_API XssMatchSetSummary()=default
AWS_WAFREGIONAL_API XssMatchSetSummary(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
Aws::Utils::Json::JsonValue JsonValue