AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/DbInstanceType.h>
11#include <aws/timestream-influxdb/model/DbStorageType.h>
12#include <aws/timestream-influxdb/model/DeploymentType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/timestream-influxdb/model/LogDeliveryConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace TimestreamInfluxDB
30{
31namespace Model
32{
34 {
35 public:
36 AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult();
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline void SetId(const Aws::String& value) { m_id = value; }
47 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
48 inline void SetId(const char* value) { m_id.assign(value); }
49 inline DeleteDbInstanceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline DeleteDbInstanceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline DeleteDbInstanceResult& WithId(const char* value) { SetId(value); return *this;}
53
55
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline void SetName(const Aws::String& value) { m_name = value; }
61 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
62 inline void SetName(const char* value) { m_name.assign(value); }
63 inline DeleteDbInstanceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline DeleteDbInstanceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline DeleteDbInstanceResult& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetArn() const{ return m_arn; }
73 inline void SetArn(const Aws::String& value) { m_arn = value; }
74 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
75 inline void SetArn(const char* value) { m_arn.assign(value); }
76 inline DeleteDbInstanceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
77 inline DeleteDbInstanceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 inline DeleteDbInstanceResult& WithArn(const char* value) { SetArn(value); return *this;}
80
82
85 inline const Status& GetStatus() const{ return m_status; }
86 inline void SetStatus(const Status& value) { m_status = value; }
87 inline void SetStatus(Status&& value) { m_status = std::move(value); }
88 inline DeleteDbInstanceResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
89 inline DeleteDbInstanceResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
91
93
97 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
98 inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; }
99 inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); }
100 inline void SetEndpoint(const char* value) { m_endpoint.assign(value); }
101 inline DeleteDbInstanceResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
102 inline DeleteDbInstanceResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
103 inline DeleteDbInstanceResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
105
107
110 inline int GetPort() const{ return m_port; }
111 inline void SetPort(int value) { m_port = value; }
112 inline DeleteDbInstanceResult& WithPort(int value) { SetPort(value); return *this;}
114
116
119 inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; }
120 inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceType = value; }
121 inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceType = std::move(value); }
122 inline DeleteDbInstanceResult& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;}
123 inline DeleteDbInstanceResult& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;}
125
127
130 inline const DbStorageType& GetDbStorageType() const{ return m_dbStorageType; }
131 inline void SetDbStorageType(const DbStorageType& value) { m_dbStorageType = value; }
132 inline void SetDbStorageType(DbStorageType&& value) { m_dbStorageType = std::move(value); }
133 inline DeleteDbInstanceResult& WithDbStorageType(const DbStorageType& value) { SetDbStorageType(value); return *this;}
134 inline DeleteDbInstanceResult& WithDbStorageType(DbStorageType&& value) { SetDbStorageType(std::move(value)); return *this;}
136
138
141 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
142 inline void SetAllocatedStorage(int value) { m_allocatedStorage = value; }
143 inline DeleteDbInstanceResult& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
145
147
151 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
152 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentType = value; }
153 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentType = std::move(value); }
154 inline DeleteDbInstanceResult& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
155 inline DeleteDbInstanceResult& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
157
159
162 inline const Aws::Vector<Aws::String>& GetVpcSubnetIds() const{ return m_vpcSubnetIds; }
163 inline void SetVpcSubnetIds(const Aws::Vector<Aws::String>& value) { m_vpcSubnetIds = value; }
164 inline void SetVpcSubnetIds(Aws::Vector<Aws::String>&& value) { m_vpcSubnetIds = std::move(value); }
166 inline DeleteDbInstanceResult& WithVpcSubnetIds(Aws::Vector<Aws::String>&& value) { SetVpcSubnetIds(std::move(value)); return *this;}
167 inline DeleteDbInstanceResult& AddVpcSubnetIds(const Aws::String& value) { m_vpcSubnetIds.push_back(value); return *this; }
168 inline DeleteDbInstanceResult& AddVpcSubnetIds(Aws::String&& value) { m_vpcSubnetIds.push_back(std::move(value)); return *this; }
169 inline DeleteDbInstanceResult& AddVpcSubnetIds(const char* value) { m_vpcSubnetIds.push_back(value); return *this; }
171
173
176 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
177 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessible = value; }
178 inline DeleteDbInstanceResult& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
180
182
185 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
186 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIds = value; }
187 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIds = std::move(value); }
190 inline DeleteDbInstanceResult& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIds.push_back(value); return *this; }
191 inline DeleteDbInstanceResult& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
192 inline DeleteDbInstanceResult& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIds.push_back(value); return *this; }
194
196
199 inline const Aws::String& GetDbParameterGroupIdentifier() const{ return m_dbParameterGroupIdentifier; }
200 inline void SetDbParameterGroupIdentifier(const Aws::String& value) { m_dbParameterGroupIdentifier = value; }
201 inline void SetDbParameterGroupIdentifier(Aws::String&& value) { m_dbParameterGroupIdentifier = std::move(value); }
202 inline void SetDbParameterGroupIdentifier(const char* value) { m_dbParameterGroupIdentifier.assign(value); }
207
209
212 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
213 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZone = value; }
214 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZone = std::move(value); }
215 inline void SetAvailabilityZone(const char* value) { m_availabilityZone.assign(value); }
216 inline DeleteDbInstanceResult& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
217 inline DeleteDbInstanceResult& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
218 inline DeleteDbInstanceResult& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
220
222
226 inline const Aws::String& GetSecondaryAvailabilityZone() const{ return m_secondaryAvailabilityZone; }
227 inline void SetSecondaryAvailabilityZone(const Aws::String& value) { m_secondaryAvailabilityZone = value; }
228 inline void SetSecondaryAvailabilityZone(Aws::String&& value) { m_secondaryAvailabilityZone = std::move(value); }
229 inline void SetSecondaryAvailabilityZone(const char* value) { m_secondaryAvailabilityZone.assign(value); }
234
236
240 inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const{ return m_logDeliveryConfiguration; }
241 inline void SetLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { m_logDeliveryConfiguration = value; }
242 inline void SetLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { m_logDeliveryConfiguration = std::move(value); }
246
248
254 inline const Aws::String& GetInfluxAuthParametersSecretArn() const{ return m_influxAuthParametersSecretArn; }
255 inline void SetInfluxAuthParametersSecretArn(const Aws::String& value) { m_influxAuthParametersSecretArn = value; }
256 inline void SetInfluxAuthParametersSecretArn(Aws::String&& value) { m_influxAuthParametersSecretArn = std::move(value); }
257 inline void SetInfluxAuthParametersSecretArn(const char* value) { m_influxAuthParametersSecretArn.assign(value); }
262
264
265 inline const Aws::String& GetRequestId() const{ return m_requestId; }
266 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
267 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
268 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
269 inline DeleteDbInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
270 inline DeleteDbInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
271 inline DeleteDbInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
273 private:
274
275 Aws::String m_id;
276
277 Aws::String m_name;
278
279 Aws::String m_arn;
280
281 Status m_status;
282
283 Aws::String m_endpoint;
284
285 int m_port;
286
287 DbInstanceType m_dbInstanceType;
288
289 DbStorageType m_dbStorageType;
290
291 int m_allocatedStorage;
292
293 DeploymentType m_deploymentType;
294
295 Aws::Vector<Aws::String> m_vpcSubnetIds;
296
297 bool m_publiclyAccessible;
298
299 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
300
301 Aws::String m_dbParameterGroupIdentifier;
302
303 Aws::String m_availabilityZone;
304
305 Aws::String m_secondaryAvailabilityZone;
306
307 LogDeliveryConfiguration m_logDeliveryConfiguration;
308
309 Aws::String m_influxAuthParametersSecretArn;
310
311 Aws::String m_requestId;
312 };
313
314} // namespace Model
315} // namespace TimestreamInfluxDB
316} // namespace Aws
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteDbInstanceResult & WithDbStorageType(const DbStorageType &value)
DeleteDbInstanceResult & WithDbInstanceType(DbInstanceType &&value)
DeleteDbInstanceResult & AddVpcSecurityGroupIds(Aws::String &&value)
DeleteDbInstanceResult & WithEndpoint(Aws::String &&value)
DeleteDbInstanceResult & WithId(const char *value)
DeleteDbInstanceResult & WithLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
DeleteDbInstanceResult & AddVpcSecurityGroupIds(const char *value)
DeleteDbInstanceResult & WithInfluxAuthParametersSecretArn(Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
DeleteDbInstanceResult & WithStatus(Status &&value)
DeleteDbInstanceResult & WithArn(const Aws::String &value)
DeleteDbInstanceResult & WithDbParameterGroupIdentifier(const char *value)
void SetLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
DeleteDbInstanceResult & WithInfluxAuthParametersSecretArn(const Aws::String &value)
DeleteDbInstanceResult & WithStatus(const Status &value)
DeleteDbInstanceResult & WithSecondaryAvailabilityZone(Aws::String &&value)
DeleteDbInstanceResult & WithRequestId(const Aws::String &value)
DeleteDbInstanceResult & WithName(Aws::String &&value)
DeleteDbInstanceResult & WithVpcSubnetIds(Aws::Vector< Aws::String > &&value)
DeleteDbInstanceResult & WithArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
DeleteDbInstanceResult & WithInfluxAuthParametersSecretArn(const char *value)
DeleteDbInstanceResult & WithDeploymentType(DeploymentType &&value)
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteDbInstanceResult & WithSecondaryAvailabilityZone(const char *value)
DeleteDbInstanceResult & WithVpcSubnetIds(const Aws::Vector< Aws::String > &value)
DeleteDbInstanceResult & WithAvailabilityZone(Aws::String &&value)
DeleteDbInstanceResult & WithEndpoint(const char *value)
DeleteDbInstanceResult & WithRequestId(const char *value)
void SetVpcSubnetIds(const Aws::Vector< Aws::String > &value)
DeleteDbInstanceResult & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
DeleteDbInstanceResult & AddVpcSubnetIds(Aws::String &&value)
DeleteDbInstanceResult & WithDbStorageType(DbStorageType &&value)
DeleteDbInstanceResult & WithName(const Aws::String &value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
DeleteDbInstanceResult & WithDbParameterGroupIdentifier(Aws::String &&value)
DeleteDbInstanceResult & WithArn(const char *value)
DeleteDbInstanceResult & WithName(const char *value)
DeleteDbInstanceResult & WithDbParameterGroupIdentifier(const Aws::String &value)
DeleteDbInstanceResult & WithEndpoint(const Aws::String &value)
void SetVpcSubnetIds(Aws::Vector< Aws::String > &&value)
DeleteDbInstanceResult & WithAvailabilityZone(const Aws::String &value)
DeleteDbInstanceResult & WithId(const Aws::String &value)
DeleteDbInstanceResult & WithLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
DeleteDbInstanceResult & AddVpcSubnetIds(const char *value)
void SetLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
DeleteDbInstanceResult & WithAvailabilityZone(const char *value)
DeleteDbInstanceResult & WithDbInstanceType(const DbInstanceType &value)
DeleteDbInstanceResult & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
DeleteDbInstanceResult & WithId(Aws::String &&value)
DeleteDbInstanceResult & AddVpcSecurityGroupIds(const Aws::String &value)
DeleteDbInstanceResult & AddVpcSubnetIds(const Aws::String &value)
DeleteDbInstanceResult & WithSecondaryAvailabilityZone(const Aws::String &value)
DeleteDbInstanceResult & WithDeploymentType(const DeploymentType &value)
DeleteDbInstanceResult & WithRequestId(Aws::String &&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