AWS SDK for C++  1.9.109
AWS SDK for C++
InstallationMediaFailureCause.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetMessage() const{ return m_message; }
48 
52  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
53 
57  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
58 
62  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
63 
67  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
68 
72  inline InstallationMediaFailureCause& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
73 
77  inline InstallationMediaFailureCause& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
78 
82  inline InstallationMediaFailureCause& WithMessage(const char* value) { SetMessage(value); return *this;}
83 
84  private:
85 
86  Aws::String m_message;
87  bool m_messageHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace RDS
92 } // namespace Aws
Aws::RDS::Model::InstallationMediaFailureCause::SetMessage
void SetMessage(const Aws::String &value)
Definition: InstallationMediaFailureCause.h:57
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::InstallationMediaFailureCause::WithMessage
InstallationMediaFailureCause & WithMessage(const char *value)
Definition: InstallationMediaFailureCause.h:82
Aws::RDS::Model::InstallationMediaFailureCause::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::InstallationMediaFailureCause::InstallationMediaFailureCause
InstallationMediaFailureCause(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::RDS::Model::InstallationMediaFailureCause::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::InstallationMediaFailureCause::SetMessage
void SetMessage(const char *value)
Definition: InstallationMediaFailureCause.h:67
Aws::RDS::Model::InstallationMediaFailureCause::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: InstallationMediaFailureCause.h:52
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::RDS::Model::InstallationMediaFailureCause::WithMessage
InstallationMediaFailureCause & WithMessage(Aws::String &&value)
Definition: InstallationMediaFailureCause.h:77
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::InstallationMediaFailureCause
Definition: InstallationMediaFailureCause.h:34
Aws::RDS::Model::InstallationMediaFailureCause::WithMessage
InstallationMediaFailureCause & WithMessage(const Aws::String &value)
Definition: InstallationMediaFailureCause.h:72
AWSString.h
Aws::RDS::Model::InstallationMediaFailureCause::operator=
InstallationMediaFailureCause & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::InstallationMediaFailureCause::SetMessage
void SetMessage(Aws::String &&value)
Definition: InstallationMediaFailureCause.h:62
Aws::RDS::Model::InstallationMediaFailureCause::GetMessage
const Aws::String & GetMessage() const
Definition: InstallationMediaFailureCause.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::InstallationMediaFailureCause::InstallationMediaFailureCause
InstallationMediaFailureCause()
index
int index
Definition: cJSON.h:181