AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
XssMatchSetSummary.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
36 public:
37 AWS_WAF_API XssMatchSetSummary() = default;
41
43
53 inline const Aws::String& GetXssMatchSetId() const { return m_xssMatchSetId; }
54 inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; }
55 template <typename XssMatchSetIdT = Aws::String>
56 void SetXssMatchSetId(XssMatchSetIdT&& value) {
57 m_xssMatchSetIdHasBeenSet = true;
58 m_xssMatchSetId = std::forward<XssMatchSetIdT>(value);
59 }
60 template <typename XssMatchSetIdT = Aws::String>
61 XssMatchSetSummary& WithXssMatchSetId(XssMatchSetIdT&& value) {
62 SetXssMatchSetId(std::forward<XssMatchSetIdT>(value));
63 return *this;
64 }
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) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
80 XssMatchSetSummary& WithName(NameT&& value) {
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_xssMatchSetId;
87
88 Aws::String m_name;
89 bool m_xssMatchSetIdHasBeenSet = false;
90 bool m_nameHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace WAF
95} // namespace Aws
const Aws::String & GetName() const
XssMatchSetSummary & WithName(NameT &&value)
AWS_WAF_API XssMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetXssMatchSetId() const
AWS_WAF_API XssMatchSetSummary()=default
XssMatchSetSummary & WithXssMatchSetId(XssMatchSetIdT &&value)
AWS_WAF_API XssMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetXssMatchSetId(XssMatchSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue