/** * 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 GetRuleGroupRequest : public WAFRequest { public: AWS_WAF_API GetRuleGroupRequest(); // 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 "GetRuleGroup"; } AWS_WAF_API Aws::String SerializePayload() const override; AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline const Aws::String& GetRuleGroupId() const{ return m_ruleGroupId; } /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline bool RuleGroupIdHasBeenSet() const { return m_ruleGroupIdHasBeenSet; } /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline void SetRuleGroupId(const Aws::String& value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId = value; } /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline void SetRuleGroupId(Aws::String&& value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId = std::move(value); } /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline void SetRuleGroupId(const char* value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId.assign(value); } /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline GetRuleGroupRequest& WithRuleGroupId(const Aws::String& value) { SetRuleGroupId(value); return *this;} /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline GetRuleGroupRequest& WithRuleGroupId(Aws::String&& value) { SetRuleGroupId(std::move(value)); return *this;} /** *

The RuleGroupId of the RuleGroup that you want to get. * RuleGroupId is returned by CreateRuleGroup and by * ListRuleGroups.

*/ inline GetRuleGroupRequest& WithRuleGroupId(const char* value) { SetRuleGroupId(value); return *this;} private: Aws::String m_ruleGroupId; bool m_ruleGroupIdHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws