AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DbInstanceForClusterSummary.h
1
6#pragma once
7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-influxdb/model/Status.h>
10#include <aws/timestream-influxdb/model/NetworkType.h>
11#include <aws/timestream-influxdb/model/DbInstanceType.h>
12#include <aws/timestream-influxdb/model/DbStorageType.h>
13#include <aws/timestream-influxdb/model/DeploymentType.h>
14#include <aws/timestream-influxdb/model/InstanceMode.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace TimestreamInfluxDB
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary() = default;
42 AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetId() const { return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 DbInstanceForClusterSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
64 inline const Aws::String& GetName() const { return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 DbInstanceForClusterSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetArn() const { return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 template<typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
80 template<typename ArnT = Aws::String>
81 DbInstanceForClusterSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
83
85
88 inline Status GetStatus() const { return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
91 inline DbInstanceForClusterSummary& WithStatus(Status value) { SetStatus(value); return *this;}
93
95
99 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
100 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
101 template<typename EndpointT = Aws::String>
102 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
103 template<typename EndpointT = Aws::String>
104 DbInstanceForClusterSummary& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
106
108
111 inline int GetPort() const { return m_port; }
112 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
113 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
114 inline DbInstanceForClusterSummary& WithPort(int value) { SetPort(value); return *this;}
116
118
123 inline NetworkType GetNetworkType() const { return m_networkType; }
124 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
125 inline void SetNetworkType(NetworkType value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
128
130
133 inline DbInstanceType GetDbInstanceType() const { return m_dbInstanceType; }
134 inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; }
135 inline void SetDbInstanceType(DbInstanceType value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; }
138
140
143 inline DbStorageType GetDbStorageType() const { return m_dbStorageType; }
144 inline bool DbStorageTypeHasBeenSet() const { return m_dbStorageTypeHasBeenSet; }
145 inline void SetDbStorageType(DbStorageType value) { m_dbStorageTypeHasBeenSet = true; m_dbStorageType = value; }
148
150
154 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
155 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
156 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
157 inline DbInstanceForClusterSummary& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
159
161
164 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
165 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
166 inline void SetDeploymentType(DeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
169
171
174 inline InstanceMode GetInstanceMode() const { return m_instanceMode; }
175 inline bool InstanceModeHasBeenSet() const { return m_instanceModeHasBeenSet; }
176 inline void SetInstanceMode(InstanceMode value) { m_instanceModeHasBeenSet = true; m_instanceMode = value; }
179 private:
180
181 Aws::String m_id;
182 bool m_idHasBeenSet = false;
183
184 Aws::String m_name;
185 bool m_nameHasBeenSet = false;
186
187 Aws::String m_arn;
188 bool m_arnHasBeenSet = false;
189
190 Status m_status{Status::NOT_SET};
191 bool m_statusHasBeenSet = false;
192
193 Aws::String m_endpoint;
194 bool m_endpointHasBeenSet = false;
195
196 int m_port{0};
197 bool m_portHasBeenSet = false;
198
199 NetworkType m_networkType{NetworkType::NOT_SET};
200 bool m_networkTypeHasBeenSet = false;
201
202 DbInstanceType m_dbInstanceType{DbInstanceType::NOT_SET};
203 bool m_dbInstanceTypeHasBeenSet = false;
204
205 DbStorageType m_dbStorageType{DbStorageType::NOT_SET};
206 bool m_dbStorageTypeHasBeenSet = false;
207
208 int m_allocatedStorage{0};
209 bool m_allocatedStorageHasBeenSet = false;
210
211 DeploymentType m_deploymentType{DeploymentType::NOT_SET};
212 bool m_deploymentTypeHasBeenSet = false;
213
214 InstanceMode m_instanceMode{InstanceMode::NOT_SET};
215 bool m_instanceModeHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace TimestreamInfluxDB
220} // namespace Aws
DbInstanceForClusterSummary & WithDbStorageType(DbStorageType value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary(Aws::Utils::Json::JsonView jsonValue)
DbInstanceForClusterSummary & WithDeploymentType(DeploymentType value)
AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const
DbInstanceForClusterSummary & WithEndpoint(EndpointT &&value)
DbInstanceForClusterSummary & WithInstanceMode(InstanceMode value)
DbInstanceForClusterSummary & WithDbInstanceType(DbInstanceType value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary()=default
DbInstanceForClusterSummary & WithNetworkType(NetworkType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue