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

128 lines
4.2 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/WebACL.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 CreateWebACLResult
{
public:
CreateWebACLResult();
CreateWebACLResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateWebACLResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>
*/
inline const WebACL& GetWebACL() const{ return m_webACL; }
/**
* <p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>
*/
inline void SetWebACL(const WebACL& value) { m_webACL = value; }
/**
* <p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>
*/
inline void SetWebACL(WebACL&& value) { m_webACL = std::move(value); }
/**
* <p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>
*/
inline CreateWebACLResult& WithWebACL(const WebACL& value) { SetWebACL(value); return *this;}
/**
* <p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>
*/
inline CreateWebACLResult& WithWebACL(WebACL&& value) { SetWebACL(std::move(value)); return *this;}
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateWebACL</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>CreateWebACL</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>CreateWebACL</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>CreateWebACL</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>CreateWebACL</code> request. You can also use this value to query the
* status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline CreateWebACLResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateWebACL</code> request. You can also use this value to query the
* status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline CreateWebACLResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
/**
* <p>The <code>ChangeToken</code> that you used to submit the
* <code>CreateWebACL</code> request. You can also use this value to query the
* status of the request. For more information, see
* <a>GetChangeTokenStatus</a>.</p>
*/
inline CreateWebACLResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
private:
WebACL m_webACL;
Aws::String m_changeToken;
};
} // namespace Model
} // namespace WAF
} // namespace Aws