AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegexMatchSetSummary.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 RegexMatchSetSummary();
45 AWS_WAFREGIONAL_API RegexMatchSetSummary(Aws::Utils::Json::JsonView jsonValue);
47 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
59 inline const Aws::String& GetRegexMatchSetId() const{ return m_regexMatchSetId; }
60 inline bool RegexMatchSetIdHasBeenSet() const { return m_regexMatchSetIdHasBeenSet; }
61 inline void SetRegexMatchSetId(const Aws::String& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = value; }
62 inline void SetRegexMatchSetId(Aws::String&& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = std::move(value); }
63 inline void SetRegexMatchSetId(const char* value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId.assign(value); }
64 inline RegexMatchSetSummary& WithRegexMatchSetId(const Aws::String& value) { SetRegexMatchSetId(value); return *this;}
65 inline RegexMatchSetSummary& WithRegexMatchSetId(Aws::String&& value) { SetRegexMatchSetId(std::move(value)); return *this;}
66 inline RegexMatchSetSummary& WithRegexMatchSetId(const char* value) { SetRegexMatchSetId(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 RegexMatchSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline RegexMatchSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline RegexMatchSetSummary& WithName(const char* value) { SetName(value); return *this;}
83 private:
84
85 Aws::String m_regexMatchSetId;
86 bool m_regexMatchSetIdHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace WAFRegional
94} // namespace Aws
RegexMatchSetSummary & WithName(Aws::String &&value)
RegexMatchSetSummary & WithName(const Aws::String &value)
RegexMatchSetSummary & WithRegexMatchSetId(Aws::String &&value)
RegexMatchSetSummary & WithRegexMatchSetId(const Aws::String &value)
void SetRegexMatchSetId(const Aws::String &value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
RegexMatchSetSummary & WithName(const char *value)
RegexMatchSetSummary & WithRegexMatchSetId(const char *value)
AWS_WAFREGIONAL_API RegexMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API RegexMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue