AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
RegexPatternSetSummary.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 RegexPatternSetSummary() = default;
43
45
54 inline const Aws::String& GetRegexPatternSetId() const { return m_regexPatternSetId; }
55 inline bool RegexPatternSetIdHasBeenSet() const { return m_regexPatternSetIdHasBeenSet; }
56 template <typename RegexPatternSetIdT = Aws::String>
57 void SetRegexPatternSetId(RegexPatternSetIdT&& value) {
58 m_regexPatternSetIdHasBeenSet = true;
59 m_regexPatternSetId = std::forward<RegexPatternSetIdT>(value);
60 }
61 template <typename RegexPatternSetIdT = Aws::String>
62 RegexPatternSetSummary& WithRegexPatternSetId(RegexPatternSetIdT&& value) {
63 SetRegexPatternSetId(std::forward<RegexPatternSetIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_regexPatternSetId;
88
89 Aws::String m_name;
90 bool m_regexPatternSetIdHasBeenSet = false;
91 bool m_nameHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace WAF
96} // namespace Aws
RegexPatternSetSummary & WithName(NameT &&value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API RegexPatternSetSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegexPatternSetId() const
AWS_WAF_API RegexPatternSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithRegexPatternSetId(RegexPatternSetIdT &&value)
AWS_WAF_API RegexPatternSetSummary()=default
void SetRegexPatternSetId(RegexPatternSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue