AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteDbInstanceResult.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/core/utils/memory/stl/AWSVector.h>
15#include <aws/timestream-influxdb/model/LogDeliveryConfiguration.h>
16#include <aws/timestream-influxdb/model/InstanceMode.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace TimestreamInfluxDB
32{
33namespace Model
34{
36 {
37 public:
38 AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult() = default;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 DeleteDbInstanceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetName() const { return m_name; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 DeleteDbInstanceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetArn() const { return m_arn; }
71 template<typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
73 template<typename ArnT = Aws::String>
74 DeleteDbInstanceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
76
78
81 inline Status GetStatus() const { return m_status; }
82 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
83 inline DeleteDbInstanceResult& WithStatus(Status value) { SetStatus(value); return *this;}
85
87
91 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
92 template<typename EndpointT = Aws::String>
93 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
94 template<typename EndpointT = Aws::String>
95 DeleteDbInstanceResult& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
97
99
102 inline int GetPort() const { return m_port; }
103 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
104 inline DeleteDbInstanceResult& WithPort(int value) { SetPort(value); return *this;}
106
108
113 inline NetworkType GetNetworkType() const { return m_networkType; }
114 inline void SetNetworkType(NetworkType value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
115 inline DeleteDbInstanceResult& WithNetworkType(NetworkType value) { SetNetworkType(value); return *this;}
117
119
122 inline DbInstanceType GetDbInstanceType() const { return m_dbInstanceType; }
123 inline void SetDbInstanceType(DbInstanceType value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; }
126
128
131 inline DbStorageType GetDbStorageType() const { return m_dbStorageType; }
132 inline void SetDbStorageType(DbStorageType value) { m_dbStorageTypeHasBeenSet = true; m_dbStorageType = value; }
135
137
140 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
141 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
142 inline DeleteDbInstanceResult& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
144
146
150 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
151 inline void SetDeploymentType(DeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
154
156
159 inline const Aws::Vector<Aws::String>& GetVpcSubnetIds() const { return m_vpcSubnetIds; }
160 template<typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
161 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet = true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
162 template<typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
163 DeleteDbInstanceResult& WithVpcSubnetIds(VpcSubnetIdsT&& value) { SetVpcSubnetIds(std::forward<VpcSubnetIdsT>(value)); return *this;}
164 template<typename VpcSubnetIdsT = Aws::String>
165 DeleteDbInstanceResult& AddVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet = true; m_vpcSubnetIds.emplace_back(std::forward<VpcSubnetIdsT>(value)); return *this; }
167
169
172 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
173 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
174 inline DeleteDbInstanceResult& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
176
178
181 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
182 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
183 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
184 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
185 DeleteDbInstanceResult& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value)); return *this;}
186 template<typename VpcSecurityGroupIdsT = Aws::String>
187 DeleteDbInstanceResult& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value)); return *this; }
189
191
194 inline const Aws::String& GetDbParameterGroupIdentifier() const { return m_dbParameterGroupIdentifier; }
195 template<typename DbParameterGroupIdentifierT = Aws::String>
196 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
197 template<typename DbParameterGroupIdentifierT = Aws::String>
198 DeleteDbInstanceResult& WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { SetDbParameterGroupIdentifier(std::forward<DbParameterGroupIdentifierT>(value)); return *this;}
200
202
205 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
206 template<typename AvailabilityZoneT = Aws::String>
207 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
208 template<typename AvailabilityZoneT = Aws::String>
209 DeleteDbInstanceResult& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
211
213
217 inline const Aws::String& GetSecondaryAvailabilityZone() const { return m_secondaryAvailabilityZone; }
218 template<typename SecondaryAvailabilityZoneT = Aws::String>
219 void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT&& value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone = std::forward<SecondaryAvailabilityZoneT>(value); }
220 template<typename SecondaryAvailabilityZoneT = Aws::String>
221 DeleteDbInstanceResult& WithSecondaryAvailabilityZone(SecondaryAvailabilityZoneT&& value) { SetSecondaryAvailabilityZone(std::forward<SecondaryAvailabilityZoneT>(value)); return *this;}
223
225
229 inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const { return m_logDeliveryConfiguration; }
230 template<typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
231 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
232 template<typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
233 DeleteDbInstanceResult& WithLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { SetLogDeliveryConfiguration(std::forward<LogDeliveryConfigurationT>(value)); return *this;}
235
237
243 inline const Aws::String& GetInfluxAuthParametersSecretArn() const { return m_influxAuthParametersSecretArn; }
244 template<typename InfluxAuthParametersSecretArnT = Aws::String>
245 void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT&& value) { m_influxAuthParametersSecretArnHasBeenSet = true; m_influxAuthParametersSecretArn = std::forward<InfluxAuthParametersSecretArnT>(value); }
246 template<typename InfluxAuthParametersSecretArnT = Aws::String>
247 DeleteDbInstanceResult& WithInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT&& value) { SetInfluxAuthParametersSecretArn(std::forward<InfluxAuthParametersSecretArnT>(value)); return *this;}
249
251
254 inline const Aws::String& GetDbClusterId() const { return m_dbClusterId; }
255 template<typename DbClusterIdT = Aws::String>
256 void SetDbClusterId(DbClusterIdT&& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = std::forward<DbClusterIdT>(value); }
257 template<typename DbClusterIdT = Aws::String>
258 DeleteDbInstanceResult& WithDbClusterId(DbClusterIdT&& value) { SetDbClusterId(std::forward<DbClusterIdT>(value)); return *this;}
260
262
265 inline InstanceMode GetInstanceMode() const { return m_instanceMode; }
266 inline void SetInstanceMode(InstanceMode value) { m_instanceModeHasBeenSet = true; m_instanceMode = value; }
269
271
272 inline const Aws::String& GetRequestId() const { return m_requestId; }
273 template<typename RequestIdT = Aws::String>
274 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
275 template<typename RequestIdT = Aws::String>
276 DeleteDbInstanceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
278 private:
279
280 Aws::String m_id;
281 bool m_idHasBeenSet = false;
282
283 Aws::String m_name;
284 bool m_nameHasBeenSet = false;
285
286 Aws::String m_arn;
287 bool m_arnHasBeenSet = false;
288
289 Status m_status{Status::NOT_SET};
290 bool m_statusHasBeenSet = false;
291
292 Aws::String m_endpoint;
293 bool m_endpointHasBeenSet = false;
294
295 int m_port{0};
296 bool m_portHasBeenSet = false;
297
298 NetworkType m_networkType{NetworkType::NOT_SET};
299 bool m_networkTypeHasBeenSet = false;
300
301 DbInstanceType m_dbInstanceType{DbInstanceType::NOT_SET};
302 bool m_dbInstanceTypeHasBeenSet = false;
303
304 DbStorageType m_dbStorageType{DbStorageType::NOT_SET};
305 bool m_dbStorageTypeHasBeenSet = false;
306
307 int m_allocatedStorage{0};
308 bool m_allocatedStorageHasBeenSet = false;
309
310 DeploymentType m_deploymentType{DeploymentType::NOT_SET};
311 bool m_deploymentTypeHasBeenSet = false;
312
313 Aws::Vector<Aws::String> m_vpcSubnetIds;
314 bool m_vpcSubnetIdsHasBeenSet = false;
315
316 bool m_publiclyAccessible{false};
317 bool m_publiclyAccessibleHasBeenSet = false;
318
319 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
320 bool m_vpcSecurityGroupIdsHasBeenSet = false;
321
322 Aws::String m_dbParameterGroupIdentifier;
323 bool m_dbParameterGroupIdentifierHasBeenSet = false;
324
325 Aws::String m_availabilityZone;
326 bool m_availabilityZoneHasBeenSet = false;
327
328 Aws::String m_secondaryAvailabilityZone;
329 bool m_secondaryAvailabilityZoneHasBeenSet = false;
330
331 LogDeliveryConfiguration m_logDeliveryConfiguration;
332 bool m_logDeliveryConfigurationHasBeenSet = false;
333
334 Aws::String m_influxAuthParametersSecretArn;
335 bool m_influxAuthParametersSecretArnHasBeenSet = false;
336
337 Aws::String m_dbClusterId;
338 bool m_dbClusterIdHasBeenSet = false;
339
340 InstanceMode m_instanceMode{InstanceMode::NOT_SET};
341 bool m_instanceModeHasBeenSet = false;
342
343 Aws::String m_requestId;
344 bool m_requestIdHasBeenSet = false;
345 };
346
347} // namespace Model
348} // namespace TimestreamInfluxDB
349} // namespace Aws
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
DeleteDbInstanceResult & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
DeleteDbInstanceResult & WithSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
DeleteDbInstanceResult & WithInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
DeleteDbInstanceResult & WithNetworkType(NetworkType value)
DeleteDbInstanceResult & WithDbStorageType(DbStorageType value)
void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
DeleteDbInstanceResult & WithDeploymentType(DeploymentType value)
DeleteDbInstanceResult & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult()=default
DeleteDbInstanceResult & AddVpcSubnetIds(VpcSubnetIdsT &&value)
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
DeleteDbInstanceResult & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
DeleteDbInstanceResult & WithInstanceMode(InstanceMode value)
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
DeleteDbInstanceResult & WithDbClusterId(DbClusterIdT &&value)
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
DeleteDbInstanceResult & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
DeleteDbInstanceResult & WithRequestId(RequestIdT &&value)
DeleteDbInstanceResult & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
DeleteDbInstanceResult & WithEndpoint(EndpointT &&value)
DeleteDbInstanceResult & WithDbInstanceType(DbInstanceType value)
DeleteDbInstanceResult & WithVpcSubnetIds(VpcSubnetIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue