AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
WebACLSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
31 public:
32 AWS_WAFV2_API WebACLSummary() = default;
33 AWS_WAFV2_API WebACLSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 WebACLSummary& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template <typename IdT = Aws::String>
65 void SetId(IdT&& value) {
66 m_idHasBeenSet = true;
67 m_id = std::forward<IdT>(value);
68 }
69 template <typename IdT = Aws::String>
70 WebACLSummary& WithId(IdT&& value) {
71 SetId(std::forward<IdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template <typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) {
84 m_descriptionHasBeenSet = true;
85 m_description = std::forward<DescriptionT>(value);
86 }
87 template <typename DescriptionT = Aws::String>
88 WebACLSummary& WithDescription(DescriptionT&& value) {
89 SetDescription(std::forward<DescriptionT>(value));
90 return *this;
91 }
93
95
105 inline const Aws::String& GetLockToken() const { return m_lockToken; }
106 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
107 template <typename LockTokenT = Aws::String>
108 void SetLockToken(LockTokenT&& value) {
109 m_lockTokenHasBeenSet = true;
110 m_lockToken = std::forward<LockTokenT>(value);
111 }
112 template <typename LockTokenT = Aws::String>
113 WebACLSummary& WithLockToken(LockTokenT&& value) {
114 SetLockToken(std::forward<LockTokenT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetARN() const { return m_aRN; }
124 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
125 template <typename ARNT = Aws::String>
126 void SetARN(ARNT&& value) {
127 m_aRNHasBeenSet = true;
128 m_aRN = std::forward<ARNT>(value);
129 }
130 template <typename ARNT = Aws::String>
131 WebACLSummary& WithARN(ARNT&& value) {
132 SetARN(std::forward<ARNT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_name;
138
139 Aws::String m_id;
140
141 Aws::String m_description;
142
143 Aws::String m_lockToken;
144
145 Aws::String m_aRN;
146 bool m_nameHasBeenSet = false;
147 bool m_idHasBeenSet = false;
148 bool m_descriptionHasBeenSet = false;
149 bool m_lockTokenHasBeenSet = false;
150 bool m_aRNHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace WAFV2
155} // namespace Aws
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLockToken() const
void SetDescription(DescriptionT &&value)
AWS_WAFV2_API WebACLSummary()=default
const Aws::String & GetARN() const
WebACLSummary & WithId(IdT &&value)
const Aws::String & GetName() const
AWS_WAFV2_API WebACLSummary(Aws::Utils::Json::JsonView jsonValue)
WebACLSummary & WithARN(ARNT &&value)
WebACLSummary & WithName(NameT &&value)
WebACLSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
WebACLSummary & WithLockToken(LockTokenT &&value)
AWS_WAFV2_API WebACLSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLockToken(LockTokenT &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue