/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a storage volume recovery point object.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) of the volume target.
*/ inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; } /** *The Amazon Resource Name (ARN) of the volume target.
*/ inline bool VolumeARNHasBeenSet() const { return m_volumeARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the volume target.
*/ inline void SetVolumeARN(const Aws::String& value) { m_volumeARNHasBeenSet = true; m_volumeARN = value; } /** *The Amazon Resource Name (ARN) of the volume target.
*/ inline void SetVolumeARN(Aws::String&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the volume target.
*/ inline void SetVolumeARN(const char* value) { m_volumeARNHasBeenSet = true; m_volumeARN.assign(value); } /** *The Amazon Resource Name (ARN) of the volume target.
*/ inline VolumeRecoveryPointInfo& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the volume target.
*/ inline VolumeRecoveryPointInfo& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the volume target.
*/ inline VolumeRecoveryPointInfo& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;} /** *The size of the volume in bytes.
*/ inline long long GetVolumeSizeInBytes() const{ return m_volumeSizeInBytes; } /** *The size of the volume in bytes.
*/ inline bool VolumeSizeInBytesHasBeenSet() const { return m_volumeSizeInBytesHasBeenSet; } /** *The size of the volume in bytes.
*/ inline void SetVolumeSizeInBytes(long long value) { m_volumeSizeInBytesHasBeenSet = true; m_volumeSizeInBytes = value; } /** *The size of the volume in bytes.
*/ inline VolumeRecoveryPointInfo& WithVolumeSizeInBytes(long long value) { SetVolumeSizeInBytes(value); return *this;} /** *The size of the data stored on the volume in bytes.
This value * is not available for volumes created prior to May 13, 2015, until you store data * on the volume.
*/ inline long long GetVolumeUsageInBytes() const{ return m_volumeUsageInBytes; } /** *The size of the data stored on the volume in bytes.
This value * is not available for volumes created prior to May 13, 2015, until you store data * on the volume.
*/ inline bool VolumeUsageInBytesHasBeenSet() const { return m_volumeUsageInBytesHasBeenSet; } /** *The size of the data stored on the volume in bytes.
This value * is not available for volumes created prior to May 13, 2015, until you store data * on the volume.
*/ inline void SetVolumeUsageInBytes(long long value) { m_volumeUsageInBytesHasBeenSet = true; m_volumeUsageInBytes = value; } /** *The size of the data stored on the volume in bytes.
This value * is not available for volumes created prior to May 13, 2015, until you store data * on the volume.
*/ inline VolumeRecoveryPointInfo& WithVolumeUsageInBytes(long long value) { SetVolumeUsageInBytes(value); return *this;} /** *The time the recovery point was taken.
*/ inline const Aws::String& GetVolumeRecoveryPointTime() const{ return m_volumeRecoveryPointTime; } /** *The time the recovery point was taken.
*/ inline bool VolumeRecoveryPointTimeHasBeenSet() const { return m_volumeRecoveryPointTimeHasBeenSet; } /** *The time the recovery point was taken.
*/ inline void SetVolumeRecoveryPointTime(const Aws::String& value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime = value; } /** *The time the recovery point was taken.
*/ inline void SetVolumeRecoveryPointTime(Aws::String&& value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime = std::move(value); } /** *The time the recovery point was taken.
*/ inline void SetVolumeRecoveryPointTime(const char* value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime.assign(value); } /** *The time the recovery point was taken.
*/ inline VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(const Aws::String& value) { SetVolumeRecoveryPointTime(value); return *this;} /** *The time the recovery point was taken.
*/ inline VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(Aws::String&& value) { SetVolumeRecoveryPointTime(std::move(value)); return *this;} /** *The time the recovery point was taken.
*/ inline VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(const char* value) { SetVolumeRecoveryPointTime(value); return *this;} private: Aws::String m_volumeARN; bool m_volumeARNHasBeenSet = false; long long m_volumeSizeInBytes; bool m_volumeSizeInBytesHasBeenSet = false; long long m_volumeUsageInBytes; bool m_volumeUsageInBytesHasBeenSet = false; Aws::String m_volumeRecoveryPointTime; bool m_volumeRecoveryPointTimeHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws