AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRegexPatternSetId(const Aws::String& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = value; }
63 inline void SetRegexPatternSetId(Aws::String&& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = std::move(value); }
64 inline void SetRegexPatternSetId(const char* value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId.assign(value); }
66 inline RegexPatternSetSummary& WithRegexPatternSetId(Aws::String&& value) { SetRegexPatternSetId(std::move(value)); return *this;}
67 inline RegexPatternSetSummary& WithRegexPatternSetId(const char* value) { SetRegexPatternSetId(value); return *this;}
69
71
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline RegexPatternSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline RegexPatternSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline RegexPatternSetSummary& WithName(const char* value) { SetName(value); return *this;}
84 private:
85
86 Aws::String m_regexPatternSetId;
87 bool m_regexPatternSetIdHasBeenSet = false;
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace WAFRegional
95} // namespace Aws
RegexPatternSetSummary & WithRegexPatternSetId(const char *value)
AWS_WAFREGIONAL_API RegexPatternSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithName(const Aws::String &value)
RegexPatternSetSummary & WithRegexPatternSetId(Aws::String &&value)
RegexPatternSetSummary & WithName(const char *value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
RegexPatternSetSummary & WithName(Aws::String &&value)
AWS_WAFREGIONAL_API RegexPatternSetSummary(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetSummary & WithRegexPatternSetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue