7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/wafv2/model/ManagedRuleSetVersion.h>
59 template<
typename NameT = Aws::String>
60 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
73 template<
typename IdT = Aws::String>
74 void SetId(
IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
75 template<
typename IdT = Aws::String>
85 template<
typename ARNT = Aws::String>
86 void SetARN(
ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
87 template<
typename ARNT = Aws::String>
97 template<
typename DescriptionT = Aws::String>
99 template<
typename DescriptionT = Aws::String>
110 template<
typename PublishedVersionsT = Aws::Map<Aws::String, ManagedRuleSetVersion>>
112 template<
typename PublishedVersionsT = Aws::Map<Aws::String, ManagedRuleSetVersion>>
114 template<
typename PublishedVersionsKeyT = Aws::String,
typename PublishedVersionsValueT = ManagedRuleSetVersion>
116 m_publishedVersionsHasBeenSet =
true; m_publishedVersions.emplace(std::forward<PublishedVersionsKeyT>(
key), std::forward<PublishedVersionsValueT>(value));
return *
this;
126 template<
typename RecommendedVersionT = Aws::String>
128 template<
typename RecommendedVersionT = Aws::String>
147 template<
typename LabelNamespaceT = Aws::String>
149 template<
typename LabelNamespaceT = Aws::String>
155 bool m_nameHasBeenSet =
false;
158 bool m_idHasBeenSet =
false;
161 bool m_aRNHasBeenSet =
false;
164 bool m_descriptionHasBeenSet =
false;
167 bool m_publishedVersionsHasBeenSet =
false;
170 bool m_recommendedVersionHasBeenSet =
false;
173 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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