AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Capacity.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataSync
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_DATASYNC_API Capacity();
34 AWS_DATASYNC_API Capacity(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATASYNC_API Capacity& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetUsed() const{ return m_used; }
44 inline bool UsedHasBeenSet() const { return m_usedHasBeenSet; }
45 inline void SetUsed(long long value) { m_usedHasBeenSet = true; m_used = value; }
46 inline Capacity& WithUsed(long long value) { SetUsed(value); return *this;}
48
50
53 inline long long GetProvisioned() const{ return m_provisioned; }
54 inline bool ProvisionedHasBeenSet() const { return m_provisionedHasBeenSet; }
55 inline void SetProvisioned(long long value) { m_provisionedHasBeenSet = true; m_provisioned = value; }
56 inline Capacity& WithProvisioned(long long value) { SetProvisioned(value); return *this;}
58
60
64 inline long long GetLogicalUsed() const{ return m_logicalUsed; }
65 inline bool LogicalUsedHasBeenSet() const { return m_logicalUsedHasBeenSet; }
66 inline void SetLogicalUsed(long long value) { m_logicalUsedHasBeenSet = true; m_logicalUsed = value; }
67 inline Capacity& WithLogicalUsed(long long value) { SetLogicalUsed(value); return *this;}
69
71
75 inline long long GetClusterCloudStorageUsed() const{ return m_clusterCloudStorageUsed; }
76 inline bool ClusterCloudStorageUsedHasBeenSet() const { return m_clusterCloudStorageUsedHasBeenSet; }
77 inline void SetClusterCloudStorageUsed(long long value) { m_clusterCloudStorageUsedHasBeenSet = true; m_clusterCloudStorageUsed = value; }
78 inline Capacity& WithClusterCloudStorageUsed(long long value) { SetClusterCloudStorageUsed(value); return *this;}
80 private:
81
82 long long m_used;
83 bool m_usedHasBeenSet = false;
84
85 long long m_provisioned;
86 bool m_provisionedHasBeenSet = false;
87
88 long long m_logicalUsed;
89 bool m_logicalUsedHasBeenSet = false;
90
91 long long m_clusterCloudStorageUsed;
92 bool m_clusterCloudStorageUsedHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DataSync
97} // namespace Aws
void SetClusterCloudStorageUsed(long long value)
Definition Capacity.h:77
AWS_DATASYNC_API Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
Capacity & WithProvisioned(long long value)
Definition Capacity.h:56
bool ClusterCloudStorageUsedHasBeenSet() const
Definition Capacity.h:76
bool ProvisionedHasBeenSet() const
Definition Capacity.h:54
long long GetProvisioned() const
Definition Capacity.h:53
bool LogicalUsedHasBeenSet() const
Definition Capacity.h:65
Capacity & WithUsed(long long value)
Definition Capacity.h:46
void SetProvisioned(long long value)
Definition Capacity.h:55
long long GetLogicalUsed() const
Definition Capacity.h:64
void SetUsed(long long value)
Definition Capacity.h:45
long long GetClusterCloudStorageUsed() const
Definition Capacity.h:75
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetUsed() const
Definition Capacity.h:43
AWS_DATASYNC_API Capacity()
AWS_DATASYNC_API Capacity(Aws::Utils::Json::JsonView jsonValue)
Capacity & WithLogicalUsed(long long value)
Definition Capacity.h:67
Capacity & WithClusterCloudStorageUsed(long long value)
Definition Capacity.h:78
void SetLogicalUsed(long long value)
Definition Capacity.h:66
Aws::Utils::Json::JsonValue JsonValue