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