AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDbInstanceResult.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 CreateDbInstanceResult();
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 CreateDbInstanceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline CreateDbInstanceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline CreateDbInstanceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
77 inline CreateDbInstanceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
89 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
102 inline CreateDbInstanceResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
103 inline CreateDbInstanceResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
105
107
111 inline int GetPort() const{ return m_port; }
112 inline void SetPort(int value) { m_port = value; }
113 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;}
124 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithDbStorageType(const DbStorageType& value) { SetDbStorageType(value); return *this;}
135 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& 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 CreateDbInstanceResult& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
156 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithVpcSubnetIds(Aws::Vector<Aws::String>&& value) { SetVpcSubnetIds(std::move(value)); return *this;}
168 inline CreateDbInstanceResult& AddVpcSubnetIds(const Aws::String& value) { m_vpcSubnetIds.push_back(value); return *this; }
169 inline CreateDbInstanceResult& AddVpcSubnetIds(Aws::String&& value) { m_vpcSubnetIds.push_back(std::move(value)); return *this; }
170 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& 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 CreateDbInstanceResult& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIds.push_back(value); return *this; }
192 inline CreateDbInstanceResult& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
193 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
218 inline CreateDbInstanceResult& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
219 inline CreateDbInstanceResult& 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 CreateDbInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
271 inline CreateDbInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
272 inline CreateDbInstanceResult& 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
CreateDbInstanceResult & WithDeploymentType(DeploymentType &&value)
CreateDbInstanceResult & WithInfluxAuthParametersSecretArn(Aws::String &&value)
CreateDbInstanceResult & AddVpcSecurityGroupIds(const Aws::String &value)
CreateDbInstanceResult & WithId(const char *value)
CreateDbInstanceResult & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateDbInstanceResult & WithName(Aws::String &&value)
CreateDbInstanceResult & AddVpcSubnetIds(Aws::String &&value)
CreateDbInstanceResult & WithSecondaryAvailabilityZone(const char *value)
CreateDbInstanceResult & WithInfluxAuthParametersSecretArn(const Aws::String &value)
CreateDbInstanceResult & WithEndpoint(const char *value)
CreateDbInstanceResult & WithArn(Aws::String &&value)
CreateDbInstanceResult & WithDbInstanceType(const DbInstanceType &value)
CreateDbInstanceResult & WithRequestId(const Aws::String &value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateDbInstanceResult & WithDbParameterGroupIdentifier(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
CreateDbInstanceResult & WithName(const Aws::String &value)
CreateDbInstanceResult & AddVpcSecurityGroupIds(const char *value)
CreateDbInstanceResult & WithDbStorageType(DbStorageType &&value)
CreateDbInstanceResult & WithEndpoint(Aws::String &&value)
void SetLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
CreateDbInstanceResult & WithDbParameterGroupIdentifier(const char *value)
CreateDbInstanceResult & WithId(const Aws::String &value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
CreateDbInstanceResult & WithStatus(Status &&value)
CreateDbInstanceResult & WithStatus(const Status &value)
CreateDbInstanceResult & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetVpcSubnetIds(Aws::Vector< Aws::String > &&value)
CreateDbInstanceResult & WithArn(const Aws::String &value)
CreateDbInstanceResult & AddVpcSecurityGroupIds(Aws::String &&value)
CreateDbInstanceResult & WithAvailabilityZone(const char *value)
AWS_TIMESTREAMINFLUXDB_API CreateDbInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDbInstanceResult & WithAvailabilityZone(Aws::String &&value)
CreateDbInstanceResult & WithDeploymentType(const DeploymentType &value)
AWS_TIMESTREAMINFLUXDB_API CreateDbInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDbInstanceResult & WithRequestId(Aws::String &&value)
CreateDbInstanceResult & WithDbStorageType(const DbStorageType &value)
void SetVpcSubnetIds(const Aws::Vector< Aws::String > &value)
CreateDbInstanceResult & AddVpcSubnetIds(const char *value)
void SetLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
CreateDbInstanceResult & WithEndpoint(const Aws::String &value)
CreateDbInstanceResult & WithRequestId(const char *value)
CreateDbInstanceResult & WithInfluxAuthParametersSecretArn(const char *value)
CreateDbInstanceResult & WithSecondaryAvailabilityZone(const Aws::String &value)
CreateDbInstanceResult & WithId(Aws::String &&value)
CreateDbInstanceResult & WithVpcSubnetIds(const Aws::Vector< Aws::String > &value)
CreateDbInstanceResult & WithLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
CreateDbInstanceResult & WithVpcSubnetIds(Aws::Vector< Aws::String > &&value)
CreateDbInstanceResult & WithSecondaryAvailabilityZone(Aws::String &&value)
CreateDbInstanceResult & WithAvailabilityZone(const Aws::String &value)
CreateDbInstanceResult & WithLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
CreateDbInstanceResult & WithName(const char *value)
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
CreateDbInstanceResult & WithDbParameterGroupIdentifier(const Aws::String &value)
CreateDbInstanceResult & AddVpcSubnetIds(const Aws::String &value)
CreateDbInstanceResult & WithArn(const char *value)
CreateDbInstanceResult & WithDbInstanceType(DbInstanceType &&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