AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WebACLSummary.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_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 WAFV2
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_WAFV2_API WebACLSummary() = default;
40 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 WebACLSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 WebACLSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 WebACLSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
93 inline const Aws::String& GetLockToken() const { return m_lockToken; }
94 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
95 template<typename LockTokenT = Aws::String>
96 void SetLockToken(LockTokenT&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::forward<LockTokenT>(value); }
97 template<typename LockTokenT = Aws::String>
98 WebACLSummary& WithLockToken(LockTokenT&& value) { SetLockToken(std::forward<LockTokenT>(value)); return *this;}
100
102
105 inline const Aws::String& GetARN() const { return m_aRN; }
106 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
107 template<typename ARNT = Aws::String>
108 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
109 template<typename ARNT = Aws::String>
110 WebACLSummary& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::String m_lockToken;
124 bool m_lockTokenHasBeenSet = false;
125
126 Aws::String m_aRN;
127 bool m_aRNHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace WAFV2
132} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue