AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVolumeARN(const Aws::String& value) { m_volumeARNHasBeenSet = true; m_volumeARN = value; }
48 inline void SetVolumeARN(Aws::String&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::move(value); }
49 inline void SetVolumeARN(const char* value) { m_volumeARNHasBeenSet = true; m_volumeARN.assign(value); }
50 inline VolumeRecoveryPointInfo& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
51 inline VolumeRecoveryPointInfo& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
52 inline VolumeRecoveryPointInfo& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
54
56
59 inline long long GetVolumeSizeInBytes() const{ return m_volumeSizeInBytes; }
60 inline bool VolumeSizeInBytesHasBeenSet() const { return m_volumeSizeInBytesHasBeenSet; }
61 inline void SetVolumeSizeInBytes(long long value) { m_volumeSizeInBytesHasBeenSet = true; m_volumeSizeInBytes = value; }
62 inline VolumeRecoveryPointInfo& WithVolumeSizeInBytes(long long value) { SetVolumeSizeInBytes(value); return *this;}
64
66
71 inline long long GetVolumeUsageInBytes() const{ return m_volumeUsageInBytes; }
72 inline bool VolumeUsageInBytesHasBeenSet() const { return m_volumeUsageInBytesHasBeenSet; }
73 inline void SetVolumeUsageInBytes(long long value) { m_volumeUsageInBytesHasBeenSet = true; m_volumeUsageInBytes = value; }
74 inline VolumeRecoveryPointInfo& WithVolumeUsageInBytes(long long value) { SetVolumeUsageInBytes(value); return *this;}
76
78
81 inline const Aws::String& GetVolumeRecoveryPointTime() const{ return m_volumeRecoveryPointTime; }
82 inline bool VolumeRecoveryPointTimeHasBeenSet() const { return m_volumeRecoveryPointTimeHasBeenSet; }
83 inline void SetVolumeRecoveryPointTime(const Aws::String& value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime = value; }
84 inline void SetVolumeRecoveryPointTime(Aws::String&& value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime = std::move(value); }
85 inline void SetVolumeRecoveryPointTime(const char* value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime.assign(value); }
88 inline VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(const char* value) { SetVolumeRecoveryPointTime(value); return *this;}
90 private:
91
92 Aws::String m_volumeARN;
93 bool m_volumeARNHasBeenSet = false;
94
95 long long m_volumeSizeInBytes;
96 bool m_volumeSizeInBytesHasBeenSet = false;
97
98 long long m_volumeUsageInBytes;
99 bool m_volumeUsageInBytesHasBeenSet = false;
100
101 Aws::String m_volumeRecoveryPointTime;
102 bool m_volumeRecoveryPointTimeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace StorageGateway
107} // namespace Aws
AWS_STORAGEGATEWAY_API VolumeRecoveryPointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
VolumeRecoveryPointInfo & WithVolumeARN(Aws::String &&value)
VolumeRecoveryPointInfo & WithVolumeRecoveryPointTime(const Aws::String &value)
VolumeRecoveryPointInfo & WithVolumeRecoveryPointTime(const char *value)
VolumeRecoveryPointInfo & WithVolumeARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API VolumeRecoveryPointInfo(Aws::Utils::Json::JsonView jsonValue)
VolumeRecoveryPointInfo & WithVolumeARN(const char *value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
VolumeRecoveryPointInfo & WithVolumeUsageInBytes(long long value)
VolumeRecoveryPointInfo & WithVolumeRecoveryPointTime(Aws::String &&value)
VolumeRecoveryPointInfo & WithVolumeSizeInBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue