/**
* 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
{
/**
* A request to get an XssMatchSet.
See Also:
AWS
* API Reference
*/
class GetXssMatchSetRequest : public WAFRequest
{
public:
AWS_WAF_API GetXssMatchSetRequest();
// 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 "GetXssMatchSet"; }
AWS_WAF_API Aws::String SerializePayload() const override;
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline const Aws::String& GetXssMatchSetId() const{ return m_xssMatchSetId; }
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; }
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline void SetXssMatchSetId(const Aws::String& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = value; }
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline void SetXssMatchSetId(Aws::String&& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = std::move(value); }
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline void SetXssMatchSetId(const char* value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId.assign(value); }
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline GetXssMatchSetRequest& WithXssMatchSetId(const Aws::String& value) { SetXssMatchSetId(value); return *this;}
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline GetXssMatchSetRequest& WithXssMatchSetId(Aws::String&& value) { SetXssMatchSetId(std::move(value)); return *this;}
/**
* The XssMatchSetId
of the XssMatchSet that you want to
* get. XssMatchSetId
is returned by CreateXssMatchSet and by
* ListXssMatchSets.
*/
inline GetXssMatchSetRequest& WithXssMatchSetId(const char* value) { SetXssMatchSetId(value); return *this;}
private:
Aws::String m_xssMatchSetId;
bool m_xssMatchSetIdHasBeenSet = false;
};
} // namespace Model
} // namespace WAF
} // namespace Aws