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-shield/include/aws/shield/model/AssociateDRTLogBucketRequest.h

86 lines
2.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/shield/Shield_EXPORTS.h>
#include <aws/shield/ShieldRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Shield
{
namespace Model
{
/**
*/
class AWS_SHIELD_API AssociateDRTLogBucketRequest : public ShieldRequest
{
public:
AssociateDRTLogBucketRequest();
// 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 "AssociateDRTLogBucket"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline const Aws::String& GetLogBucket() const{ return m_logBucket; }
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline bool LogBucketHasBeenSet() const { return m_logBucketHasBeenSet; }
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline void SetLogBucket(const Aws::String& value) { m_logBucketHasBeenSet = true; m_logBucket = value; }
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline void SetLogBucket(Aws::String&& value) { m_logBucketHasBeenSet = true; m_logBucket = std::move(value); }
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline void SetLogBucket(const char* value) { m_logBucketHasBeenSet = true; m_logBucket.assign(value); }
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline AssociateDRTLogBucketRequest& WithLogBucket(const Aws::String& value) { SetLogBucket(value); return *this;}
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline AssociateDRTLogBucketRequest& WithLogBucket(Aws::String&& value) { SetLogBucket(std::move(value)); return *this;}
/**
* <p>The Amazon S3 bucket that contains your AWS WAF logs.</p>
*/
inline AssociateDRTLogBucketRequest& WithLogBucket(const char* value) { SetLogBucket(value); return *this;}
private:
Aws::String m_logBucket;
bool m_logBucketHasBeenSet;
};
} // namespace Model
} // namespace Shield
} // namespace Aws