/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Shield { namespace Model { /** */ class AssociateDRTLogBucketRequest : public ShieldRequest { public: AWS_SHIELD_API 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_SHIELD_API Aws::String SerializePayload() const override; AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline const Aws::String& GetLogBucket() const{ return m_logBucket; } /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline bool LogBucketHasBeenSet() const { return m_logBucketHasBeenSet; } /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline void SetLogBucket(const Aws::String& value) { m_logBucketHasBeenSet = true; m_logBucket = value; } /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline void SetLogBucket(Aws::String&& value) { m_logBucketHasBeenSet = true; m_logBucket = std::move(value); } /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline void SetLogBucket(const char* value) { m_logBucketHasBeenSet = true; m_logBucket.assign(value); } /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline AssociateDRTLogBucketRequest& WithLogBucket(const Aws::String& value) { SetLogBucket(value); return *this;} /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline AssociateDRTLogBucketRequest& WithLogBucket(Aws::String&& value) { SetLogBucket(std::move(value)); return *this;} /** *

The Amazon S3 bucket that contains the logs that you want to share.

*/ inline AssociateDRTLogBucketRequest& WithLogBucket(const char* value) { SetLogBucket(value); return *this;} private: Aws::String m_logBucket; bool m_logBucketHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws