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

The container for abort incomplete multipart upload

See Also:

* AWS * API Reference

*/ class AbortIncompleteMultipartUpload { public: AWS_S3CONTROL_API AbortIncompleteMultipartUpload(); AWS_S3CONTROL_API AbortIncompleteMultipartUpload(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API AbortIncompleteMultipartUpload& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

Specifies the number of days after which Amazon S3 aborts an incomplete * multipart upload to the Outposts bucket.

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

Specifies the number of days after which Amazon S3 aborts an incomplete * multipart upload to the Outposts bucket.

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

Specifies the number of days after which Amazon S3 aborts an incomplete * multipart upload to the Outposts bucket.

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

Specifies the number of days after which Amazon S3 aborts an incomplete * multipart upload to the Outposts bucket.

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