AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
48 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
49 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
50 inline RdsDbInstanceStorageConfiguration& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
51 inline RdsDbInstanceStorageConfiguration& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
52 inline RdsDbInstanceStorageConfiguration& WithStorageType(const char* value) { SetStorageType(value); return *this;}
54
56
59 inline double GetAllocatedStorageInGb() const{ return m_allocatedStorageInGb; }
60 inline bool AllocatedStorageInGbHasBeenSet() const { return m_allocatedStorageInGbHasBeenSet; }
61 inline void SetAllocatedStorageInGb(double value) { m_allocatedStorageInGbHasBeenSet = true; m_allocatedStorageInGb = value; }
64
66
70 inline double GetIops() const{ return m_iops; }
71 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
72 inline void SetIops(double value) { m_iopsHasBeenSet = true; m_iops = value; }
73 inline RdsDbInstanceStorageConfiguration& WithIops(double value) { SetIops(value); return *this;}
75
77
80 inline double GetStorageThroughput() const{ return m_storageThroughput; }
81 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
82 inline void SetStorageThroughput(double value) { m_storageThroughputHasBeenSet = true; m_storageThroughput = value; }
85 private:
86
87 Aws::String m_storageType;
88 bool m_storageTypeHasBeenSet = false;
89
90 double m_allocatedStorageInGb;
91 bool m_allocatedStorageInGbHasBeenSet = false;
92
93 double m_iops;
94 bool m_iopsHasBeenSet = false;
95
96 double m_storageThroughput;
97 bool m_storageThroughputHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CostOptimizationHub
102} // namespace Aws
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
RdsDbInstanceStorageConfiguration & WithStorageType(const Aws::String &value)
RdsDbInstanceStorageConfiguration & WithStorageType(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsDbInstanceStorageConfiguration & WithStorageType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue