AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
XssMatchSetSummary.h
1
6#pragma once
7#include <aws/waf/WAF_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 WAF
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_WAF_API XssMatchSetSummary();
46
47
49
59 inline const Aws::String& GetXssMatchSetId() const{ return m_xssMatchSetId; }
60 inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; }
61 inline void SetXssMatchSetId(const Aws::String& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = value; }
62 inline void SetXssMatchSetId(Aws::String&& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = std::move(value); }
63 inline void SetXssMatchSetId(const char* value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId.assign(value); }
64 inline XssMatchSetSummary& WithXssMatchSetId(const Aws::String& value) { SetXssMatchSetId(value); return *this;}
65 inline XssMatchSetSummary& WithXssMatchSetId(Aws::String&& value) { SetXssMatchSetId(std::move(value)); return *this;}
66 inline XssMatchSetSummary& WithXssMatchSetId(const char* value) { SetXssMatchSetId(value); return *this;}
68
70
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline XssMatchSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline XssMatchSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline XssMatchSetSummary& WithName(const char* value) { SetName(value); return *this;}
83 private:
84
85 Aws::String m_xssMatchSetId;
86 bool m_xssMatchSetIdHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace WAF
94} // namespace Aws
void SetXssMatchSetId(const Aws::String &value)
XssMatchSetSummary & WithXssMatchSetId(Aws::String &&value)
XssMatchSetSummary & WithName(const char *value)
const Aws::String & GetName() const
AWS_WAF_API XssMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
XssMatchSetSummary & WithXssMatchSetId(const Aws::String &value)
const Aws::String & GetXssMatchSetId() const
void SetXssMatchSetId(const char *value)
void SetName(const Aws::String &value)
XssMatchSetSummary & WithName(Aws::String &&value)
XssMatchSetSummary & WithName(const Aws::String &value)
AWS_WAF_API XssMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetXssMatchSetId(Aws::String &&value)
XssMatchSetSummary & WithXssMatchSetId(const char *value)
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