AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RdsDbInstanceStorageConfiguration.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_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 CostOptimizationHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorageConfiguration() = default;
36 AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorageConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStorageType() const { return m_storageType; }
46 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
47 template<typename StorageTypeT = Aws::String>
48 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
49 template<typename StorageTypeT = Aws::String>
50 RdsDbInstanceStorageConfiguration& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
52
54
57 inline double GetAllocatedStorageInGb() const { return m_allocatedStorageInGb; }
58 inline bool AllocatedStorageInGbHasBeenSet() const { return m_allocatedStorageInGbHasBeenSet; }
59 inline void SetAllocatedStorageInGb(double value) { m_allocatedStorageInGbHasBeenSet = true; m_allocatedStorageInGb = value; }
62
64
68 inline double GetIops() const { return m_iops; }
69 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
70 inline void SetIops(double value) { m_iopsHasBeenSet = true; m_iops = value; }
71 inline RdsDbInstanceStorageConfiguration& WithIops(double value) { SetIops(value); return *this;}
73
75
78 inline double GetStorageThroughput() const { return m_storageThroughput; }
79 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
80 inline void SetStorageThroughput(double value) { m_storageThroughputHasBeenSet = true; m_storageThroughput = value; }
83 private:
84
85 Aws::String m_storageType;
86 bool m_storageTypeHasBeenSet = false;
87
88 double m_allocatedStorageInGb{0.0};
89 bool m_allocatedStorageInGbHasBeenSet = false;
90
91 double m_iops{0.0};
92 bool m_iopsHasBeenSet = false;
93
94 double m_storageThroughput{0.0};
95 bool m_storageThroughputHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CostOptimizationHub
100} // namespace Aws
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorageConfiguration()=default
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsDbInstanceStorageConfiguration & WithStorageType(StorageTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue