AWS SDK for C++  1.9.108
AWS SDK for C++
RdsDbInstance.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace OpsWorks
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetRdsDbInstanceArn() const{ return m_rdsDbInstanceArn; }
44 
48  inline bool RdsDbInstanceArnHasBeenSet() const { return m_rdsDbInstanceArnHasBeenSet; }
49 
53  inline void SetRdsDbInstanceArn(const Aws::String& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = value; }
54 
58  inline void SetRdsDbInstanceArn(Aws::String&& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = std::move(value); }
59 
63  inline void SetRdsDbInstanceArn(const char* value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn.assign(value); }
64 
68  inline RdsDbInstance& WithRdsDbInstanceArn(const Aws::String& value) { SetRdsDbInstanceArn(value); return *this;}
69 
73  inline RdsDbInstance& WithRdsDbInstanceArn(Aws::String&& value) { SetRdsDbInstanceArn(std::move(value)); return *this;}
74 
78  inline RdsDbInstance& WithRdsDbInstanceArn(const char* value) { SetRdsDbInstanceArn(value); return *this;}
79 
80 
84  inline const Aws::String& GetDbInstanceIdentifier() const{ return m_dbInstanceIdentifier; }
85 
89  inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
90 
94  inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; }
95 
99  inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); }
100 
104  inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); }
105 
109  inline RdsDbInstance& WithDbInstanceIdentifier(const Aws::String& value) { SetDbInstanceIdentifier(value); return *this;}
110 
114  inline RdsDbInstance& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;}
115 
119  inline RdsDbInstance& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;}
120 
121 
125  inline const Aws::String& GetDbUser() const{ return m_dbUser; }
126 
130  inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
131 
135  inline void SetDbUser(const Aws::String& value) { m_dbUserHasBeenSet = true; m_dbUser = value; }
136 
140  inline void SetDbUser(Aws::String&& value) { m_dbUserHasBeenSet = true; m_dbUser = std::move(value); }
141 
145  inline void SetDbUser(const char* value) { m_dbUserHasBeenSet = true; m_dbUser.assign(value); }
146 
150  inline RdsDbInstance& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
151 
155  inline RdsDbInstance& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
156 
160  inline RdsDbInstance& WithDbUser(const char* value) { SetDbUser(value); return *this;}
161 
162 
167  inline const Aws::String& GetDbPassword() const{ return m_dbPassword; }
168 
173  inline bool DbPasswordHasBeenSet() const { return m_dbPasswordHasBeenSet; }
174 
179  inline void SetDbPassword(const Aws::String& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = value; }
180 
185  inline void SetDbPassword(Aws::String&& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = std::move(value); }
186 
191  inline void SetDbPassword(const char* value) { m_dbPasswordHasBeenSet = true; m_dbPassword.assign(value); }
192 
197  inline RdsDbInstance& WithDbPassword(const Aws::String& value) { SetDbPassword(value); return *this;}
198 
203  inline RdsDbInstance& WithDbPassword(Aws::String&& value) { SetDbPassword(std::move(value)); return *this;}
204 
209  inline RdsDbInstance& WithDbPassword(const char* value) { SetDbPassword(value); return *this;}
210 
211 
215  inline const Aws::String& GetRegion() const{ return m_region; }
216 
220  inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
221 
225  inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
226 
230  inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
231 
235  inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
236 
240  inline RdsDbInstance& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
241 
245  inline RdsDbInstance& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
246 
250  inline RdsDbInstance& WithRegion(const char* value) { SetRegion(value); return *this;}
251 
252 
256  inline const Aws::String& GetAddress() const{ return m_address; }
257 
261  inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
262 
266  inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
267 
271  inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
272 
276  inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
277 
281  inline RdsDbInstance& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
282 
286  inline RdsDbInstance& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
287 
291  inline RdsDbInstance& WithAddress(const char* value) { SetAddress(value); return *this;}
292 
293 
297  inline const Aws::String& GetEngine() const{ return m_engine; }
298 
302  inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
303 
307  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
308 
312  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
313 
317  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
318 
322  inline RdsDbInstance& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
323 
327  inline RdsDbInstance& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
328 
332  inline RdsDbInstance& WithEngine(const char* value) { SetEngine(value); return *this;}
333 
334 
338  inline const Aws::String& GetStackId() const{ return m_stackId; }
339 
343  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
344 
348  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
349 
353  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
354 
358  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
359 
363  inline RdsDbInstance& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
364 
368  inline RdsDbInstance& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
369 
373  inline RdsDbInstance& WithStackId(const char* value) { SetStackId(value); return *this;}
374 
375 
382  inline bool GetMissingOnRds() const{ return m_missingOnRds; }
383 
390  inline bool MissingOnRdsHasBeenSet() const { return m_missingOnRdsHasBeenSet; }
391 
398  inline void SetMissingOnRds(bool value) { m_missingOnRdsHasBeenSet = true; m_missingOnRds = value; }
399 
406  inline RdsDbInstance& WithMissingOnRds(bool value) { SetMissingOnRds(value); return *this;}
407 
408  private:
409 
410  Aws::String m_rdsDbInstanceArn;
411  bool m_rdsDbInstanceArnHasBeenSet;
412 
413  Aws::String m_dbInstanceIdentifier;
414  bool m_dbInstanceIdentifierHasBeenSet;
415 
416  Aws::String m_dbUser;
417  bool m_dbUserHasBeenSet;
418 
419  Aws::String m_dbPassword;
420  bool m_dbPasswordHasBeenSet;
421 
422  Aws::String m_region;
423  bool m_regionHasBeenSet;
424 
425  Aws::String m_address;
426  bool m_addressHasBeenSet;
427 
428  Aws::String m_engine;
429  bool m_engineHasBeenSet;
430 
431  Aws::String m_stackId;
432  bool m_stackIdHasBeenSet;
433 
434  bool m_missingOnRds;
435  bool m_missingOnRdsHasBeenSet;
436  };
437 
438 } // namespace Model
439 } // namespace OpsWorks
440 } // namespace Aws
Aws::OpsWorks::Model::RdsDbInstance::DbPasswordHasBeenSet
bool DbPasswordHasBeenSet() const
Definition: RdsDbInstance.h:173
Aws::OpsWorks::Model::RdsDbInstance::SetDbUser
void SetDbUser(const char *value)
Definition: RdsDbInstance.h:145
Aws::OpsWorks::Model::RdsDbInstance::WithRegion
RdsDbInstance & WithRegion(const Aws::String &value)
Definition: RdsDbInstance.h:240
Aws::OpsWorks::Model::RdsDbInstance::RdsDbInstance
RdsDbInstance(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::RdsDbInstance::SetDbInstanceIdentifier
void SetDbInstanceIdentifier(const char *value)
Definition: RdsDbInstance.h:104
Aws::OpsWorks::Model::RdsDbInstance::SetEngine
void SetEngine(Aws::String &&value)
Definition: RdsDbInstance.h:312
Aws::OpsWorks::Model::RdsDbInstance::AddressHasBeenSet
bool AddressHasBeenSet() const
Definition: RdsDbInstance.h:261
Aws::OpsWorks::Model::RdsDbInstance::GetStackId
const Aws::String & GetStackId() const
Definition: RdsDbInstance.h:338
Aws::OpsWorks::Model::RdsDbInstance::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(Aws::String &&value)
Definition: RdsDbInstance.h:58
Aws::OpsWorks::Model::RdsDbInstance::WithStackId
RdsDbInstance & WithStackId(Aws::String &&value)
Definition: RdsDbInstance.h:368
Aws::OpsWorks::Model::RdsDbInstance::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(const char *value)
Definition: RdsDbInstance.h:63
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::RdsDbInstance::WithEngine
RdsDbInstance & WithEngine(Aws::String &&value)
Definition: RdsDbInstance.h:327
Aws::OpsWorks::Model::RdsDbInstance::GetRegion
const Aws::String & GetRegion() const
Definition: RdsDbInstance.h:215
Aws::OpsWorks::Model::RdsDbInstance::SetDbInstanceIdentifier
void SetDbInstanceIdentifier(Aws::String &&value)
Definition: RdsDbInstance.h:99
Aws::OpsWorks::Model::RdsDbInstance::SetMissingOnRds
void SetMissingOnRds(bool value)
Definition: RdsDbInstance.h:398
Aws::OpsWorks::Model::RdsDbInstance::MissingOnRdsHasBeenSet
bool MissingOnRdsHasBeenSet() const
Definition: RdsDbInstance.h:390
Aws::OpsWorks::Model::RdsDbInstance::SetStackId
void SetStackId(Aws::String &&value)
Definition: RdsDbInstance.h:353
Aws::OpsWorks::Model::RdsDbInstance::WithMissingOnRds
RdsDbInstance & WithMissingOnRds(bool value)
Definition: RdsDbInstance.h:406
Aws::OpsWorks::Model::RdsDbInstance::WithDbPassword
RdsDbInstance & WithDbPassword(const Aws::String &value)
Definition: RdsDbInstance.h:197
Aws::OpsWorks::Model::RdsDbInstance::GetEngine
const Aws::String & GetEngine() const
Definition: RdsDbInstance.h:297
Aws::OpsWorks::Model::RdsDbInstance::WithEngine
RdsDbInstance & WithEngine(const Aws::String &value)
Definition: RdsDbInstance.h:322
Aws::OpsWorks::Model::RdsDbInstance::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: RdsDbInstance.h:343
Aws::OpsWorks::Model::RdsDbInstance::WithRegion
RdsDbInstance & WithRegion(const char *value)
Definition: RdsDbInstance.h:250
Aws::OpsWorks::Model::RdsDbInstance::WithAddress
RdsDbInstance & WithAddress(Aws::String &&value)
Definition: RdsDbInstance.h:286
Aws::OpsWorks::Model::RdsDbInstance::WithAddress
RdsDbInstance & WithAddress(const char *value)
Definition: RdsDbInstance.h:291
Aws::OpsWorks::Model::RdsDbInstance::operator=
RdsDbInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::RdsDbInstance::GetAddress
const Aws::String & GetAddress() const
Definition: RdsDbInstance.h:256
Aws::OpsWorks::Model::RdsDbInstance::GetDbUser
const Aws::String & GetDbUser() const
Definition: RdsDbInstance.h:125
Aws::OpsWorks::Model::RdsDbInstance::WithEngine
RdsDbInstance & WithEngine(const char *value)
Definition: RdsDbInstance.h:332
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::RdsDbInstance::SetDbUser
void SetDbUser(const Aws::String &value)
Definition: RdsDbInstance.h:135
Aws::OpsWorks::Model::RdsDbInstance::WithDbUser
RdsDbInstance & WithDbUser(const char *value)
Definition: RdsDbInstance.h:160
Aws::OpsWorks::Model::RdsDbInstance::SetRegion
void SetRegion(const Aws::String &value)
Definition: RdsDbInstance.h:225
Aws::OpsWorks::Model::RdsDbInstance::RdsDbInstance
RdsDbInstance()
Aws::OpsWorks::Model::RdsDbInstance::SetEngine
void SetEngine(const char *value)
Definition: RdsDbInstance.h:317
Aws::OpsWorks::Model::RdsDbInstance::GetRdsDbInstanceArn
const Aws::String & GetRdsDbInstanceArn() const
Definition: RdsDbInstance.h:43
Aws::OpsWorks::Model::RdsDbInstance::SetDbPassword
void SetDbPassword(Aws::String &&value)
Definition: RdsDbInstance.h:185
Aws::OpsWorks::Model::RdsDbInstance::SetAddress
void SetAddress(const Aws::String &value)
Definition: RdsDbInstance.h:266
Aws::OpsWorks::Model::RdsDbInstance::GetDbInstanceIdentifier
const Aws::String & GetDbInstanceIdentifier() const
Definition: RdsDbInstance.h:84
Aws::OpsWorks::Model::RdsDbInstance::SetEngine
void SetEngine(const Aws::String &value)
Definition: RdsDbInstance.h:307
Aws::OpsWorks::Model::RdsDbInstance::SetDbUser
void SetDbUser(Aws::String &&value)
Definition: RdsDbInstance.h:140
Aws::OpsWorks::Model::RdsDbInstance::DbUserHasBeenSet
bool DbUserHasBeenSet() const
Definition: RdsDbInstance.h:130
Aws::OpsWorks::Model::RdsDbInstance::WithStackId
RdsDbInstance & WithStackId(const char *value)
Definition: RdsDbInstance.h:373
Aws::OpsWorks::Model::RdsDbInstance::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::RdsDbInstance::SetRegion
void SetRegion(const char *value)
Definition: RdsDbInstance.h:235
Aws::OpsWorks::Model::RdsDbInstance::WithDbInstanceIdentifier
RdsDbInstance & WithDbInstanceIdentifier(Aws::String &&value)
Definition: RdsDbInstance.h:114
Aws::OpsWorks::Model::RdsDbInstance::WithRegion
RdsDbInstance & WithRegion(Aws::String &&value)
Definition: RdsDbInstance.h:245
Aws::OpsWorks::Model::RdsDbInstance::WithDbInstanceIdentifier
RdsDbInstance & WithDbInstanceIdentifier(const Aws::String &value)
Definition: RdsDbInstance.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::OpsWorks::Model::RdsDbInstance::SetRdsDbInstanceArn
void SetRdsDbInstanceArn(const Aws::String &value)
Definition: RdsDbInstance.h:53
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::RdsDbInstance::WithDbInstanceIdentifier
RdsDbInstance & WithDbInstanceIdentifier(const char *value)
Definition: RdsDbInstance.h:119
Aws::OpsWorks::Model::RdsDbInstance::SetStackId
void SetStackId(const Aws::String &value)
Definition: RdsDbInstance.h:348
Aws::OpsWorks::Model::RdsDbInstance::SetRegion
void SetRegion(Aws::String &&value)
Definition: RdsDbInstance.h:230
Aws::OpsWorks::Model::RdsDbInstance::RdsDbInstanceArnHasBeenSet
bool RdsDbInstanceArnHasBeenSet() const
Definition: RdsDbInstance.h:48
Aws::OpsWorks::Model::RdsDbInstance::WithDbUser
RdsDbInstance & WithDbUser(const Aws::String &value)
Definition: RdsDbInstance.h:150
Aws::OpsWorks::Model::RdsDbInstance::EngineHasBeenSet
bool EngineHasBeenSet() const
Definition: RdsDbInstance.h:302
Aws::OpsWorks::Model::RdsDbInstance::WithRdsDbInstanceArn
RdsDbInstance & WithRdsDbInstanceArn(Aws::String &&value)
Definition: RdsDbInstance.h:73
Aws::OpsWorks::Model::RdsDbInstance::DbInstanceIdentifierHasBeenSet
bool DbInstanceIdentifierHasBeenSet() const
Definition: RdsDbInstance.h:89
Aws::OpsWorks::Model::RdsDbInstance::GetDbPassword
const Aws::String & GetDbPassword() const
Definition: RdsDbInstance.h:167
Aws::OpsWorks::Model::RdsDbInstance::WithDbUser
RdsDbInstance & WithDbUser(Aws::String &&value)
Definition: RdsDbInstance.h:155
Aws::OpsWorks::Model::RdsDbInstance::SetAddress
void SetAddress(const char *value)
Definition: RdsDbInstance.h:276
Aws::OpsWorks::Model::RdsDbInstance::SetDbInstanceIdentifier
void SetDbInstanceIdentifier(const Aws::String &value)
Definition: RdsDbInstance.h:94
Aws::OpsWorks::Model::RdsDbInstance::WithStackId
RdsDbInstance & WithStackId(const Aws::String &value)
Definition: RdsDbInstance.h:363
Aws::OpsWorks::Model::RdsDbInstance::WithDbPassword
RdsDbInstance & WithDbPassword(const char *value)
Definition: RdsDbInstance.h:209
Aws::OpsWorks::Model::RdsDbInstance::WithRdsDbInstanceArn
RdsDbInstance & WithRdsDbInstanceArn(const Aws::String &value)
Definition: RdsDbInstance.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::RdsDbInstance::SetAddress
void SetAddress(Aws::String &&value)
Definition: RdsDbInstance.h:271
Aws::OpsWorks::Model::RdsDbInstance
Definition: RdsDbInstance.h:32
Aws::OpsWorks::Model::RdsDbInstance::SetStackId
void SetStackId(const char *value)
Definition: RdsDbInstance.h:358
Aws::OpsWorks::Model::RdsDbInstance::WithDbPassword
RdsDbInstance & WithDbPassword(Aws::String &&value)
Definition: RdsDbInstance.h:203
Aws::OpsWorks::Model::RdsDbInstance::SetDbPassword
void SetDbPassword(const Aws::String &value)
Definition: RdsDbInstance.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::RdsDbInstance::GetMissingOnRds
bool GetMissingOnRds() const
Definition: RdsDbInstance.h:382
Aws::OpsWorks::Model::RdsDbInstance::WithRdsDbInstanceArn
RdsDbInstance & WithRdsDbInstanceArn(const char *value)
Definition: RdsDbInstance.h:78
Aws::OpsWorks::Model::RdsDbInstance::RegionHasBeenSet
bool RegionHasBeenSet() const
Definition: RdsDbInstance.h:220
Aws::OpsWorks::Model::RdsDbInstance::SetDbPassword
void SetDbPassword(const char *value)
Definition: RdsDbInstance.h:191
Aws::OpsWorks::Model::RdsDbInstance::WithAddress
RdsDbInstance & WithAddress(const Aws::String &value)
Definition: RdsDbInstance.h:281