AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsDbInstance.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpsWorks
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPSWORKS_API RdsDbInstance();
35 AWS_OPSWORKS_API RdsDbInstance(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRdsDbInstanceArn() const{ return m_rdsDbInstanceArn; }
45 inline bool RdsDbInstanceArnHasBeenSet() const { return m_rdsDbInstanceArnHasBeenSet; }
46 inline void SetRdsDbInstanceArn(const Aws::String& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = value; }
47 inline void SetRdsDbInstanceArn(Aws::String&& value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn = std::move(value); }
48 inline void SetRdsDbInstanceArn(const char* value) { m_rdsDbInstanceArnHasBeenSet = true; m_rdsDbInstanceArn.assign(value); }
49 inline RdsDbInstance& WithRdsDbInstanceArn(const Aws::String& value) { SetRdsDbInstanceArn(value); return *this;}
50 inline RdsDbInstance& WithRdsDbInstanceArn(Aws::String&& value) { SetRdsDbInstanceArn(std::move(value)); return *this;}
51 inline RdsDbInstance& WithRdsDbInstanceArn(const char* value) { SetRdsDbInstanceArn(value); return *this;}
53
55
58 inline const Aws::String& GetDbInstanceIdentifier() const{ return m_dbInstanceIdentifier; }
59 inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
60 inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; }
61 inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); }
62 inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); }
63 inline RdsDbInstance& WithDbInstanceIdentifier(const Aws::String& value) { SetDbInstanceIdentifier(value); return *this;}
64 inline RdsDbInstance& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;}
65 inline RdsDbInstance& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;}
67
69
72 inline const Aws::String& GetDbUser() const{ return m_dbUser; }
73 inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
74 inline void SetDbUser(const Aws::String& value) { m_dbUserHasBeenSet = true; m_dbUser = value; }
75 inline void SetDbUser(Aws::String&& value) { m_dbUserHasBeenSet = true; m_dbUser = std::move(value); }
76 inline void SetDbUser(const char* value) { m_dbUserHasBeenSet = true; m_dbUser.assign(value); }
77 inline RdsDbInstance& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
78 inline RdsDbInstance& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
79 inline RdsDbInstance& WithDbUser(const char* value) { SetDbUser(value); return *this;}
81
83
87 inline const Aws::String& GetDbPassword() const{ return m_dbPassword; }
88 inline bool DbPasswordHasBeenSet() const { return m_dbPasswordHasBeenSet; }
89 inline void SetDbPassword(const Aws::String& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = value; }
90 inline void SetDbPassword(Aws::String&& value) { m_dbPasswordHasBeenSet = true; m_dbPassword = std::move(value); }
91 inline void SetDbPassword(const char* value) { m_dbPasswordHasBeenSet = true; m_dbPassword.assign(value); }
92 inline RdsDbInstance& WithDbPassword(const Aws::String& value) { SetDbPassword(value); return *this;}
93 inline RdsDbInstance& WithDbPassword(Aws::String&& value) { SetDbPassword(std::move(value)); return *this;}
94 inline RdsDbInstance& WithDbPassword(const char* value) { SetDbPassword(value); return *this;}
96
98
101 inline const Aws::String& GetRegion() const{ return m_region; }
102 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
103 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
104 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
105 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
106 inline RdsDbInstance& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
107 inline RdsDbInstance& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
108 inline RdsDbInstance& WithRegion(const char* value) { SetRegion(value); return *this;}
110
112
115 inline const Aws::String& GetAddress() const{ return m_address; }
116 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
117 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
118 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
119 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
120 inline RdsDbInstance& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
121 inline RdsDbInstance& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
122 inline RdsDbInstance& WithAddress(const char* value) { SetAddress(value); return *this;}
124
126
129 inline const Aws::String& GetEngine() const{ return m_engine; }
130 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
131 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
132 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
133 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
134 inline RdsDbInstance& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
135 inline RdsDbInstance& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
136 inline RdsDbInstance& WithEngine(const char* value) { SetEngine(value); return *this;}
138
140
143 inline const Aws::String& GetStackId() const{ return m_stackId; }
144 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
145 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
146 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
147 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
148 inline RdsDbInstance& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
149 inline RdsDbInstance& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
150 inline RdsDbInstance& WithStackId(const char* value) { SetStackId(value); return *this;}
152
154
160 inline bool GetMissingOnRds() const{ return m_missingOnRds; }
161 inline bool MissingOnRdsHasBeenSet() const { return m_missingOnRdsHasBeenSet; }
162 inline void SetMissingOnRds(bool value) { m_missingOnRdsHasBeenSet = true; m_missingOnRds = value; }
163 inline RdsDbInstance& WithMissingOnRds(bool value) { SetMissingOnRds(value); return *this;}
165 private:
166
167 Aws::String m_rdsDbInstanceArn;
168 bool m_rdsDbInstanceArnHasBeenSet = false;
169
170 Aws::String m_dbInstanceIdentifier;
171 bool m_dbInstanceIdentifierHasBeenSet = false;
172
173 Aws::String m_dbUser;
174 bool m_dbUserHasBeenSet = false;
175
176 Aws::String m_dbPassword;
177 bool m_dbPasswordHasBeenSet = false;
178
179 Aws::String m_region;
180 bool m_regionHasBeenSet = false;
181
182 Aws::String m_address;
183 bool m_addressHasBeenSet = false;
184
185 Aws::String m_engine;
186 bool m_engineHasBeenSet = false;
187
188 Aws::String m_stackId;
189 bool m_stackIdHasBeenSet = false;
190
191 bool m_missingOnRds;
192 bool m_missingOnRdsHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace OpsWorks
197} // namespace Aws
void SetRdsDbInstanceArn(const Aws::String &value)
RdsDbInstance & WithAddress(const Aws::String &value)
void SetDbInstanceIdentifier(const char *value)
RdsDbInstance & WithMissingOnRds(bool value)
void SetRdsDbInstanceArn(Aws::String &&value)
void SetEngine(const char *value)
AWS_OPSWORKS_API RdsDbInstance(Aws::Utils::Json::JsonView jsonValue)
RdsDbInstance & WithDbInstanceIdentifier(const char *value)
void SetDbUser(const Aws::String &value)
void SetDbPassword(const char *value)
void SetDbUser(const char *value)
RdsDbInstance & WithEngine(Aws::String &&value)
const Aws::String & GetDbPassword() const
const Aws::String & GetDbUser() const
RdsDbInstance & WithStackId(Aws::String &&value)
RdsDbInstance & WithDbPassword(const Aws::String &value)
void SetDbInstanceIdentifier(Aws::String &&value)
void SetEngine(const Aws::String &value)
RdsDbInstance & WithRegion(const Aws::String &value)
RdsDbInstance & WithRdsDbInstanceArn(Aws::String &&value)
const Aws::String & GetRdsDbInstanceArn() const
const Aws::String & GetAddress() const
void SetRdsDbInstanceArn(const char *value)
void SetStackId(Aws::String &&value)
const Aws::String & GetStackId() const
void SetDbPassword(Aws::String &&value)
void SetDbUser(Aws::String &&value)
RdsDbInstance & WithStackId(const char *value)
void SetRegion(Aws::String &&value)
void SetDbInstanceIdentifier(const Aws::String &value)
RdsDbInstance & WithDbPassword(const char *value)
RdsDbInstance & WithAddress(Aws::String &&value)
void SetAddress(Aws::String &&value)
RdsDbInstance & WithDbInstanceIdentifier(const Aws::String &value)
RdsDbInstance & WithAddress(const char *value)
const Aws::String & GetRegion() const
void SetRegion(const Aws::String &value)
RdsDbInstance & WithDbUser(const Aws::String &value)
const Aws::String & GetEngine() const
RdsDbInstance & WithStackId(const Aws::String &value)
void SetAddress(const Aws::String &value)
RdsDbInstance & WithRegion(const char *value)
RdsDbInstance & WithDbUser(const char *value)
RdsDbInstance & WithDbInstanceIdentifier(Aws::String &&value)
void SetRegion(const char *value)
RdsDbInstance & WithDbPassword(Aws::String &&value)
void SetEngine(Aws::String &&value)
RdsDbInstance & WithEngine(const Aws::String &value)
RdsDbInstance & WithRdsDbInstanceArn(const char *value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDbInstanceIdentifier() const
AWS_OPSWORKS_API RdsDbInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsDbInstance & WithRegion(Aws::String &&value)
void SetDbPassword(const Aws::String &value)
RdsDbInstance & WithDbUser(Aws::String &&value)
RdsDbInstance & WithEngine(const char *value)
void SetStackId(const char *value)
void SetAddress(const char *value)
void SetStackId(const Aws::String &value)
RdsDbInstance & WithRdsDbInstanceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue