AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsRequirements.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_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 DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements();
36 AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEngineEdition() const{ return m_engineEdition; }
46 inline bool EngineEditionHasBeenSet() const { return m_engineEditionHasBeenSet; }
47 inline void SetEngineEdition(const Aws::String& value) { m_engineEditionHasBeenSet = true; m_engineEdition = value; }
48 inline void SetEngineEdition(Aws::String&& value) { m_engineEditionHasBeenSet = true; m_engineEdition = std::move(value); }
49 inline void SetEngineEdition(const char* value) { m_engineEditionHasBeenSet = true; m_engineEdition.assign(value); }
50 inline RdsRequirements& WithEngineEdition(const Aws::String& value) { SetEngineEdition(value); return *this;}
51 inline RdsRequirements& WithEngineEdition(Aws::String&& value) { SetEngineEdition(std::move(value)); return *this;}
52 inline RdsRequirements& WithEngineEdition(const char* value) { SetEngineEdition(value); return *this;}
54
56
59 inline double GetInstanceVcpu() const{ return m_instanceVcpu; }
60 inline bool InstanceVcpuHasBeenSet() const { return m_instanceVcpuHasBeenSet; }
61 inline void SetInstanceVcpu(double value) { m_instanceVcpuHasBeenSet = true; m_instanceVcpu = value; }
62 inline RdsRequirements& WithInstanceVcpu(double value) { SetInstanceVcpu(value); return *this;}
64
66
69 inline double GetInstanceMemory() const{ return m_instanceMemory; }
70 inline bool InstanceMemoryHasBeenSet() const { return m_instanceMemoryHasBeenSet; }
71 inline void SetInstanceMemory(double value) { m_instanceMemoryHasBeenSet = true; m_instanceMemory = value; }
72 inline RdsRequirements& WithInstanceMemory(double value) { SetInstanceMemory(value); return *this;}
74
76
79 inline int GetStorageSize() const{ return m_storageSize; }
80 inline bool StorageSizeHasBeenSet() const { return m_storageSizeHasBeenSet; }
81 inline void SetStorageSize(int value) { m_storageSizeHasBeenSet = true; m_storageSize = value; }
82 inline RdsRequirements& WithStorageSize(int value) { SetStorageSize(value); return *this;}
84
86
90 inline int GetStorageIops() const{ return m_storageIops; }
91 inline bool StorageIopsHasBeenSet() const { return m_storageIopsHasBeenSet; }
92 inline void SetStorageIops(int value) { m_storageIopsHasBeenSet = true; m_storageIops = value; }
93 inline RdsRequirements& WithStorageIops(int value) { SetStorageIops(value); return *this;}
95
97
102 inline const Aws::String& GetDeploymentOption() const{ return m_deploymentOption; }
103 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
104 inline void SetDeploymentOption(const Aws::String& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = value; }
105 inline void SetDeploymentOption(Aws::String&& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = std::move(value); }
106 inline void SetDeploymentOption(const char* value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption.assign(value); }
107 inline RdsRequirements& WithDeploymentOption(const Aws::String& value) { SetDeploymentOption(value); return *this;}
108 inline RdsRequirements& WithDeploymentOption(Aws::String&& value) { SetDeploymentOption(std::move(value)); return *this;}
109 inline RdsRequirements& WithDeploymentOption(const char* value) { SetDeploymentOption(value); return *this;}
111
113
116 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
117 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
118 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
119 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
120 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
121 inline RdsRequirements& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
122 inline RdsRequirements& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
123 inline RdsRequirements& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
125 private:
126
127 Aws::String m_engineEdition;
128 bool m_engineEditionHasBeenSet = false;
129
130 double m_instanceVcpu;
131 bool m_instanceVcpuHasBeenSet = false;
132
133 double m_instanceMemory;
134 bool m_instanceMemoryHasBeenSet = false;
135
136 int m_storageSize;
137 bool m_storageSizeHasBeenSet = false;
138
139 int m_storageIops;
140 bool m_storageIopsHasBeenSet = false;
141
142 Aws::String m_deploymentOption;
143 bool m_deploymentOptionHasBeenSet = false;
144
145 Aws::String m_engineVersion;
146 bool m_engineVersionHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace DatabaseMigrationService
151} // namespace Aws
RdsRequirements & WithEngineVersion(Aws::String &&value)
RdsRequirements & WithEngineEdition(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements()
RdsRequirements & WithEngineEdition(const Aws::String &value)
RdsRequirements & WithDeploymentOption(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RdsRequirements & WithEngineEdition(const char *value)
RdsRequirements & WithEngineVersion(const char *value)
RdsRequirements & WithDeploymentOption(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements(Aws::Utils::Json::JsonView jsonValue)
RdsRequirements & WithDeploymentOption(const char *value)
RdsRequirements & WithEngineVersion(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue