AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDbInstanceResult.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 UpdateDbInstanceResult();
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 UpdateDbInstanceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline UpdateDbInstanceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline UpdateDbInstanceResult& WithId(const char* value) { SetId(value); return *this;}
53
55
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline void SetName(const Aws::String& value) { m_name = value; }
62 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
63 inline void SetName(const char* value) { m_name.assign(value); }
64 inline UpdateDbInstanceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline UpdateDbInstanceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline UpdateDbInstanceResult& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetArn() const{ return m_arn; }
74 inline void SetArn(const Aws::String& value) { m_arn = value; }
75 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
76 inline void SetArn(const char* value) { m_arn.assign(value); }
77 inline UpdateDbInstanceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
78 inline UpdateDbInstanceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
79 inline UpdateDbInstanceResult& WithArn(const char* value) { SetArn(value); return *this;}
81
83
86 inline const Status& GetStatus() const{ return m_status; }
87 inline void SetStatus(const Status& value) { m_status = value; }
88 inline void SetStatus(Status&& value) { m_status = std::move(value); }
89 inline UpdateDbInstanceResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
90 inline UpdateDbInstanceResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
92
94
98 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
99 inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; }
100 inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); }
101 inline void SetEndpoint(const char* value) { m_endpoint.assign(value); }
102 inline UpdateDbInstanceResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
103 inline UpdateDbInstanceResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
104 inline UpdateDbInstanceResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
106
108
111 inline int GetPort() const{ return m_port; }
112 inline void SetPort(int value) { m_port = value; }
113 inline UpdateDbInstanceResult& WithPort(int value) { SetPort(value); return *this;}
115
117
120 inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; }
121 inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceType = value; }
122 inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceType = std::move(value); }
123 inline UpdateDbInstanceResult& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;}
124 inline UpdateDbInstanceResult& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;}
126
128
131 inline const DbStorageType& GetDbStorageType() const{ return m_dbStorageType; }
132 inline void SetDbStorageType(const DbStorageType& value) { m_dbStorageType = value; }
133 inline void SetDbStorageType(DbStorageType&& value) { m_dbStorageType = std::move(value); }
134 inline UpdateDbInstanceResult& WithDbStorageType(const DbStorageType& value) { SetDbStorageType(value); return *this;}
135 inline UpdateDbInstanceResult& WithDbStorageType(DbStorageType&& value) { SetDbStorageType(std::move(value)); return *this;}
137
139
142 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
143 inline void SetAllocatedStorage(int value) { m_allocatedStorage = value; }
144 inline UpdateDbInstanceResult& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
146
148
152 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
153 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentType = value; }
154 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentType = std::move(value); }
155 inline UpdateDbInstanceResult& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
156 inline UpdateDbInstanceResult& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
158
160
163 inline const Aws::Vector<Aws::String>& GetVpcSubnetIds() const{ return m_vpcSubnetIds; }
164 inline void SetVpcSubnetIds(const Aws::Vector<Aws::String>& value) { m_vpcSubnetIds = value; }
165 inline void SetVpcSubnetIds(Aws::Vector<Aws::String>&& value) { m_vpcSubnetIds = std::move(value); }
167 inline UpdateDbInstanceResult& WithVpcSubnetIds(Aws::Vector<Aws::String>&& value) { SetVpcSubnetIds(std::move(value)); return *this;}
168 inline UpdateDbInstanceResult& AddVpcSubnetIds(const Aws::String& value) { m_vpcSubnetIds.push_back(value); return *this; }
169 inline UpdateDbInstanceResult& AddVpcSubnetIds(Aws::String&& value) { m_vpcSubnetIds.push_back(std::move(value)); return *this; }
170 inline UpdateDbInstanceResult& AddVpcSubnetIds(const char* value) { m_vpcSubnetIds.push_back(value); return *this; }
172
174
177 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
178 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessible = value; }
179 inline UpdateDbInstanceResult& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
181
183
186 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
187 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIds = value; }
188 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIds = std::move(value); }
191 inline UpdateDbInstanceResult& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIds.push_back(value); return *this; }
192 inline UpdateDbInstanceResult& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
193 inline UpdateDbInstanceResult& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIds.push_back(value); return *this; }
195
197
200 inline const Aws::String& GetDbParameterGroupIdentifier() const{ return m_dbParameterGroupIdentifier; }
201 inline void SetDbParameterGroupIdentifier(const Aws::String& value) { m_dbParameterGroupIdentifier = value; }
202 inline void SetDbParameterGroupIdentifier(Aws::String&& value) { m_dbParameterGroupIdentifier = std::move(value); }
203 inline void SetDbParameterGroupIdentifier(const char* value) { m_dbParameterGroupIdentifier.assign(value); }
208
210
213 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
214 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZone = value; }
215 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZone = std::move(value); }
216 inline void SetAvailabilityZone(const char* value) { m_availabilityZone.assign(value); }
217 inline UpdateDbInstanceResult& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
218 inline UpdateDbInstanceResult& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
219 inline UpdateDbInstanceResult& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
221
223
227 inline const Aws::String& GetSecondaryAvailabilityZone() const{ return m_secondaryAvailabilityZone; }
228 inline void SetSecondaryAvailabilityZone(const Aws::String& value) { m_secondaryAvailabilityZone = value; }
229 inline void SetSecondaryAvailabilityZone(Aws::String&& value) { m_secondaryAvailabilityZone = std::move(value); }
230 inline void SetSecondaryAvailabilityZone(const char* value) { m_secondaryAvailabilityZone.assign(value); }
235
237
241 inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const{ return m_logDeliveryConfiguration; }
242 inline void SetLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { m_logDeliveryConfiguration = value; }
243 inline void SetLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { m_logDeliveryConfiguration = std::move(value); }
247
249
255 inline const Aws::String& GetInfluxAuthParametersSecretArn() const{ return m_influxAuthParametersSecretArn; }
256 inline void SetInfluxAuthParametersSecretArn(const Aws::String& value) { m_influxAuthParametersSecretArn = value; }
257 inline void SetInfluxAuthParametersSecretArn(Aws::String&& value) { m_influxAuthParametersSecretArn = std::move(value); }
258 inline void SetInfluxAuthParametersSecretArn(const char* value) { m_influxAuthParametersSecretArn.assign(value); }
263
265
266 inline const Aws::String& GetRequestId() const{ return m_requestId; }
267 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
268 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
269 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
270 inline UpdateDbInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
271 inline UpdateDbInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
272 inline UpdateDbInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
274 private:
275
276 Aws::String m_id;
277
278 Aws::String m_name;
279
280 Aws::String m_arn;
281
282 Status m_status;
283
284 Aws::String m_endpoint;
285
286 int m_port;
287
288 DbInstanceType m_dbInstanceType;
289
290 DbStorageType m_dbStorageType;
291
292 int m_allocatedStorage;
293
294 DeploymentType m_deploymentType;
295
296 Aws::Vector<Aws::String> m_vpcSubnetIds;
297
298 bool m_publiclyAccessible;
299
300 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
301
302 Aws::String m_dbParameterGroupIdentifier;
303
304 Aws::String m_availabilityZone;
305
306 Aws::String m_secondaryAvailabilityZone;
307
308 LogDeliveryConfiguration m_logDeliveryConfiguration;
309
310 Aws::String m_influxAuthParametersSecretArn;
311
312 Aws::String m_requestId;
313 };
314
315} // namespace Model
316} // namespace TimestreamInfluxDB
317} // namespace Aws
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
UpdateDbInstanceResult & WithAvailabilityZone(const char *value)
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
UpdateDbInstanceResult & WithSecondaryAvailabilityZone(const char *value)
void SetVpcSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateDbInstanceResult & WithDbParameterGroupIdentifier(const Aws::String &value)
UpdateDbInstanceResult & WithArn(const char *value)
UpdateDbInstanceResult & WithStatus(Status &&value)
UpdateDbInstanceResult & AddVpcSecurityGroupIds(Aws::String &&value)
UpdateDbInstanceResult & WithRequestId(const char *value)
UpdateDbInstanceResult & WithId(Aws::String &&value)
UpdateDbInstanceResult & AddVpcSubnetIds(const Aws::String &value)
UpdateDbInstanceResult & WithSecondaryAvailabilityZone(Aws::String &&value)
UpdateDbInstanceResult & AddVpcSubnetIds(Aws::String &&value)
UpdateDbInstanceResult & WithInfluxAuthParametersSecretArn(const Aws::String &value)
UpdateDbInstanceResult & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetVpcSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateDbInstanceResult & WithId(const char *value)
UpdateDbInstanceResult & AddVpcSecurityGroupIds(const char *value)
AWS_TIMESTREAMINFLUXDB_API UpdateDbInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDbInstanceResult & WithAvailabilityZone(Aws::String &&value)
UpdateDbInstanceResult & WithDbStorageType(const DbStorageType &value)
UpdateDbInstanceResult & WithEndpoint(Aws::String &&value)
UpdateDbInstanceResult & WithRequestId(Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
UpdateDbInstanceResult & WithDeploymentType(const DeploymentType &value)
UpdateDbInstanceResult & WithInfluxAuthParametersSecretArn(const char *value)
UpdateDbInstanceResult & WithName(const char *value)
UpdateDbInstanceResult & AddVpcSubnetIds(const char *value)
UpdateDbInstanceResult & WithInfluxAuthParametersSecretArn(Aws::String &&value)
UpdateDbInstanceResult & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateDbInstanceResult & WithName(const Aws::String &value)
UpdateDbInstanceResult & WithVpcSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateDbInstanceResult & WithId(const Aws::String &value)
UpdateDbInstanceResult & WithLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
UpdateDbInstanceResult & WithEndpoint(const Aws::String &value)
UpdateDbInstanceResult & WithAvailabilityZone(const Aws::String &value)
UpdateDbInstanceResult & WithDbParameterGroupIdentifier(const char *value)
UpdateDbInstanceResult & WithDbStorageType(DbStorageType &&value)
UpdateDbInstanceResult & WithEndpoint(const char *value)
UpdateDbInstanceResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
UpdateDbInstanceResult & WithDbParameterGroupIdentifier(Aws::String &&value)
UpdateDbInstanceResult & WithDbInstanceType(const DbInstanceType &value)
UpdateDbInstanceResult & WithName(Aws::String &&value)
UpdateDbInstanceResult & WithLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
UpdateDbInstanceResult & WithDbInstanceType(DbInstanceType &&value)
void SetLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
UpdateDbInstanceResult & WithArn(Aws::String &&value)
UpdateDbInstanceResult & AddVpcSecurityGroupIds(const Aws::String &value)
UpdateDbInstanceResult & WithStatus(const Status &value)
UpdateDbInstanceResult & WithVpcSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateDbInstanceResult & WithArn(const Aws::String &value)
AWS_TIMESTREAMINFLUXDB_API UpdateDbInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDbInstanceResult & WithDeploymentType(DeploymentType &&value)
UpdateDbInstanceResult & WithSecondaryAvailabilityZone(const 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