AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBClusterStatusInfo.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_RDS_API DBClusterStatusInfo();
35 AWS_RDS_API DBClusterStatusInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetStatusType() const{ return m_statusType; }
47 inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; }
48 inline void SetStatusType(const Aws::String& value) { m_statusTypeHasBeenSet = true; m_statusType = value; }
49 inline void SetStatusType(Aws::String&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::move(value); }
50 inline void SetStatusType(const char* value) { m_statusTypeHasBeenSet = true; m_statusType.assign(value); }
51 inline DBClusterStatusInfo& WithStatusType(const Aws::String& value) { SetStatusType(value); return *this;}
52 inline DBClusterStatusInfo& WithStatusType(Aws::String&& value) { SetStatusType(std::move(value)); return *this;}
53 inline DBClusterStatusInfo& WithStatusType(const char* value) { SetStatusType(value); return *this;}
55
57
60 inline bool GetNormal() const{ return m_normal; }
61 inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; }
62 inline void SetNormal(bool value) { m_normalHasBeenSet = true; m_normal = value; }
63 inline DBClusterStatusInfo& WithNormal(bool value) { SetNormal(value); return *this;}
65
67
70 inline const Aws::String& GetStatus() const{ return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
73 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
74 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
75 inline DBClusterStatusInfo& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
76 inline DBClusterStatusInfo& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
77 inline DBClusterStatusInfo& WithStatus(const char* value) { SetStatus(value); return *this;}
79
81
84 inline const Aws::String& GetMessage() const{ return m_message; }
85 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
86 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
87 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
88 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
89 inline DBClusterStatusInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
90 inline DBClusterStatusInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
91 inline DBClusterStatusInfo& WithMessage(const char* value) { SetMessage(value); return *this;}
93 private:
94
95 Aws::String m_statusType;
96 bool m_statusTypeHasBeenSet = false;
97
98 bool m_normal;
99 bool m_normalHasBeenSet = false;
100
101 Aws::String m_status;
102 bool m_statusHasBeenSet = false;
103
104 Aws::String m_message;
105 bool m_messageHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace RDS
110} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetMessage() const
const Aws::String & GetStatus() const
const Aws::String & GetStatusType() const
DBClusterStatusInfo & WithStatusType(Aws::String &&value)
AWS_RDS_API DBClusterStatusInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterStatusInfo & WithStatus(Aws::String &&value)
DBClusterStatusInfo & WithMessage(const char *value)
DBClusterStatusInfo & WithStatus(const char *value)
DBClusterStatusInfo & WithStatusType(const char *value)
DBClusterStatusInfo & WithMessage(Aws::String &&value)
void SetStatusType(Aws::String &&value)
void SetStatus(const Aws::String &value)
AWS_RDS_API DBClusterStatusInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterStatusInfo & WithStatusType(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetStatusType(const Aws::String &value)
DBClusterStatusInfo & WithNormal(bool value)
DBClusterStatusInfo & WithStatus(const Aws::String &value)
DBClusterStatusInfo & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream