76 lines
2.2 KiB
C++
76 lines
2.2 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/wafv2/WAFV2_EXPORTS.h>
|
|
#include <aws/wafv2/WAFV2Request.h>
|
|
#include <aws/wafv2/model/LoggingConfiguration.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace WAFV2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_WAFV2_API PutLoggingConfigurationRequest : public WAFV2Request
|
|
{
|
|
public:
|
|
PutLoggingConfigurationRequest();
|
|
|
|
// 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 "PutLoggingConfiguration"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p/>
|
|
*/
|
|
inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
|
|
|
|
/**
|
|
* <p/>
|
|
*/
|
|
inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
|
|
|
|
/**
|
|
* <p/>
|
|
*/
|
|
inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
|
|
|
|
/**
|
|
* <p/>
|
|
*/
|
|
inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
|
|
|
|
/**
|
|
* <p/>
|
|
*/
|
|
inline PutLoggingConfigurationRequest& WithLoggingConfiguration(const LoggingConfiguration& value) { SetLoggingConfiguration(value); return *this;}
|
|
|
|
/**
|
|
* <p/>
|
|
*/
|
|
inline PutLoggingConfigurationRequest& WithLoggingConfiguration(LoggingConfiguration&& value) { SetLoggingConfiguration(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
LoggingConfiguration m_loggingConfiguration;
|
|
bool m_loggingConfigurationHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace WAFV2
|
|
} // namespace Aws
|