AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBInstanceStatusInfo.h
1
6#pragma once
7#include <aws/neptune/Neptune_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 Neptune
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NEPTUNE_API DBInstanceStatusInfo();
36 AWS_NEPTUNE_API DBInstanceStatusInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetStatusType() const{ return m_statusType; }
48 inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; }
49 inline void SetStatusType(const Aws::String& value) { m_statusTypeHasBeenSet = true; m_statusType = value; }
50 inline void SetStatusType(Aws::String&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::move(value); }
51 inline void SetStatusType(const char* value) { m_statusTypeHasBeenSet = true; m_statusType.assign(value); }
52 inline DBInstanceStatusInfo& WithStatusType(const Aws::String& value) { SetStatusType(value); return *this;}
53 inline DBInstanceStatusInfo& WithStatusType(Aws::String&& value) { SetStatusType(std::move(value)); return *this;}
54 inline DBInstanceStatusInfo& WithStatusType(const char* value) { SetStatusType(value); return *this;}
56
58
62 inline bool GetNormal() const{ return m_normal; }
63 inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; }
64 inline void SetNormal(bool value) { m_normalHasBeenSet = true; m_normal = value; }
65 inline DBInstanceStatusInfo& WithNormal(bool value) { SetNormal(value); return *this;}
67
69
73 inline const Aws::String& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
78 inline DBInstanceStatusInfo& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
79 inline DBInstanceStatusInfo& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
80 inline DBInstanceStatusInfo& WithStatus(const char* value) { SetStatus(value); return *this;}
82
84
88 inline const Aws::String& GetMessage() const{ return m_message; }
89 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
90 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
91 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
92 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
93 inline DBInstanceStatusInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
94 inline DBInstanceStatusInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
95 inline DBInstanceStatusInfo& WithMessage(const char* value) { SetMessage(value); return *this;}
97 private:
98
99 Aws::String m_statusType;
100 bool m_statusTypeHasBeenSet = false;
101
102 bool m_normal;
103 bool m_normalHasBeenSet = false;
104
105 Aws::String m_status;
106 bool m_statusHasBeenSet = false;
107
108 Aws::String m_message;
109 bool m_messageHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Neptune
114} // namespace Aws
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBInstanceStatusInfo & WithMessage(const char *value)
DBInstanceStatusInfo & WithStatus(const char *value)
void SetStatusType(const Aws::String &value)
DBInstanceStatusInfo & WithStatusType(const Aws::String &value)
DBInstanceStatusInfo & WithStatusType(Aws::String &&value)
void SetMessage(const Aws::String &value)
DBInstanceStatusInfo & WithMessage(Aws::String &&value)
DBInstanceStatusInfo & WithStatus(const Aws::String &value)
DBInstanceStatusInfo & WithStatusType(const char *value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API DBInstanceStatusInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
DBInstanceStatusInfo & WithStatus(Aws::String &&value)
AWS_NEPTUNE_API DBInstanceStatusInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBInstanceStatusInfo & WithMessage(const Aws::String &value)
DBInstanceStatusInfo & WithNormal(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream