7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/model/RuleSummary.h>
11#include <aws/wafv2/model/LabelSummary.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename VersionNameT = Aws::String>
44 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet =
true; m_versionName = std::forward<VersionNameT>(value); }
45 template<
typename VersionNameT = Aws::String>
60 template<
typename SnsTopicArnT = Aws::String>
61 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
62 template<
typename SnsTopicArnT = Aws::String>
80 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
89 template<
typename RulesT = Aws::Vector<RuleSummary>>
90 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
91 template<
typename RulesT = Aws::Vector<RuleSummary>>
93 template<
typename RulesT = RuleSummary>
110 template<
typename LabelNamespaceT = Aws::String>
111 void SetLabelNamespace(LabelNamespaceT&& value) { m_labelNamespaceHasBeenSet =
true; m_labelNamespace = std::forward<LabelNamespaceT>(value); }
112 template<
typename LabelNamespaceT = Aws::String>
123 template<
typename AvailableLabelsT = Aws::Vector<LabelSummary>>
124 void SetAvailableLabels(AvailableLabelsT&& value) { m_availableLabelsHasBeenSet =
true; m_availableLabels = std::forward<AvailableLabelsT>(value); }
125 template<
typename AvailableLabelsT = Aws::Vector<LabelSummary>>
127 template<
typename AvailableLabelsT = LabelSummary>
138 template<
typename ConsumedLabelsT = Aws::Vector<LabelSummary>>
139 void SetConsumedLabels(ConsumedLabelsT&& value) { m_consumedLabelsHasBeenSet =
true; m_consumedLabels = std::forward<ConsumedLabelsT>(value); }
140 template<
typename ConsumedLabelsT = Aws::Vector<LabelSummary>>
142 template<
typename ConsumedLabelsT = LabelSummary>
149 template<
typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
151 template<
typename RequestIdT = Aws::String>
157 bool m_versionNameHasBeenSet =
false;
160 bool m_snsTopicArnHasBeenSet =
false;
162 long long m_capacity{0};
163 bool m_capacityHasBeenSet =
false;
166 bool m_rulesHasBeenSet =
false;
169 bool m_labelNamespaceHasBeenSet =
false;
172 bool m_availableLabelsHasBeenSet =
false;
175 bool m_consumedLabelsHasBeenSet =
false;
178 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetRules(RulesT &&value)
void SetRequestId(RequestIdT &&value)
void SetAvailableLabels(AvailableLabelsT &&value)
AWS_WAFV2_API DescribeManagedRuleGroupResult()=default
AWS_WAFV2_API DescribeManagedRuleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeManagedRuleGroupResult & WithVersionName(VersionNameT &&value)
const Aws::Vector< LabelSummary > & GetConsumedLabels() const
AWS_WAFV2_API DescribeManagedRuleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
long long GetCapacity() const
void SetSnsTopicArn(SnsTopicArnT &&value)
DescribeManagedRuleGroupResult & AddAvailableLabels(AvailableLabelsT &&value)
DescribeManagedRuleGroupResult & WithSnsTopicArn(SnsTopicArnT &&value)
DescribeManagedRuleGroupResult & WithLabelNamespace(LabelNamespaceT &&value)
DescribeManagedRuleGroupResult & WithRequestId(RequestIdT &&value)
DescribeManagedRuleGroupResult & AddRules(RulesT &&value)
DescribeManagedRuleGroupResult & WithCapacity(long long value)
DescribeManagedRuleGroupResult & WithAvailableLabels(AvailableLabelsT &&value)
void SetCapacity(long long value)
const Aws::String & GetSnsTopicArn() const
const Aws::Vector< RuleSummary > & GetRules() const
const Aws::String & GetLabelNamespace() const
void SetConsumedLabels(ConsumedLabelsT &&value)
void SetVersionName(VersionNameT &&value)
const Aws::Vector< LabelSummary > & GetAvailableLabels() const
DescribeManagedRuleGroupResult & WithRules(RulesT &&value)
const Aws::String & GetVersionName() const
DescribeManagedRuleGroupResult & AddConsumedLabels(ConsumedLabelsT &&value)
DescribeManagedRuleGroupResult & WithConsumedLabels(ConsumedLabelsT &&value)
void SetLabelNamespace(LabelNamespaceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue