7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/ManagedRuleSetVersion.h>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
73 template <
typename IdT = Aws::String>
75 m_idHasBeenSet =
true;
76 m_id = std::forward<IdT>(value);
78 template <
typename IdT = Aws::String>
80 SetId(std::forward<IdT>(value));
91 template <
typename ARNT = Aws::String>
93 m_aRNHasBeenSet =
true;
94 m_aRN = std::forward<ARNT>(value);
96 template <
typename ARNT = Aws::String>
98 SetARN(std::forward<ARNT>(value));
109 template <
typename DescriptionT = Aws::String>
111 m_descriptionHasBeenSet =
true;
112 m_description = std::forward<DescriptionT>(value);
114 template <
typename DescriptionT = Aws::String>
128 template <
typename PublishedVersionsT = Aws::Map<Aws::String, ManagedRuleSetVersion>>
130 m_publishedVersionsHasBeenSet =
true;
131 m_publishedVersions = std::forward<PublishedVersionsT>(value);
133 template <
typename PublishedVersionsT = Aws::Map<Aws::String, ManagedRuleSetVersion>>
138 template <
typename PublishedVersionsKeyT = Aws::String,
typename PublishedVersionsValueT = ManagedRuleSetVersion>
140 m_publishedVersionsHasBeenSet =
true;
141 m_publishedVersions.emplace(std::forward<PublishedVersionsKeyT>(key), std::forward<PublishedVersionsValueT>(value));
152 template <
typename RecommendedVersionT = Aws::String>
154 m_recommendedVersionHasBeenSet =
true;
155 m_recommendedVersion = std::forward<RecommendedVersionT>(value);
157 template <
typename RecommendedVersionT = Aws::String>
179 template <
typename LabelNamespaceT = Aws::String>
181 m_labelNamespaceHasBeenSet =
true;
182 m_labelNamespace = std::forward<LabelNamespaceT>(value);
184 template <
typename LabelNamespaceT = Aws::String>
204 bool m_nameHasBeenSet =
false;
205 bool m_idHasBeenSet =
false;
206 bool m_aRNHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
208 bool m_publishedVersionsHasBeenSet =
false;
209 bool m_recommendedVersionHasBeenSet =
false;
210 bool m_labelNamespaceHasBeenSet =
false;
ManagedRuleSet & WithLabelNamespace(LabelNamespaceT &&value)
bool NameHasBeenSet() const
void SetDescription(DescriptionT &&value)
ManagedRuleSet & WithName(NameT &&value)
const Aws::String & GetRecommendedVersion() const
void SetARN(ARNT &&value)
void SetName(NameT &&value)
bool PublishedVersionsHasBeenSet() const
const Aws::String & GetDescription() const
ManagedRuleSet & WithId(IdT &&value)
ManagedRuleSet & WithARN(ARNT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
const Aws::String & GetId() const
ManagedRuleSet & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
void SetPublishedVersions(PublishedVersionsT &&value)
bool ARNHasBeenSet() const
void SetRecommendedVersion(RecommendedVersionT &&value)
const Aws::String & GetARN() const
const Aws::Map< Aws::String, ManagedRuleSetVersion > & GetPublishedVersions() const
const Aws::String & GetName() const
const Aws::String & GetLabelNamespace() const
AWS_WAFV2_API ManagedRuleSet()=default
bool LabelNamespaceHasBeenSet() const
ManagedRuleSet & WithPublishedVersions(PublishedVersionsT &&value)
bool RecommendedVersionHasBeenSet() const
AWS_WAFV2_API ManagedRuleSet(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleSet & WithRecommendedVersion(RecommendedVersionT &&value)
void SetLabelNamespace(LabelNamespaceT &&value)
ManagedRuleSet & AddPublishedVersions(PublishedVersionsKeyT &&key, PublishedVersionsValueT &&value)
AWS_WAFV2_API ManagedRuleSet & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue