133 lines
4.5 KiB
C++
133 lines
4.5 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/model/RegexMatchSet.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
|
|
{
|
|
class AWS_WAF_API CreateRegexMatchSetResult
|
|
{
|
|
public:
|
|
CreateRegexMatchSetResult();
|
|
CreateRegexMatchSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
CreateRegexMatchSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code>
|
|
* objects.</p>
|
|
*/
|
|
inline const RegexMatchSet& GetRegexMatchSet() const{ return m_regexMatchSet; }
|
|
|
|
/**
|
|
* <p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code>
|
|
* objects.</p>
|
|
*/
|
|
inline void SetRegexMatchSet(const RegexMatchSet& value) { m_regexMatchSet = value; }
|
|
|
|
/**
|
|
* <p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code>
|
|
* objects.</p>
|
|
*/
|
|
inline void SetRegexMatchSet(RegexMatchSet&& value) { m_regexMatchSet = std::move(value); }
|
|
|
|
/**
|
|
* <p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code>
|
|
* objects.</p>
|
|
*/
|
|
inline CreateRegexMatchSetResult& WithRegexMatchSet(const RegexMatchSet& value) { SetRegexMatchSet(value); return *this;}
|
|
|
|
/**
|
|
* <p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code>
|
|
* objects.</p>
|
|
*/
|
|
inline CreateRegexMatchSetResult& WithRegexMatchSet(RegexMatchSet&& value) { SetRegexMatchSet(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
* <code>CreateRegexMatchSet</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>CreateRegexMatchSet</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>CreateRegexMatchSet</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>CreateRegexMatchSet</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>CreateRegexMatchSet</code> request. You can also use this value to query
|
|
* the status of the request. For more information, see
|
|
* <a>GetChangeTokenStatus</a>.</p>
|
|
*/
|
|
inline CreateRegexMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
* <code>CreateRegexMatchSet</code> request. You can also use this value to query
|
|
* the status of the request. For more information, see
|
|
* <a>GetChangeTokenStatus</a>.</p>
|
|
*/
|
|
inline CreateRegexMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
* <code>CreateRegexMatchSet</code> request. You can also use this value to query
|
|
* the status of the request. For more information, see
|
|
* <a>GetChangeTokenStatus</a>.</p>
|
|
*/
|
|
inline CreateRegexMatchSetResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
RegexMatchSet m_regexMatchSet;
|
|
|
|
Aws::String m_changeToken;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace WAF
|
|
} // namespace Aws
|