AWS SDK for C++  1.9.108
AWS SDK for C++
InstallationMedia.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace RDS
24 {
25 namespace Model
26 {
27 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
49  inline const Aws::String& GetInstallationMediaId() const{ return m_installationMediaId; }
50 
54  inline bool InstallationMediaIdHasBeenSet() const { return m_installationMediaIdHasBeenSet; }
55 
59  inline void SetInstallationMediaId(const Aws::String& value) { m_installationMediaIdHasBeenSet = true; m_installationMediaId = value; }
60 
64  inline void SetInstallationMediaId(Aws::String&& value) { m_installationMediaIdHasBeenSet = true; m_installationMediaId = std::move(value); }
65 
69  inline void SetInstallationMediaId(const char* value) { m_installationMediaIdHasBeenSet = true; m_installationMediaId.assign(value); }
70 
74  inline InstallationMedia& WithInstallationMediaId(const Aws::String& value) { SetInstallationMediaId(value); return *this;}
75 
79  inline InstallationMedia& WithInstallationMediaId(Aws::String&& value) { SetInstallationMediaId(std::move(value)); return *this;}
80 
84  inline InstallationMedia& WithInstallationMediaId(const char* value) { SetInstallationMediaId(value); return *this;}
85 
86 
90  inline const Aws::String& GetCustomAvailabilityZoneId() const{ return m_customAvailabilityZoneId; }
91 
95  inline bool CustomAvailabilityZoneIdHasBeenSet() const { return m_customAvailabilityZoneIdHasBeenSet; }
96 
100  inline void SetCustomAvailabilityZoneId(const Aws::String& value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId = value; }
101 
105  inline void SetCustomAvailabilityZoneId(Aws::String&& value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId = std::move(value); }
106 
110  inline void SetCustomAvailabilityZoneId(const char* value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId.assign(value); }
111 
115  inline InstallationMedia& WithCustomAvailabilityZoneId(const Aws::String& value) { SetCustomAvailabilityZoneId(value); return *this;}
116 
120  inline InstallationMedia& WithCustomAvailabilityZoneId(Aws::String&& value) { SetCustomAvailabilityZoneId(std::move(value)); return *this;}
121 
125  inline InstallationMedia& WithCustomAvailabilityZoneId(const char* value) { SetCustomAvailabilityZoneId(value); return *this;}
126 
127 
131  inline const Aws::String& GetEngine() const{ return m_engine; }
132 
136  inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
137 
141  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
142 
146  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
147 
151  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
152 
156  inline InstallationMedia& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
157 
161  inline InstallationMedia& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
162 
166  inline InstallationMedia& WithEngine(const char* value) { SetEngine(value); return *this;}
167 
168 
172  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
173 
177  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
178 
182  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
183 
187  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
188 
192  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
193 
197  inline InstallationMedia& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
198 
202  inline InstallationMedia& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
203 
207  inline InstallationMedia& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
208 
209 
213  inline const Aws::String& GetEngineInstallationMediaPath() const{ return m_engineInstallationMediaPath; }
214 
218  inline bool EngineInstallationMediaPathHasBeenSet() const { return m_engineInstallationMediaPathHasBeenSet; }
219 
223  inline void SetEngineInstallationMediaPath(const Aws::String& value) { m_engineInstallationMediaPathHasBeenSet = true; m_engineInstallationMediaPath = value; }
224 
228  inline void SetEngineInstallationMediaPath(Aws::String&& value) { m_engineInstallationMediaPathHasBeenSet = true; m_engineInstallationMediaPath = std::move(value); }
229 
233  inline void SetEngineInstallationMediaPath(const char* value) { m_engineInstallationMediaPathHasBeenSet = true; m_engineInstallationMediaPath.assign(value); }
234 
238  inline InstallationMedia& WithEngineInstallationMediaPath(const Aws::String& value) { SetEngineInstallationMediaPath(value); return *this;}
239 
243  inline InstallationMedia& WithEngineInstallationMediaPath(Aws::String&& value) { SetEngineInstallationMediaPath(std::move(value)); return *this;}
244 
248  inline InstallationMedia& WithEngineInstallationMediaPath(const char* value) { SetEngineInstallationMediaPath(value); return *this;}
249 
250 
255  inline const Aws::String& GetOSInstallationMediaPath() const{ return m_oSInstallationMediaPath; }
256 
261  inline bool OSInstallationMediaPathHasBeenSet() const { return m_oSInstallationMediaPathHasBeenSet; }
262 
267  inline void SetOSInstallationMediaPath(const Aws::String& value) { m_oSInstallationMediaPathHasBeenSet = true; m_oSInstallationMediaPath = value; }
268 
273  inline void SetOSInstallationMediaPath(Aws::String&& value) { m_oSInstallationMediaPathHasBeenSet = true; m_oSInstallationMediaPath = std::move(value); }
274 
279  inline void SetOSInstallationMediaPath(const char* value) { m_oSInstallationMediaPathHasBeenSet = true; m_oSInstallationMediaPath.assign(value); }
280 
285  inline InstallationMedia& WithOSInstallationMediaPath(const Aws::String& value) { SetOSInstallationMediaPath(value); return *this;}
286 
291  inline InstallationMedia& WithOSInstallationMediaPath(Aws::String&& value) { SetOSInstallationMediaPath(std::move(value)); return *this;}
292 
297  inline InstallationMedia& WithOSInstallationMediaPath(const char* value) { SetOSInstallationMediaPath(value); return *this;}
298 
299 
303  inline const Aws::String& GetStatus() const{ return m_status; }
304 
308  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
309 
313  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
314 
318  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
319 
323  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
324 
328  inline InstallationMedia& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
329 
333  inline InstallationMedia& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
334 
338  inline InstallationMedia& WithStatus(const char* value) { SetStatus(value); return *this;}
339 
340 
344  inline const InstallationMediaFailureCause& GetFailureCause() const{ return m_failureCause; }
345 
349  inline bool FailureCauseHasBeenSet() const { return m_failureCauseHasBeenSet; }
350 
354  inline void SetFailureCause(const InstallationMediaFailureCause& value) { m_failureCauseHasBeenSet = true; m_failureCause = value; }
355 
359  inline void SetFailureCause(InstallationMediaFailureCause&& value) { m_failureCauseHasBeenSet = true; m_failureCause = std::move(value); }
360 
364  inline InstallationMedia& WithFailureCause(const InstallationMediaFailureCause& value) { SetFailureCause(value); return *this;}
365 
369  inline InstallationMedia& WithFailureCause(InstallationMediaFailureCause&& value) { SetFailureCause(std::move(value)); return *this;}
370 
371 
372 
373  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
374 
375 
376  inline bool ResponseMetadataHasBeenSet() const { return m_responseMetadataHasBeenSet; }
377 
378 
379  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = value; }
380 
381 
382  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::move(value); }
383 
384 
385  inline InstallationMedia& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
386 
387 
388  inline InstallationMedia& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
389 
390  private:
391 
392  Aws::String m_installationMediaId;
393  bool m_installationMediaIdHasBeenSet;
394 
395  Aws::String m_customAvailabilityZoneId;
396  bool m_customAvailabilityZoneIdHasBeenSet;
397 
398  Aws::String m_engine;
399  bool m_engineHasBeenSet;
400 
401  Aws::String m_engineVersion;
402  bool m_engineVersionHasBeenSet;
403 
404  Aws::String m_engineInstallationMediaPath;
405  bool m_engineInstallationMediaPathHasBeenSet;
406 
407  Aws::String m_oSInstallationMediaPath;
408  bool m_oSInstallationMediaPathHasBeenSet;
409 
410  Aws::String m_status;
411  bool m_statusHasBeenSet;
412 
413  InstallationMediaFailureCause m_failureCause;
414  bool m_failureCauseHasBeenSet;
415 
416  ResponseMetadata m_responseMetadata;
417  bool m_responseMetadataHasBeenSet;
418  };
419 
420 } // namespace Model
421 } // namespace RDS
422 } // namespace Aws
Aws::RDS::Model::InstallationMedia::WithEngineVersion
InstallationMedia & WithEngineVersion(Aws::String &&value)
Definition: InstallationMedia.h:202
Aws::RDS::Model::InstallationMedia::SetOSInstallationMediaPath
void SetOSInstallationMediaPath(Aws::String &&value)
Definition: InstallationMedia.h:273
Aws::RDS::Model::InstallationMedia::GetEngine
const Aws::String & GetEngine() const
Definition: InstallationMedia.h:131
Aws::RDS::Model::InstallationMedia::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(const char *value)
Definition: InstallationMedia.h:110
Aws::RDS::Model::InstallationMedia::WithStatus
InstallationMedia & WithStatus(const char *value)
Definition: InstallationMedia.h:338
Aws::RDS::Model::InstallationMedia::WithResponseMetadata
InstallationMedia & WithResponseMetadata(const ResponseMetadata &value)
Definition: InstallationMedia.h:385
Aws::RDS::Model::InstallationMedia::SetOSInstallationMediaPath
void SetOSInstallationMediaPath(const char *value)
Definition: InstallationMedia.h:279
Aws::RDS::Model::InstallationMedia::SetInstallationMediaId
void SetInstallationMediaId(Aws::String &&value)
Definition: InstallationMedia.h:64
Aws::RDS::Model::InstallationMedia::SetEngineInstallationMediaPath
void SetEngineInstallationMediaPath(const Aws::String &value)
Definition: InstallationMedia.h:223
Aws::RDS::Model::InstallationMedia::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: InstallationMedia.h:308
Aws::RDS::Model::InstallationMedia
Definition: InstallationMedia.h:36
Aws::RDS::Model::InstallationMedia::GetEngineInstallationMediaPath
const Aws::String & GetEngineInstallationMediaPath() const
Definition: InstallationMedia.h:213
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::InstallationMedia::WithCustomAvailabilityZoneId
InstallationMedia & WithCustomAvailabilityZoneId(Aws::String &&value)
Definition: InstallationMedia.h:120
Aws::RDS::Model::InstallationMedia::GetOSInstallationMediaPath
const Aws::String & GetOSInstallationMediaPath() const
Definition: InstallationMedia.h:255
Aws::RDS::Model::InstallationMedia::SetInstallationMediaId
void SetInstallationMediaId(const char *value)
Definition: InstallationMedia.h:69
Aws::RDS::Model::InstallationMedia::WithFailureCause
InstallationMedia & WithFailureCause(InstallationMediaFailureCause &&value)
Definition: InstallationMedia.h:369
Aws::RDS::Model::InstallationMedia::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::InstallationMedia::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: InstallationMedia.h:177
Aws::RDS::Model::InstallationMedia::WithOSInstallationMediaPath
InstallationMedia & WithOSInstallationMediaPath(const char *value)
Definition: InstallationMedia.h:297
AWSStreamFwd.h
Aws::RDS::Model::InstallationMedia::WithEngineInstallationMediaPath
InstallationMedia & WithEngineInstallationMediaPath(const Aws::String &value)
Definition: InstallationMedia.h:238
Aws::RDS::Model::InstallationMedia::WithInstallationMediaId
InstallationMedia & WithInstallationMediaId(Aws::String &&value)
Definition: InstallationMedia.h:79
Aws::RDS::Model::InstallationMedia::WithInstallationMediaId
InstallationMedia & WithInstallationMediaId(const char *value)
Definition: InstallationMedia.h:84
Aws::RDS::Model::InstallationMedia::SetFailureCause
void SetFailureCause(InstallationMediaFailureCause &&value)
Definition: InstallationMedia.h:359
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::RDS::Model::InstallationMedia::WithEngineInstallationMediaPath
InstallationMedia & WithEngineInstallationMediaPath(const char *value)
Definition: InstallationMedia.h:248
Aws::RDS::Model::InstallationMedia::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: InstallationMedia.h:373
Aws::RDS::Model::InstallationMedia::operator=
InstallationMedia & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::InstallationMedia::InstallationMedia
InstallationMedia()
Aws::RDS::Model::InstallationMedia::SetEngineVersion
void SetEngineVersion(const char *value)
Definition: InstallationMedia.h:192
Aws::RDS::Model::InstallationMedia::SetEngineVersion
void SetEngineVersion(const Aws::String &value)
Definition: InstallationMedia.h:182
Aws::RDS::Model::InstallationMedia::WithEngine
InstallationMedia & WithEngine(Aws::String &&value)
Definition: InstallationMedia.h:161
Aws::RDS::Model::InstallationMedia::SetInstallationMediaId
void SetInstallationMediaId(const Aws::String &value)
Definition: InstallationMedia.h:59
Aws::RDS::Model::InstallationMedia::SetEngineVersion
void SetEngineVersion(Aws::String &&value)
Definition: InstallationMedia.h:187
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::InstallationMedia::ResponseMetadataHasBeenSet
bool ResponseMetadataHasBeenSet() const
Definition: InstallationMedia.h:376
InstallationMediaFailureCause.h
Aws::RDS::Model::InstallationMedia::GetFailureCause
const InstallationMediaFailureCause & GetFailureCause() const
Definition: InstallationMedia.h:344
Aws::RDS::Model::InstallationMedia::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(const Aws::String &value)
Definition: InstallationMedia.h:100
Aws::RDS::Model::InstallationMedia::SetStatus
void SetStatus(const Aws::String &value)
Definition: InstallationMedia.h:313
Aws::RDS::Model::InstallationMedia::GetCustomAvailabilityZoneId
const Aws::String & GetCustomAvailabilityZoneId() const
Definition: InstallationMedia.h:90
Aws::RDS::Model::InstallationMedia::SetStatus
void SetStatus(Aws::String &&value)
Definition: InstallationMedia.h:318
RDS_EXPORTS.h
Aws::RDS::Model::InstallationMedia::CustomAvailabilityZoneIdHasBeenSet
bool CustomAvailabilityZoneIdHasBeenSet() const
Definition: InstallationMedia.h:95
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::InstallationMediaFailureCause
Definition: InstallationMediaFailureCause.h:34
Aws::RDS::Model::InstallationMedia::EngineInstallationMediaPathHasBeenSet
bool EngineInstallationMediaPathHasBeenSet() const
Definition: InstallationMedia.h:218
Aws::RDS::Model::InstallationMedia::SetFailureCause
void SetFailureCause(const InstallationMediaFailureCause &value)
Definition: InstallationMedia.h:354
Aws::RDS::Model::InstallationMedia::WithResponseMetadata
InstallationMedia & WithResponseMetadata(ResponseMetadata &&value)
Definition: InstallationMedia.h:388
Aws::RDS::Model::InstallationMedia::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: InstallationMedia.h:382
Aws::RDS::Model::InstallationMedia::GetInstallationMediaId
const Aws::String & GetInstallationMediaId() const
Definition: InstallationMedia.h:49
Aws::RDS::Model::InstallationMedia::WithOSInstallationMediaPath
InstallationMedia & WithOSInstallationMediaPath(Aws::String &&value)
Definition: InstallationMedia.h:291
AWSString.h
Aws::RDS::Model::InstallationMedia::OSInstallationMediaPathHasBeenSet
bool OSInstallationMediaPathHasBeenSet() const
Definition: InstallationMedia.h:261
Aws::RDS::Model::InstallationMedia::WithEngineVersion
InstallationMedia & WithEngineVersion(const char *value)
Definition: InstallationMedia.h:207
Aws::RDS::Model::InstallationMedia::WithStatus
InstallationMedia & WithStatus(Aws::String &&value)
Definition: InstallationMedia.h:333
Aws::RDS::Model::InstallationMedia::SetStatus
void SetStatus(const char *value)
Definition: InstallationMedia.h:323
Aws::RDS::Model::InstallationMedia::WithEngineInstallationMediaPath
InstallationMedia & WithEngineInstallationMediaPath(Aws::String &&value)
Definition: InstallationMedia.h:243
Aws::RDS::Model::InstallationMedia::WithEngine
InstallationMedia & WithEngine(const char *value)
Definition: InstallationMedia.h:166
Aws::RDS::Model::InstallationMedia::SetEngine
void SetEngine(const Aws::String &value)
Definition: InstallationMedia.h:141
Aws::RDS::Model::InstallationMedia::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: InstallationMedia.h:379
Aws::RDS::Model::InstallationMedia::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::InstallationMedia::WithCustomAvailabilityZoneId
InstallationMedia & WithCustomAvailabilityZoneId(const Aws::String &value)
Definition: InstallationMedia.h:115
Aws::RDS::Model::InstallationMedia::InstallationMedia
InstallationMedia(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::InstallationMedia::EngineHasBeenSet
bool EngineHasBeenSet() const
Definition: InstallationMedia.h:136
Aws::RDS::Model::InstallationMedia::WithEngine
InstallationMedia & WithEngine(const Aws::String &value)
Definition: InstallationMedia.h:156
Aws::RDS::Model::InstallationMedia::SetEngine
void SetEngine(const char *value)
Definition: InstallationMedia.h:151
Aws::RDS::Model::InstallationMedia::GetEngineVersion
const Aws::String & GetEngineVersion() const
Definition: InstallationMedia.h:172
Aws::RDS::Model::InstallationMedia::WithStatus
InstallationMedia & WithStatus(const Aws::String &value)
Definition: InstallationMedia.h:328
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::InstallationMedia::FailureCauseHasBeenSet
bool FailureCauseHasBeenSet() const
Definition: InstallationMedia.h:349
Aws::RDS::Model::InstallationMedia::WithEngineVersion
InstallationMedia & WithEngineVersion(const Aws::String &value)
Definition: InstallationMedia.h:197
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::InstallationMedia::WithInstallationMediaId
InstallationMedia & WithInstallationMediaId(const Aws::String &value)
Definition: InstallationMedia.h:74
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::InstallationMedia::WithCustomAvailabilityZoneId
InstallationMedia & WithCustomAvailabilityZoneId(const char *value)
Definition: InstallationMedia.h:125
Aws::RDS::Model::InstallationMedia::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(Aws::String &&value)
Definition: InstallationMedia.h:105
Aws::RDS::Model::InstallationMedia::WithOSInstallationMediaPath
InstallationMedia & WithOSInstallationMediaPath(const Aws::String &value)
Definition: InstallationMedia.h:285
Aws::RDS::Model::InstallationMedia::SetEngineInstallationMediaPath
void SetEngineInstallationMediaPath(const char *value)
Definition: InstallationMedia.h:233
Aws::RDS::Model::InstallationMedia::SetOSInstallationMediaPath
void SetOSInstallationMediaPath(const Aws::String &value)
Definition: InstallationMedia.h:267
Aws::RDS::Model::InstallationMedia::GetStatus
const Aws::String & GetStatus() const
Definition: InstallationMedia.h:303
Aws::RDS::Model::InstallationMedia::SetEngine
void SetEngine(Aws::String &&value)
Definition: InstallationMedia.h:146
Aws::RDS::Model::InstallationMedia::InstallationMediaIdHasBeenSet
bool InstallationMediaIdHasBeenSet() const
Definition: InstallationMedia.h:54
Aws::RDS::Model::InstallationMedia::WithFailureCause
InstallationMedia & WithFailureCause(const InstallationMediaFailureCause &value)
Definition: InstallationMedia.h:364
Aws::RDS::Model::InstallationMedia::SetEngineInstallationMediaPath
void SetEngineInstallationMediaPath(Aws::String &&value)
Definition: InstallationMedia.h:228