AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VolumeRecoveryPointInfo.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace StorageGateway
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_STORAGEGATEWAY_API VolumeRecoveryPointInfo() = default;
36 AWS_STORAGEGATEWAY_API VolumeRecoveryPointInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetVolumeARN() const { return m_volumeARN; }
46 inline bool VolumeARNHasBeenSet() const { return m_volumeARNHasBeenSet; }
47 template<typename VolumeARNT = Aws::String>
48 void SetVolumeARN(VolumeARNT&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::forward<VolumeARNT>(value); }
49 template<typename VolumeARNT = Aws::String>
50 VolumeRecoveryPointInfo& WithVolumeARN(VolumeARNT&& value) { SetVolumeARN(std::forward<VolumeARNT>(value)); return *this;}
52
54
57 inline long long GetVolumeSizeInBytes() const { return m_volumeSizeInBytes; }
58 inline bool VolumeSizeInBytesHasBeenSet() const { return m_volumeSizeInBytesHasBeenSet; }
59 inline void SetVolumeSizeInBytes(long long value) { m_volumeSizeInBytesHasBeenSet = true; m_volumeSizeInBytes = value; }
60 inline VolumeRecoveryPointInfo& WithVolumeSizeInBytes(long long value) { SetVolumeSizeInBytes(value); return *this;}
62
64
69 inline long long GetVolumeUsageInBytes() const { return m_volumeUsageInBytes; }
70 inline bool VolumeUsageInBytesHasBeenSet() const { return m_volumeUsageInBytesHasBeenSet; }
71 inline void SetVolumeUsageInBytes(long long value) { m_volumeUsageInBytesHasBeenSet = true; m_volumeUsageInBytes = value; }
72 inline VolumeRecoveryPointInfo& WithVolumeUsageInBytes(long long value) { SetVolumeUsageInBytes(value); return *this;}
74
76
79 inline const Aws::String& GetVolumeRecoveryPointTime() const { return m_volumeRecoveryPointTime; }
80 inline bool VolumeRecoveryPointTimeHasBeenSet() const { return m_volumeRecoveryPointTimeHasBeenSet; }
81 template<typename VolumeRecoveryPointTimeT = Aws::String>
82 void SetVolumeRecoveryPointTime(VolumeRecoveryPointTimeT&& value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime = std::forward<VolumeRecoveryPointTimeT>(value); }
83 template<typename VolumeRecoveryPointTimeT = Aws::String>
84 VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(VolumeRecoveryPointTimeT&& value) { SetVolumeRecoveryPointTime(std::forward<VolumeRecoveryPointTimeT>(value)); return *this;}
86 private:
87
88 Aws::String m_volumeARN;
89 bool m_volumeARNHasBeenSet = false;
90
91 long long m_volumeSizeInBytes{0};
92 bool m_volumeSizeInBytesHasBeenSet = false;
93
94 long long m_volumeUsageInBytes{0};
95 bool m_volumeUsageInBytesHasBeenSet = false;
96
97 Aws::String m_volumeRecoveryPointTime;
98 bool m_volumeRecoveryPointTimeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace StorageGateway
103} // namespace Aws
AWS_STORAGEGATEWAY_API VolumeRecoveryPointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
VolumeRecoveryPointInfo & WithVolumeRecoveryPointTime(VolumeRecoveryPointTimeT &&value)
void SetVolumeRecoveryPointTime(VolumeRecoveryPointTimeT &&value)
AWS_STORAGEGATEWAY_API VolumeRecoveryPointInfo(Aws::Utils::Json::JsonView jsonValue)
VolumeRecoveryPointInfo & WithVolumeARN(VolumeARNT &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
VolumeRecoveryPointInfo & WithVolumeUsageInBytes(long long value)
VolumeRecoveryPointInfo & WithVolumeSizeInBytes(long long value)
AWS_STORAGEGATEWAY_API VolumeRecoveryPointInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue