AWS SDK for C++  1.9.110
AWS SDK for C++
DescribeStorageResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace Redshift
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline double GetTotalBackupSizeInMegaBytes() const{ return m_totalBackupSizeInMegaBytes; }
39 
43  inline void SetTotalBackupSizeInMegaBytes(double value) { m_totalBackupSizeInMegaBytes = value; }
44 
48  inline DescribeStorageResult& WithTotalBackupSizeInMegaBytes(double value) { SetTotalBackupSizeInMegaBytes(value); return *this;}
49 
50 
54  inline double GetTotalProvisionedStorageInMegaBytes() const{ return m_totalProvisionedStorageInMegaBytes; }
55 
59  inline void SetTotalProvisionedStorageInMegaBytes(double value) { m_totalProvisionedStorageInMegaBytes = value; }
60 
64  inline DescribeStorageResult& WithTotalProvisionedStorageInMegaBytes(double value) { SetTotalProvisionedStorageInMegaBytes(value); return *this;}
65 
66 
67 
68  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 
70 
71  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 
73 
74  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
75 
76 
77  inline DescribeStorageResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 
79 
80  inline DescribeStorageResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
81 
82  private:
83 
84  double m_totalBackupSizeInMegaBytes;
85 
86  double m_totalProvisionedStorageInMegaBytes;
87 
88  ResponseMetadata m_responseMetadata;
89  };
90 
91 } // namespace Model
92 } // namespace Redshift
93 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeStorageResult::WithTotalBackupSizeInMegaBytes
DescribeStorageResult & WithTotalBackupSizeInMegaBytes(double value)
Definition: DescribeStorageResult.h:48
Aws::Redshift::Model::DescribeStorageResult::WithResponseMetadata
DescribeStorageResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeStorageResult.h:77
Aws::Redshift::Model::DescribeStorageResult::WithTotalProvisionedStorageInMegaBytes
DescribeStorageResult & WithTotalProvisionedStorageInMegaBytes(double value)
Definition: DescribeStorageResult.h:64
Aws::Redshift::Model::DescribeStorageResult::GetTotalBackupSizeInMegaBytes
double GetTotalBackupSizeInMegaBytes() const
Definition: DescribeStorageResult.h:38
Aws::Redshift::Model::DescribeStorageResult::SetTotalProvisionedStorageInMegaBytes
void SetTotalProvisionedStorageInMegaBytes(double value)
Definition: DescribeStorageResult.h:59
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeStorageResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeStorageResult.h:74
Aws::Redshift::Model::DescribeStorageResult::GetTotalProvisionedStorageInMegaBytes
double GetTotalProvisionedStorageInMegaBytes() const
Definition: DescribeStorageResult.h:54
Aws::Redshift::Model::DescribeStorageResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeStorageResult.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeStorageResult
Definition: DescribeStorageResult.h:28
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeStorageResult::DescribeStorageResult
DescribeStorageResult()
Aws::Redshift::Model::DescribeStorageResult::DescribeStorageResult
DescribeStorageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeStorageResult::WithResponseMetadata
DescribeStorageResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeStorageResult.h:80
ResponseMetadata.h
Aws::Redshift::Model::DescribeStorageResult::SetTotalBackupSizeInMegaBytes
void SetTotalBackupSizeInMegaBytes(double value)
Definition: DescribeStorageResult.h:43
Aws::Redshift::Model::DescribeStorageResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeStorageResult.h:71
Aws::Redshift::Model::DescribeStorageResult::operator=
DescribeStorageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)