AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBStorageConfiguration.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_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 ComputeOptimizer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration();
36 AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPUTEOPTIMIZER_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 DBStorageConfiguration& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
51 inline DBStorageConfiguration& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
52 inline DBStorageConfiguration& WithStorageType(const char* value) { SetStorageType(value); return *this;}
54
56
59 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
60 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
61 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
62 inline DBStorageConfiguration& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
64
66
69 inline int GetIops() const{ return m_iops; }
70 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
71 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
72 inline DBStorageConfiguration& WithIops(int value) { SetIops(value); return *this;}
74
76
80 inline int GetMaxAllocatedStorage() const{ return m_maxAllocatedStorage; }
81 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; }
82 inline void SetMaxAllocatedStorage(int value) { m_maxAllocatedStorageHasBeenSet = true; m_maxAllocatedStorage = value; }
83 inline DBStorageConfiguration& WithMaxAllocatedStorage(int value) { SetMaxAllocatedStorage(value); return *this;}
85
87
90 inline int GetStorageThroughput() const{ return m_storageThroughput; }
91 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
92 inline void SetStorageThroughput(int value) { m_storageThroughputHasBeenSet = true; m_storageThroughput = value; }
93 inline DBStorageConfiguration& WithStorageThroughput(int value) { SetStorageThroughput(value); return *this;}
95 private:
96
97 Aws::String m_storageType;
98 bool m_storageTypeHasBeenSet = false;
99
100 int m_allocatedStorage;
101 bool m_allocatedStorageHasBeenSet = false;
102
103 int m_iops;
104 bool m_iopsHasBeenSet = false;
105
106 int m_maxAllocatedStorage;
107 bool m_maxAllocatedStorageHasBeenSet = false;
108
109 int m_storageThroughput;
110 bool m_storageThroughputHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ComputeOptimizer
115} // namespace Aws
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DBStorageConfiguration & WithMaxAllocatedStorage(int value)
AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
DBStorageConfiguration & WithStorageThroughput(int value)
DBStorageConfiguration & WithStorageType(Aws::String &&value)
DBStorageConfiguration & WithStorageType(const char *value)
DBStorageConfiguration & WithStorageType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue