/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/waf-regional/WAFRegionalRequest.h>
#include <aws/waf-regional/WAFRegional_EXPORTS.h>

#include <utility>

namespace Aws {
namespace WAFRegional {
namespace Model {

/**
 */
class GetRuleGroupRequest : public WAFRegionalRequest {
 public:
  AWS_WAFREGIONAL_API GetRuleGroupRequest() = default;

  // 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_WAFREGIONAL_API Aws::String SerializePayload() const override;

  AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;

  ///@{
  /**
   * <p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> that you want to get.
   * <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by
   * <a>ListRuleGroups</a>.</p>
   */
  inline const Aws::String& GetRuleGroupId() const { return m_ruleGroupId; }
  inline bool RuleGroupIdHasBeenSet() const { return m_ruleGroupIdHasBeenSet; }
  template <typename RuleGroupIdT = Aws::String>
  void SetRuleGroupId(RuleGroupIdT&& value) {
    m_ruleGroupIdHasBeenSet = true;
    m_ruleGroupId = std::forward<RuleGroupIdT>(value);
  }
  template <typename RuleGroupIdT = Aws::String>
  GetRuleGroupRequest& WithRuleGroupId(RuleGroupIdT&& value) {
    SetRuleGroupId(std::forward<RuleGroupIdT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_ruleGroupId;
  bool m_ruleGroupIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace WAFRegional
}  // namespace Aws
