/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace WAF { namespace Model { /** */ class GetRateBasedRuleManagedKeysRequest : public WAFRequest { public: AWS_WAF_API GetRateBasedRuleManagedKeysRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetRateBasedRuleManagedKeys"; } AWS_WAF_API Aws::String SerializePayload() const override; AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline const Aws::String& GetRuleId() const{ return m_ruleId; } /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; } /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; } /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); } /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); } /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline GetRateBasedRuleManagedKeysRequest& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;} /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline GetRateBasedRuleManagedKeysRequest& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;} /** *

The RuleId of the RateBasedRule for which you want to get * a list of ManagedKeys. RuleId is returned by * CreateRateBasedRule and by ListRateBasedRules.

*/ inline GetRateBasedRuleManagedKeysRequest& WithRuleId(const char* value) { SetRuleId(value); return *this;} /** *

A null value and not currently used. Do not include this in your request.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

A null value and not currently used. Do not include this in your request.

*/ inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; } /** *

A null value and not currently used. Do not include this in your request.

*/ inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; } /** *

A null value and not currently used. Do not include this in your request.

*/ inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); } /** *

A null value and not currently used. Do not include this in your request.

*/ inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); } /** *

A null value and not currently used. Do not include this in your request.

*/ inline GetRateBasedRuleManagedKeysRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

A null value and not currently used. Do not include this in your request.

*/ inline GetRateBasedRuleManagedKeysRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

A null value and not currently used. Do not include this in your request.

*/ inline GetRateBasedRuleManagedKeysRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} private: Aws::String m_ruleId; bool m_ruleIdHasBeenSet = false; Aws::String m_nextMarker; bool m_nextMarkerHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws