AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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