AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_WAFV2_API WebACLSummary(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline WebACLSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline WebACLSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline WebACLSummary& WithName(const char* value) { SetName(value); return *this;}
57
59
64 inline const Aws::String& GetId() const{ return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
67 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
68 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 inline WebACLSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline WebACLSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline WebACLSummary& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
83 inline WebACLSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline WebACLSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline WebACLSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
99 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
100 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
101 inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
102 inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
103 inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
104 inline WebACLSummary& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
105 inline WebACLSummary& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
106 inline WebACLSummary& WithLockToken(const char* value) { SetLockToken(value); return *this;}
108
110
113 inline const Aws::String& GetARN() const{ return m_aRN; }
114 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
115 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
116 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
117 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
118 inline WebACLSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
119 inline WebACLSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
120 inline WebACLSummary& WithARN(const char* value) { SetARN(value); return *this;}
122 private:
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_lockToken;
134 bool m_lockTokenHasBeenSet = false;
135
136 Aws::String m_aRN;
137 bool m_aRNHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace WAFV2
142} // namespace Aws
WebACLSummary & WithName(const Aws::String &value)
WebACLSummary & WithLockToken(const Aws::String &value)
void SetDescription(const Aws::String &value)
WebACLSummary & WithARN(const char *value)
WebACLSummary & WithName(Aws::String &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
WebACLSummary & WithDescription(const Aws::String &value)
WebACLSummary & WithDescription(Aws::String &&value)
const Aws::String & GetLockToken() const
WebACLSummary & WithARN(Aws::String &&value)
void SetARN(const Aws::String &value)
void SetId(const char *value)
void SetARN(Aws::String &&value)
void SetDescription(const char *value)
WebACLSummary & WithARN(const Aws::String &value)
void SetLockToken(const char *value)
WebACLSummary & WithLockToken(const char *value)
const Aws::String & GetARN() const
const Aws::String & GetName() const
WebACLSummary & WithId(const Aws::String &value)
WebACLSummary & WithDescription(const char *value)
AWS_WAFV2_API WebACLSummary(Aws::Utils::Json::JsonView jsonValue)
WebACLSummary & WithId(Aws::String &&value)
void SetDescription(Aws::String &&value)
WebACLSummary & WithId(const char *value)
void SetARN(const char *value)
void SetLockToken(const Aws::String &value)
WebACLSummary & WithName(const char *value)
const Aws::String & GetDescription() const
void SetLockToken(Aws::String &&value)
WebACLSummary & WithLockToken(Aws::String &&value)
AWS_WAFV2_API WebACLSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
const Aws::String & GetId() const
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetId(Aws::String &&value)
void SetName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue