7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/Rule.h>
11#include <aws/wafv2/model/Scope.h>
48 m_scopeHasBeenSet =
true;
64 template <
typename RulesT = Aws::Vector<Rule>>
66 m_rulesHasBeenSet =
true;
67 m_rules = std::forward<RulesT>(value);
69 template <
typename RulesT = Aws::Vector<Rule>>
71 SetRules(std::forward<RulesT>(value));
74 template <
typename RulesT = Rule>
76 m_rulesHasBeenSet =
true;
77 m_rules.emplace_back(std::forward<RulesT>(value));
85 bool m_scopeHasBeenSet =
false;
86 bool m_rulesHasBeenSet =
false;
const Aws::Vector< Rule > & GetRules() const
bool RulesHasBeenSet() const
bool ScopeHasBeenSet() const
void SetScope(Scope value)
virtual const char * GetServiceRequestName() const override
AWS_WAFV2_API Aws::String SerializePayload() const override
CheckCapacityRequest & WithScope(Scope value)
AWS_WAFV2_API CheckCapacityRequest()=default
CheckCapacityRequest & AddRules(RulesT &&value)
void SetRules(RulesT &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CheckCapacityRequest & WithRules(RulesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector