AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RegexPatternSetSummary.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
42 {
43 public:
44 AWS_WAFREGIONAL_API RegexPatternSetSummary() = default;
45 AWS_WAFREGIONAL_API RegexPatternSetSummary(Aws::Utils::Json::JsonView jsonValue);
47 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
60 inline const Aws::String& GetRegexPatternSetId() const { return m_regexPatternSetId; }
61 inline bool RegexPatternSetIdHasBeenSet() const { return m_regexPatternSetIdHasBeenSet; }
62 template<typename RegexPatternSetIdT = Aws::String>
63 void SetRegexPatternSetId(RegexPatternSetIdT&& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = std::forward<RegexPatternSetIdT>(value); }
64 template<typename RegexPatternSetIdT = Aws::String>
65 RegexPatternSetSummary& WithRegexPatternSetId(RegexPatternSetIdT&& value) { SetRegexPatternSetId(std::forward<RegexPatternSetIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 RegexPatternSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80 private:
81
82 Aws::String m_regexPatternSetId;
83 bool m_regexPatternSetIdHasBeenSet = false;
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace WAFRegional
91} // namespace Aws
AWS_WAFREGIONAL_API RegexPatternSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegexPatternSetId(RegexPatternSetIdT &&value)
AWS_WAFREGIONAL_API RegexPatternSetSummary()=default
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFREGIONAL_API RegexPatternSetSummary(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithName(NameT &&value)
RegexPatternSetSummary & WithRegexPatternSetId(RegexPatternSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue