AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
RegexMatchSetSummary.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
38 public:
39 AWS_WAF_API RegexMatchSetSummary() = default;
43
45
53 inline const Aws::String& GetRegexMatchSetId() const { return m_regexMatchSetId; }
54 inline bool RegexMatchSetIdHasBeenSet() const { return m_regexMatchSetIdHasBeenSet; }
55 template <typename RegexMatchSetIdT = Aws::String>
56 void SetRegexMatchSetId(RegexMatchSetIdT&& value) {
57 m_regexMatchSetIdHasBeenSet = true;
58 m_regexMatchSetId = std::forward<RegexMatchSetIdT>(value);
59 }
60 template <typename RegexMatchSetIdT = Aws::String>
61 RegexMatchSetSummary& WithRegexMatchSetId(RegexMatchSetIdT&& value) {
62 SetRegexMatchSetId(std::forward<RegexMatchSetIdT>(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>
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_regexMatchSetId;
87
88 Aws::String m_name;
89 bool m_regexMatchSetIdHasBeenSet = false;
90 bool m_nameHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace WAF
95} // namespace Aws
void SetRegexMatchSetId(RegexMatchSetIdT &&value)
RegexMatchSetSummary & WithRegexMatchSetId(RegexMatchSetIdT &&value)
AWS_WAF_API RegexMatchSetSummary()=default
const Aws::String & GetRegexMatchSetId() const
AWS_WAF_API RegexMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
RegexMatchSetSummary & WithName(NameT &&value)
AWS_WAF_API RegexMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue