7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/model/Scope.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wafv2/model/Rule.h>
51 inline void SetScope(
Scope value) { m_scopeHasBeenSet =
true; m_scope = value; }
62 template<
typename RulesT = Aws::Vector<Rule>>
63 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
64 template<
typename RulesT = Aws::Vector<Rule>>
66 template<
typename RulesT = Rule>
72 bool m_scopeHasBeenSet =
false;
75 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