/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Information about what Amazon S3 does when a multipart upload is * incomplete.

See Also:

AWS * API Reference

*/ class AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails { public: AWS_SECURITYHUB_API AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails(); AWS_SECURITYHUB_API AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of days after which Amazon S3 cancels an incomplete multipart * upload.

*/ inline int GetDaysAfterInitiation() const{ return m_daysAfterInitiation; } /** *

The number of days after which Amazon S3 cancels an incomplete multipart * upload.

*/ inline bool DaysAfterInitiationHasBeenSet() const { return m_daysAfterInitiationHasBeenSet; } /** *

The number of days after which Amazon S3 cancels an incomplete multipart * upload.

*/ inline void SetDaysAfterInitiation(int value) { m_daysAfterInitiationHasBeenSet = true; m_daysAfterInitiation = value; } /** *

The number of days after which Amazon S3 cancels an incomplete multipart * upload.

*/ inline AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails& WithDaysAfterInitiation(int value) { SetDaysAfterInitiation(value); return *this;} private: int m_daysAfterInitiation; bool m_daysAfterInitiationHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws