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/CreateSqlInjectionMatchSetResult.h

134 lines
4.7 KiB
C
Raw Normal View History

/**
* 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/model/SqlInjectionMatchSet.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace WAF
{
namespace Model
{
/**
* <p>The response to a <code>CreateSqlInjectionMatchSet</code>
* request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSetResponse">AWS
* API Reference</a></p>
*/
class AWS_WAF_API CreateSqlInjectionMatchSetResult
{
public:
CreateSqlInjectionMatchSetResult();
CreateSqlInjectionMatchSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateSqlInjectionMatchSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A <a>SqlInjectionMatchSet</a>.</p>
*/
inline const SqlInjectionMatchSet& GetSqlInjectionMatchSet() const{ return m_sqlInjectionMatchSet; }
/**
* <p>A <a>SqlInjectionMatchSet</a>.</p>
*/
inline void SetSqlInjectionMatchSet(const SqlInjectionMatchSet& value) { m_sqlInjectionMatchSet = value; }
/**
* <p>A <a>SqlInjectionMatchSet</a>.</p>
*/
inline void SetSqlInjectionMatchSet(SqlInjectionMatchSet&& value) { m_sqlInjectionMatchSet = std::move(value); }
/**
* <p>A <a>SqlInjectionMatchSet</a>.</p>
*/
inline CreateSqlInjectionMatchSetResult& WithSqlInjectionMatchSet(const SqlInjectionMatchSet& value) { SetSqlInjectionMatchSet(value); return *this;}
/**
* <p>A <a>SqlInjectionMatchSet</a>.</p>
*/
inline CreateSqlInjectionMatchSetResult& WithSqlInjectionMatchSet(SqlInjectionMatchSet&& value) { SetSqlInjectionMatchSet(std::move(value)); return *this;}
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to
* query the status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to
* query the status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline void SetChangeToken(const Aws::String& value) { m_changeToken = value; }
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to
* query the status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline void SetChangeToken(Aws::String&& value) { m_changeToken = std::move(value); }
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to
* query the status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline void SetChangeToken(const char* value) { m_changeToken.assign(value); }
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to
* query the status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline CreateSqlInjectionMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to
* query the status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline CreateSqlInjectionMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to
* query the status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline CreateSqlInjectionMatchSetResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
private:
SqlInjectionMatchSet m_sqlInjectionMatchSet;
Aws::String m_changeToken;
};
} // namespace Model
} // namespace WAF
} // namespace Aws