AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SwitchoverDetail.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
39 {
40 public:
41 AWS_RDS_API SwitchoverDetail();
42 AWS_RDS_API SwitchoverDetail(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
53 inline const Aws::String& GetSourceMember() const{ return m_sourceMember; }
54 inline bool SourceMemberHasBeenSet() const { return m_sourceMemberHasBeenSet; }
55 inline void SetSourceMember(const Aws::String& value) { m_sourceMemberHasBeenSet = true; m_sourceMember = value; }
56 inline void SetSourceMember(Aws::String&& value) { m_sourceMemberHasBeenSet = true; m_sourceMember = std::move(value); }
57 inline void SetSourceMember(const char* value) { m_sourceMemberHasBeenSet = true; m_sourceMember.assign(value); }
58 inline SwitchoverDetail& WithSourceMember(const Aws::String& value) { SetSourceMember(value); return *this;}
59 inline SwitchoverDetail& WithSourceMember(Aws::String&& value) { SetSourceMember(std::move(value)); return *this;}
60 inline SwitchoverDetail& WithSourceMember(const char* value) { SetSourceMember(value); return *this;}
62
64
67 inline const Aws::String& GetTargetMember() const{ return m_targetMember; }
68 inline bool TargetMemberHasBeenSet() const { return m_targetMemberHasBeenSet; }
69 inline void SetTargetMember(const Aws::String& value) { m_targetMemberHasBeenSet = true; m_targetMember = value; }
70 inline void SetTargetMember(Aws::String&& value) { m_targetMemberHasBeenSet = true; m_targetMember = std::move(value); }
71 inline void SetTargetMember(const char* value) { m_targetMemberHasBeenSet = true; m_targetMember.assign(value); }
72 inline SwitchoverDetail& WithTargetMember(const Aws::String& value) { SetTargetMember(value); return *this;}
73 inline SwitchoverDetail& WithTargetMember(Aws::String&& value) { SetTargetMember(std::move(value)); return *this;}
74 inline SwitchoverDetail& WithTargetMember(const char* value) { SetTargetMember(value); return *this;}
76
78
91 inline const Aws::String& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
96 inline SwitchoverDetail& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
97 inline SwitchoverDetail& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
98 inline SwitchoverDetail& WithStatus(const char* value) { SetStatus(value); return *this;}
100 private:
101
102 Aws::String m_sourceMember;
103 bool m_sourceMemberHasBeenSet = false;
104
105 Aws::String m_targetMember;
106 bool m_targetMemberHasBeenSet = false;
107
108 Aws::String m_status;
109 bool m_statusHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace RDS
114} // namespace Aws
const Aws::String & GetSourceMember() const
void SetSourceMember(Aws::String &&value)
SwitchoverDetail & WithTargetMember(Aws::String &&value)
void SetStatus(const char *value)
const Aws::String & GetStatus() const
void SetSourceMember(const Aws::String &value)
SwitchoverDetail & WithSourceMember(Aws::String &&value)
SwitchoverDetail & WithStatus(const char *value)
SwitchoverDetail & WithTargetMember(const char *value)
SwitchoverDetail & WithTargetMember(const Aws::String &value)
void SetTargetMember(const char *value)
SwitchoverDetail & WithSourceMember(const Aws::String &value)
const Aws::String & GetTargetMember() const
SwitchoverDetail & WithStatus(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTargetMember(Aws::String &&value)
void SetSourceMember(const char *value)
void SetStatus(Aws::String &&value)
void SetTargetMember(const Aws::String &value)
AWS_RDS_API SwitchoverDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SwitchoverDetail & WithSourceMember(const char *value)
void SetStatus(const Aws::String &value)
AWS_RDS_API SwitchoverDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SwitchoverDetail & WithStatus(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