AWS SDK for C++  1.9.108
AWS SDK for C++
DBInstanceStatusInfo.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetStatusType() const{ return m_statusType; }
47 
51  inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; }
52 
56  inline void SetStatusType(const Aws::String& value) { m_statusTypeHasBeenSet = true; m_statusType = value; }
57 
61  inline void SetStatusType(Aws::String&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::move(value); }
62 
66  inline void SetStatusType(const char* value) { m_statusTypeHasBeenSet = true; m_statusType.assign(value); }
67 
71  inline DBInstanceStatusInfo& WithStatusType(const Aws::String& value) { SetStatusType(value); return *this;}
72 
76  inline DBInstanceStatusInfo& WithStatusType(Aws::String&& value) { SetStatusType(std::move(value)); return *this;}
77 
81  inline DBInstanceStatusInfo& WithStatusType(const char* value) { SetStatusType(value); return *this;}
82 
83 
88  inline bool GetNormal() const{ return m_normal; }
89 
94  inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; }
95 
100  inline void SetNormal(bool value) { m_normalHasBeenSet = true; m_normal = value; }
101 
106  inline DBInstanceStatusInfo& WithNormal(bool value) { SetNormal(value); return *this;}
107 
108 
114  inline const Aws::String& GetStatus() const{ return m_status; }
115 
121  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 
128  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
129 
135  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
136 
142  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
143 
149  inline DBInstanceStatusInfo& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
150 
156  inline DBInstanceStatusInfo& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
157 
163  inline DBInstanceStatusInfo& WithStatus(const char* value) { SetStatus(value); return *this;}
164 
165 
170  inline const Aws::String& GetMessage() const{ return m_message; }
171 
176  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
177 
182  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
183 
188  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
189 
194  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
195 
200  inline DBInstanceStatusInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
201 
206  inline DBInstanceStatusInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
207 
212  inline DBInstanceStatusInfo& WithMessage(const char* value) { SetMessage(value); return *this;}
213 
214  private:
215 
216  Aws::String m_statusType;
217  bool m_statusTypeHasBeenSet;
218 
219  bool m_normal;
220  bool m_normalHasBeenSet;
221 
222  Aws::String m_status;
223  bool m_statusHasBeenSet;
224 
225  Aws::String m_message;
226  bool m_messageHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace RDS
231 } // namespace Aws
Aws::RDS::Model::DBInstanceStatusInfo::WithStatusType
DBInstanceStatusInfo & WithStatusType(const char *value)
Definition: DBInstanceStatusInfo.h:81
Aws::RDS::Model::DBInstanceStatusInfo::WithStatus
DBInstanceStatusInfo & WithStatus(const char *value)
Definition: DBInstanceStatusInfo.h:163
Aws::RDS::Model::DBInstanceStatusInfo::WithMessage
DBInstanceStatusInfo & WithMessage(const char *value)
Definition: DBInstanceStatusInfo.h:212
Aws::RDS::Model::DBInstanceStatusInfo::WithMessage
DBInstanceStatusInfo & WithMessage(Aws::String &&value)
Definition: DBInstanceStatusInfo.h:206
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DBInstanceStatusInfo::SetMessage
void SetMessage(const Aws::String &value)
Definition: DBInstanceStatusInfo.h:182
Aws::RDS::Model::DBInstanceStatusInfo::SetStatus
void SetStatus(Aws::String &&value)
Definition: DBInstanceStatusInfo.h:135
Aws::RDS::Model::DBInstanceStatusInfo::StatusTypeHasBeenSet
bool StatusTypeHasBeenSet() const
Definition: DBInstanceStatusInfo.h:51
Aws::RDS::Model::DBInstanceStatusInfo::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DBInstanceStatusInfo.h:121
AWSStreamFwd.h
Aws::RDS::Model::DBInstanceStatusInfo::WithMessage
DBInstanceStatusInfo & WithMessage(const Aws::String &value)
Definition: DBInstanceStatusInfo.h:200
Aws::RDS::Model::DBInstanceStatusInfo::SetStatusType
void SetStatusType(Aws::String &&value)
Definition: DBInstanceStatusInfo.h:61
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::DBInstanceStatusInfo::WithStatusType
DBInstanceStatusInfo & WithStatusType(const Aws::String &value)
Definition: DBInstanceStatusInfo.h:71
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DBInstanceStatusInfo::SetStatus
void SetStatus(const Aws::String &value)
Definition: DBInstanceStatusInfo.h:128
Aws::RDS::Model::DBInstanceStatusInfo::GetMessage
const Aws::String & GetMessage() const
Definition: DBInstanceStatusInfo.h:170
Aws::RDS::Model::DBInstanceStatusInfo::DBInstanceStatusInfo
DBInstanceStatusInfo()
Aws::RDS::Model::DBInstanceStatusInfo::GetStatus
const Aws::String & GetStatus() const
Definition: DBInstanceStatusInfo.h:114
Aws::RDS::Model::DBInstanceStatusInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::DBInstanceStatusInfo::SetNormal
void SetNormal(bool value)
Definition: DBInstanceStatusInfo.h:100
Aws::RDS::Model::DBInstanceStatusInfo::WithStatus
DBInstanceStatusInfo & WithStatus(Aws::String &&value)
Definition: DBInstanceStatusInfo.h:156
AWSString.h
Aws::RDS::Model::DBInstanceStatusInfo::DBInstanceStatusInfo
DBInstanceStatusInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBInstanceStatusInfo::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: DBInstanceStatusInfo.h:176
Aws::RDS::Model::DBInstanceStatusInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::DBInstanceStatusInfo
Definition: DBInstanceStatusInfo.h:33
Aws::RDS::Model::DBInstanceStatusInfo::WithNormal
DBInstanceStatusInfo & WithNormal(bool value)
Definition: DBInstanceStatusInfo.h:106
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBInstanceStatusInfo::GetNormal
bool GetNormal() const
Definition: DBInstanceStatusInfo.h:88
Aws::RDS::Model::DBInstanceStatusInfo::SetMessage
void SetMessage(const char *value)
Definition: DBInstanceStatusInfo.h:194
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DBInstanceStatusInfo::SetStatus
void SetStatus(const char *value)
Definition: DBInstanceStatusInfo.h:142
Aws::RDS::Model::DBInstanceStatusInfo::SetStatusType
void SetStatusType(const char *value)
Definition: DBInstanceStatusInfo.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DBInstanceStatusInfo::GetStatusType
const Aws::String & GetStatusType() const
Definition: DBInstanceStatusInfo.h:46
Aws::RDS::Model::DBInstanceStatusInfo::WithStatus
DBInstanceStatusInfo & WithStatus(const Aws::String &value)
Definition: DBInstanceStatusInfo.h:149
Aws::RDS::Model::DBInstanceStatusInfo::WithStatusType
DBInstanceStatusInfo & WithStatusType(Aws::String &&value)
Definition: DBInstanceStatusInfo.h:76
Aws::RDS::Model::DBInstanceStatusInfo::NormalHasBeenSet
bool NormalHasBeenSet() const
Definition: DBInstanceStatusInfo.h:94
Aws::RDS::Model::DBInstanceStatusInfo::SetMessage
void SetMessage(Aws::String &&value)
Definition: DBInstanceStatusInfo.h:188
Aws::RDS::Model::DBInstanceStatusInfo::operator=
DBInstanceStatusInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBInstanceStatusInfo::SetStatusType
void SetStatusType(const Aws::String &value)
Definition: DBInstanceStatusInfo.h:56