/**
 * 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/WAFRequest.h>
#include <aws/waf/WAF_EXPORTS.h>

#include <utility>

namespace Aws {
namespace WAF {
namespace Model {

/**
 */
class GetByteMatchSetRequest : public WAFRequest {
 public:
  AWS_WAF_API GetByteMatchSetRequest() = 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 "GetByteMatchSet"; }

  AWS_WAF_API Aws::String SerializePayload() const override;

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

  ///@{
  /**
   * <p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to
   * get. <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by
   * <a>ListByteMatchSets</a>.</p>
   */
  inline const Aws::String& GetByteMatchSetId() const { return m_byteMatchSetId; }
  inline bool ByteMatchSetIdHasBeenSet() const { return m_byteMatchSetIdHasBeenSet; }
  template <typename ByteMatchSetIdT = Aws::String>
  void SetByteMatchSetId(ByteMatchSetIdT&& value) {
    m_byteMatchSetIdHasBeenSet = true;
    m_byteMatchSetId = std::forward<ByteMatchSetIdT>(value);
  }
  template <typename ByteMatchSetIdT = Aws::String>
  GetByteMatchSetRequest& WithByteMatchSetId(ByteMatchSetIdT&& value) {
    SetByteMatchSetId(std::forward<ByteMatchSetIdT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_byteMatchSetId;
  bool m_byteMatchSetIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace WAF
}  // namespace Aws
