/** * 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 DataExchange { namespace Model { /** *

The Amazon S3 object that is the asset.

See Also:

AWS * API Reference

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

The size of the Amazon S3 object that is the object.

*/ inline double GetSize() const{ return m_size; } /** *

The size of the Amazon S3 object that is the object.

*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *

The size of the Amazon S3 object that is the object.

*/ inline void SetSize(double value) { m_sizeHasBeenSet = true; m_size = value; } /** *

The size of the Amazon S3 object that is the object.

*/ inline S3SnapshotAsset& WithSize(double value) { SetSize(value); return *this;} private: double m_size; bool m_sizeHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws