AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename VendorNameT = Aws::String>
50 void SetVendorName(VendorNameT&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::forward<VendorNameT>(value); }
51 template<typename VendorNameT = Aws::String>
52 ManagedProductDescriptor& WithVendorName(VendorNameT&& value) { SetVendorName(std::forward<VendorNameT>(value)); return *this;}
54
56
61 inline const Aws::String& GetManagedRuleSetName() const { return m_managedRuleSetName; }
62 inline bool ManagedRuleSetNameHasBeenSet() const { return m_managedRuleSetNameHasBeenSet; }
63 template<typename ManagedRuleSetNameT = Aws::String>
64 void SetManagedRuleSetName(ManagedRuleSetNameT&& value) { m_managedRuleSetNameHasBeenSet = true; m_managedRuleSetName = std::forward<ManagedRuleSetNameT>(value); }
65 template<typename ManagedRuleSetNameT = Aws::String>
66 ManagedProductDescriptor& WithManagedRuleSetName(ManagedRuleSetNameT&& value) { SetManagedRuleSetName(std::forward<ManagedRuleSetNameT>(value)); return *this;}
68
70
75 inline const Aws::String& GetProductId() const { return m_productId; }
76 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
77 template<typename ProductIdT = Aws::String>
78 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet = true; m_productId = std::forward<ProductIdT>(value); }
79 template<typename ProductIdT = Aws::String>
80 ManagedProductDescriptor& WithProductId(ProductIdT&& value) { SetProductId(std::forward<ProductIdT>(value)); return *this;}
82
84
88 inline const Aws::String& GetProductLink() const { return m_productLink; }
89 inline bool ProductLinkHasBeenSet() const { return m_productLinkHasBeenSet; }
90 template<typename ProductLinkT = Aws::String>
91 void SetProductLink(ProductLinkT&& value) { m_productLinkHasBeenSet = true; m_productLink = std::forward<ProductLinkT>(value); }
92 template<typename ProductLinkT = Aws::String>
93 ManagedProductDescriptor& WithProductLink(ProductLinkT&& value) { SetProductLink(std::forward<ProductLinkT>(value)); return *this;}
95
97
101 inline const Aws::String& GetProductTitle() const { return m_productTitle; }
102 inline bool ProductTitleHasBeenSet() const { return m_productTitleHasBeenSet; }
103 template<typename ProductTitleT = Aws::String>
104 void SetProductTitle(ProductTitleT&& value) { m_productTitleHasBeenSet = true; m_productTitle = std::forward<ProductTitleT>(value); }
105 template<typename ProductTitleT = Aws::String>
106 ManagedProductDescriptor& WithProductTitle(ProductTitleT&& value) { SetProductTitle(std::forward<ProductTitleT>(value)); return *this;}
108
110
113 inline const Aws::String& GetProductDescription() const { return m_productDescription; }
114 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
115 template<typename ProductDescriptionT = Aws::String>
116 void SetProductDescription(ProductDescriptionT&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::forward<ProductDescriptionT>(value); }
117 template<typename ProductDescriptionT = Aws::String>
118 ManagedProductDescriptor& WithProductDescription(ProductDescriptionT&& value) { SetProductDescription(std::forward<ProductDescriptionT>(value)); return *this;}
120
122
131 inline const Aws::String& GetSnsTopicArn() const { return m_snsTopicArn; }
132 inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
133 template<typename SnsTopicArnT = Aws::String>
134 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
135 template<typename SnsTopicArnT = Aws::String>
136 ManagedProductDescriptor& WithSnsTopicArn(SnsTopicArnT&& value) { SetSnsTopicArn(std::forward<SnsTopicArnT>(value)); return *this;}
138
140
143 inline bool GetIsVersioningSupported() const { return m_isVersioningSupported; }
144 inline bool IsVersioningSupportedHasBeenSet() const { return m_isVersioningSupportedHasBeenSet; }
145 inline void SetIsVersioningSupported(bool value) { m_isVersioningSupportedHasBeenSet = true; m_isVersioningSupported = value; }
148
150
155 inline bool GetIsAdvancedManagedRuleSet() const { return m_isAdvancedManagedRuleSet; }
156 inline bool IsAdvancedManagedRuleSetHasBeenSet() const { return m_isAdvancedManagedRuleSetHasBeenSet; }
157 inline void SetIsAdvancedManagedRuleSet(bool value) { m_isAdvancedManagedRuleSetHasBeenSet = true; m_isAdvancedManagedRuleSet = value; }
160 private:
161
162 Aws::String m_vendorName;
163 bool m_vendorNameHasBeenSet = false;
164
165 Aws::String m_managedRuleSetName;
166 bool m_managedRuleSetNameHasBeenSet = false;
167
168 Aws::String m_productId;
169 bool m_productIdHasBeenSet = false;
170
171 Aws::String m_productLink;
172 bool m_productLinkHasBeenSet = false;
173
174 Aws::String m_productTitle;
175 bool m_productTitleHasBeenSet = false;
176
177 Aws::String m_productDescription;
178 bool m_productDescriptionHasBeenSet = false;
179
180 Aws::String m_snsTopicArn;
181 bool m_snsTopicArnHasBeenSet = false;
182
183 bool m_isVersioningSupported{false};
184 bool m_isVersioningSupportedHasBeenSet = false;
185
186 bool m_isAdvancedManagedRuleSet{false};
187 bool m_isAdvancedManagedRuleSetHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace WAFV2
192} // namespace Aws
ManagedProductDescriptor & WithVendorName(VendorNameT &&value)
void SetProductDescription(ProductDescriptionT &&value)
AWS_WAFV2_API ManagedProductDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedProductDescriptor & WithProductTitle(ProductTitleT &&value)
ManagedProductDescriptor & WithManagedRuleSetName(ManagedRuleSetNameT &&value)
ManagedProductDescriptor & WithIsVersioningSupported(bool value)
ManagedProductDescriptor & WithProductDescription(ProductDescriptionT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API ManagedProductDescriptor(Aws::Utils::Json::JsonView jsonValue)
void SetManagedRuleSetName(ManagedRuleSetNameT &&value)
ManagedProductDescriptor & WithProductId(ProductIdT &&value)
ManagedProductDescriptor & WithIsAdvancedManagedRuleSet(bool value)
ManagedProductDescriptor & WithSnsTopicArn(SnsTopicArnT &&value)
ManagedProductDescriptor & WithProductLink(ProductLinkT &&value)
AWS_WAFV2_API ManagedProductDescriptor()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue