/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the real-time status of a Snow device's data transfer while the
* device is at Amazon Web Services. This data is only available while a job has a
* JobState
value of InProgress
, for both import and
* export jobs.See Also:
AWS
* API Reference
The number of bytes transferred between a Snow device and Amazon S3.
*/ inline long long GetBytesTransferred() const{ return m_bytesTransferred; } /** *The number of bytes transferred between a Snow device and Amazon S3.
*/ inline bool BytesTransferredHasBeenSet() const { return m_bytesTransferredHasBeenSet; } /** *The number of bytes transferred between a Snow device and Amazon S3.
*/ inline void SetBytesTransferred(long long value) { m_bytesTransferredHasBeenSet = true; m_bytesTransferred = value; } /** *The number of bytes transferred between a Snow device and Amazon S3.
*/ inline DataTransfer& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;} /** *The number of objects transferred between a Snow device and Amazon S3.
*/ inline long long GetObjectsTransferred() const{ return m_objectsTransferred; } /** *The number of objects transferred between a Snow device and Amazon S3.
*/ inline bool ObjectsTransferredHasBeenSet() const { return m_objectsTransferredHasBeenSet; } /** *The number of objects transferred between a Snow device and Amazon S3.
*/ inline void SetObjectsTransferred(long long value) { m_objectsTransferredHasBeenSet = true; m_objectsTransferred = value; } /** *The number of objects transferred between a Snow device and Amazon S3.
*/ inline DataTransfer& WithObjectsTransferred(long long value) { SetObjectsTransferred(value); return *this;} /** *The total bytes of data for a transfer between a Snow device and Amazon S3. * This value is set to 0 (zero) until all the keys that will be transferred have * been listed.
*/ inline long long GetTotalBytes() const{ return m_totalBytes; } /** *The total bytes of data for a transfer between a Snow device and Amazon S3. * This value is set to 0 (zero) until all the keys that will be transferred have * been listed.
*/ inline bool TotalBytesHasBeenSet() const { return m_totalBytesHasBeenSet; } /** *The total bytes of data for a transfer between a Snow device and Amazon S3. * This value is set to 0 (zero) until all the keys that will be transferred have * been listed.
*/ inline void SetTotalBytes(long long value) { m_totalBytesHasBeenSet = true; m_totalBytes = value; } /** *The total bytes of data for a transfer between a Snow device and Amazon S3. * This value is set to 0 (zero) until all the keys that will be transferred have * been listed.
*/ inline DataTransfer& WithTotalBytes(long long value) { SetTotalBytes(value); return *this;} /** *The total number of objects for a transfer between a Snow device and Amazon * S3. This value is set to 0 (zero) until all the keys that will be transferred * have been listed.
*/ inline long long GetTotalObjects() const{ return m_totalObjects; } /** *The total number of objects for a transfer between a Snow device and Amazon * S3. This value is set to 0 (zero) until all the keys that will be transferred * have been listed.
*/ inline bool TotalObjectsHasBeenSet() const { return m_totalObjectsHasBeenSet; } /** *The total number of objects for a transfer between a Snow device and Amazon * S3. This value is set to 0 (zero) until all the keys that will be transferred * have been listed.
*/ inline void SetTotalObjects(long long value) { m_totalObjectsHasBeenSet = true; m_totalObjects = value; } /** *The total number of objects for a transfer between a Snow device and Amazon * S3. This value is set to 0 (zero) until all the keys that will be transferred * have been listed.
*/ inline DataTransfer& WithTotalObjects(long long value) { SetTotalObjects(value); return *this;} private: long long m_bytesTransferred; bool m_bytesTransferredHasBeenSet = false; long long m_objectsTransferred; bool m_objectsTransferredHasBeenSet = false; long long m_totalBytes; bool m_totalBytesHasBeenSet = false; long long m_totalObjects; bool m_totalObjectsHasBeenSet = false; }; } // namespace Model } // namespace Snowball } // namespace Aws