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

Container for S3 Glacier job parameters.

See Also:

AWS * API Reference

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

Retrieval tier at which the restore will be processed.

*/ inline const Tier& GetTier() const{ return m_tier; } /** *

Retrieval tier at which the restore will be processed.

*/ inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } /** *

Retrieval tier at which the restore will be processed.

*/ inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; } /** *

Retrieval tier at which the restore will be processed.

*/ inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } /** *

Retrieval tier at which the restore will be processed.

*/ inline GlacierJobParameters& WithTier(const Tier& value) { SetTier(value); return *this;} /** *

Retrieval tier at which the restore will be processed.

*/ inline GlacierJobParameters& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;} private: Tier m_tier; bool m_tierHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws