AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedProductDescriptor.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
34 {
35 public:
36 AWS_WAFV2_API ManagedProductDescriptor();
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetVendorName() const{ return m_vendorName; }
48 inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
49 inline void SetVendorName(const Aws::String& value) { m_vendorNameHasBeenSet = true; m_vendorName = value; }
50 inline void SetVendorName(Aws::String&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::move(value); }
51 inline void SetVendorName(const char* value) { m_vendorNameHasBeenSet = true; m_vendorName.assign(value); }
52 inline ManagedProductDescriptor& WithVendorName(const Aws::String& value) { SetVendorName(value); return *this;}
53 inline ManagedProductDescriptor& WithVendorName(Aws::String&& value) { SetVendorName(std::move(value)); return *this;}
54 inline ManagedProductDescriptor& WithVendorName(const char* value) { SetVendorName(value); return *this;}
56
58
63 inline const Aws::String& GetManagedRuleSetName() const{ return m_managedRuleSetName; }
64 inline bool ManagedRuleSetNameHasBeenSet() const { return m_managedRuleSetNameHasBeenSet; }
65 inline void SetManagedRuleSetName(const Aws::String& value) { m_managedRuleSetNameHasBeenSet = true; m_managedRuleSetName = value; }
66 inline void SetManagedRuleSetName(Aws::String&& value) { m_managedRuleSetNameHasBeenSet = true; m_managedRuleSetName = std::move(value); }
67 inline void SetManagedRuleSetName(const char* value) { m_managedRuleSetNameHasBeenSet = true; m_managedRuleSetName.assign(value); }
69 inline ManagedProductDescriptor& WithManagedRuleSetName(Aws::String&& value) { SetManagedRuleSetName(std::move(value)); return *this;}
70 inline ManagedProductDescriptor& WithManagedRuleSetName(const char* value) { SetManagedRuleSetName(value); return *this;}
72
74
79 inline const Aws::String& GetProductId() const{ return m_productId; }
80 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
81 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
82 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
83 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
84 inline ManagedProductDescriptor& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
85 inline ManagedProductDescriptor& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
86 inline ManagedProductDescriptor& WithProductId(const char* value) { SetProductId(value); return *this;}
88
90
94 inline const Aws::String& GetProductLink() const{ return m_productLink; }
95 inline bool ProductLinkHasBeenSet() const { return m_productLinkHasBeenSet; }
96 inline void SetProductLink(const Aws::String& value) { m_productLinkHasBeenSet = true; m_productLink = value; }
97 inline void SetProductLink(Aws::String&& value) { m_productLinkHasBeenSet = true; m_productLink = std::move(value); }
98 inline void SetProductLink(const char* value) { m_productLinkHasBeenSet = true; m_productLink.assign(value); }
99 inline ManagedProductDescriptor& WithProductLink(const Aws::String& value) { SetProductLink(value); return *this;}
100 inline ManagedProductDescriptor& WithProductLink(Aws::String&& value) { SetProductLink(std::move(value)); return *this;}
101 inline ManagedProductDescriptor& WithProductLink(const char* value) { SetProductLink(value); return *this;}
103
105
109 inline const Aws::String& GetProductTitle() const{ return m_productTitle; }
110 inline bool ProductTitleHasBeenSet() const { return m_productTitleHasBeenSet; }
111 inline void SetProductTitle(const Aws::String& value) { m_productTitleHasBeenSet = true; m_productTitle = value; }
112 inline void SetProductTitle(Aws::String&& value) { m_productTitleHasBeenSet = true; m_productTitle = std::move(value); }
113 inline void SetProductTitle(const char* value) { m_productTitleHasBeenSet = true; m_productTitle.assign(value); }
114 inline ManagedProductDescriptor& WithProductTitle(const Aws::String& value) { SetProductTitle(value); return *this;}
115 inline ManagedProductDescriptor& WithProductTitle(Aws::String&& value) { SetProductTitle(std::move(value)); return *this;}
116 inline ManagedProductDescriptor& WithProductTitle(const char* value) { SetProductTitle(value); return *this;}
118
120
123 inline const Aws::String& GetProductDescription() const{ return m_productDescription; }
124 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
125 inline void SetProductDescription(const Aws::String& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
126 inline void SetProductDescription(Aws::String&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
127 inline void SetProductDescription(const char* value) { m_productDescriptionHasBeenSet = true; m_productDescription.assign(value); }
129 inline ManagedProductDescriptor& WithProductDescription(Aws::String&& value) { SetProductDescription(std::move(value)); return *this;}
130 inline ManagedProductDescriptor& WithProductDescription(const char* value) { SetProductDescription(value); return *this;}
132
134
143 inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
144 inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
145 inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
146 inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); }
147 inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
148 inline ManagedProductDescriptor& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
149 inline ManagedProductDescriptor& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
150 inline ManagedProductDescriptor& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
152
154
157 inline bool GetIsVersioningSupported() const{ return m_isVersioningSupported; }
158 inline bool IsVersioningSupportedHasBeenSet() const { return m_isVersioningSupportedHasBeenSet; }
159 inline void SetIsVersioningSupported(bool value) { m_isVersioningSupportedHasBeenSet = true; m_isVersioningSupported = value; }
162
164
169 inline bool GetIsAdvancedManagedRuleSet() const{ return m_isAdvancedManagedRuleSet; }
170 inline bool IsAdvancedManagedRuleSetHasBeenSet() const { return m_isAdvancedManagedRuleSetHasBeenSet; }
171 inline void SetIsAdvancedManagedRuleSet(bool value) { m_isAdvancedManagedRuleSetHasBeenSet = true; m_isAdvancedManagedRuleSet = value; }
174 private:
175
176 Aws::String m_vendorName;
177 bool m_vendorNameHasBeenSet = false;
178
179 Aws::String m_managedRuleSetName;
180 bool m_managedRuleSetNameHasBeenSet = false;
181
182 Aws::String m_productId;
183 bool m_productIdHasBeenSet = false;
184
185 Aws::String m_productLink;
186 bool m_productLinkHasBeenSet = false;
187
188 Aws::String m_productTitle;
189 bool m_productTitleHasBeenSet = false;
190
191 Aws::String m_productDescription;
192 bool m_productDescriptionHasBeenSet = false;
193
194 Aws::String m_snsTopicArn;
195 bool m_snsTopicArnHasBeenSet = false;
196
197 bool m_isVersioningSupported;
198 bool m_isVersioningSupportedHasBeenSet = false;
199
200 bool m_isAdvancedManagedRuleSet;
201 bool m_isAdvancedManagedRuleSetHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace WAFV2
206} // namespace Aws
ManagedProductDescriptor & WithVendorName(Aws::String &&value)
ManagedProductDescriptor & WithManagedRuleSetName(Aws::String &&value)
ManagedProductDescriptor & WithProductDescription(const Aws::String &value)
ManagedProductDescriptor & WithProductLink(Aws::String &&value)
AWS_WAFV2_API ManagedProductDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedProductDescriptor & WithVendorName(const char *value)
ManagedProductDescriptor & WithProductLink(const Aws::String &value)
ManagedProductDescriptor & WithProductTitle(const char *value)
ManagedProductDescriptor & WithIsVersioningSupported(bool value)
ManagedProductDescriptor & WithProductTitle(const Aws::String &value)
ManagedProductDescriptor & WithProductLink(const char *value)
ManagedProductDescriptor & WithSnsTopicArn(const char *value)
ManagedProductDescriptor & WithSnsTopicArn(Aws::String &&value)
ManagedProductDescriptor & WithManagedRuleSetName(const char *value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedProductDescriptor & WithVendorName(const Aws::String &value)
ManagedProductDescriptor & WithProductDescription(const char *value)
ManagedProductDescriptor & WithProductDescription(Aws::String &&value)
AWS_WAFV2_API ManagedProductDescriptor(Aws::Utils::Json::JsonView jsonValue)
ManagedProductDescriptor & WithSnsTopicArn(const Aws::String &value)
ManagedProductDescriptor & WithProductId(Aws::String &&value)
ManagedProductDescriptor & WithProductId(const char *value)
ManagedProductDescriptor & WithIsAdvancedManagedRuleSet(bool value)
ManagedProductDescriptor & WithProductId(const Aws::String &value)
ManagedProductDescriptor & WithManagedRuleSetName(const Aws::String &value)
ManagedProductDescriptor & WithProductTitle(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue