This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-waf/include/aws/waf/model/GetXssMatchSetRequest.h

105 lines
4.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/waf/WAF_EXPORTS.h>
#include <aws/waf/WAFRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace WAF
{
namespace Model
{
/**
* <p>A request to get an <a>XssMatchSet</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSetRequest">AWS
* API Reference</a></p>
*/
class AWS_WAF_API GetXssMatchSetRequest : public WAFRequest
{
public:
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::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline const Aws::String& GetXssMatchSetId() const{ return m_xssMatchSetId; }
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; }
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline void SetXssMatchSetId(const Aws::String& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = value; }
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline void SetXssMatchSetId(Aws::String&& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = std::move(value); }
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline void SetXssMatchSetId(const char* value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId.assign(value); }
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline GetXssMatchSetRequest& WithXssMatchSetId(const Aws::String& value) { SetXssMatchSetId(value); return *this;}
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline GetXssMatchSetRequest& WithXssMatchSetId(Aws::String&& value) { SetXssMatchSetId(std::move(value)); return *this;}
/**
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to
* get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by
* <a>ListXssMatchSets</a>.</p>
*/
inline GetXssMatchSetRequest& WithXssMatchSetId(const char* value) { SetXssMatchSetId(value); return *this;}
private:
Aws::String m_xssMatchSetId;
bool m_xssMatchSetIdHasBeenSet;
};
} // namespace Model
} // namespace WAF
} // namespace Aws