AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBClusterMember.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 DBClusterMember();
36 AWS_NEPTUNE_API DBClusterMember(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_NEPTUNE_API DBClusterMember& operator=(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& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
48 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
49 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
50 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
51 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
52 inline DBClusterMember& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
53 inline DBClusterMember& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
54 inline DBClusterMember& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
56
58
62 inline bool GetIsClusterWriter() const{ return m_isClusterWriter; }
63 inline bool IsClusterWriterHasBeenSet() const { return m_isClusterWriterHasBeenSet; }
64 inline void SetIsClusterWriter(bool value) { m_isClusterWriterHasBeenSet = true; m_isClusterWriter = value; }
65 inline DBClusterMember& WithIsClusterWriter(bool value) { SetIsClusterWriter(value); return *this;}
67
69
73 inline const Aws::String& GetDBClusterParameterGroupStatus() const{ return m_dBClusterParameterGroupStatus; }
74 inline bool DBClusterParameterGroupStatusHasBeenSet() const { return m_dBClusterParameterGroupStatusHasBeenSet; }
75 inline void SetDBClusterParameterGroupStatus(const Aws::String& value) { m_dBClusterParameterGroupStatusHasBeenSet = true; m_dBClusterParameterGroupStatus = value; }
76 inline void SetDBClusterParameterGroupStatus(Aws::String&& value) { m_dBClusterParameterGroupStatusHasBeenSet = true; m_dBClusterParameterGroupStatus = std::move(value); }
77 inline void SetDBClusterParameterGroupStatus(const char* value) { m_dBClusterParameterGroupStatusHasBeenSet = true; m_dBClusterParameterGroupStatus.assign(value); }
82
84
88 inline int GetPromotionTier() const{ return m_promotionTier; }
89 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
90 inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; }
91 inline DBClusterMember& WithPromotionTier(int value) { SetPromotionTier(value); return *this;}
93 private:
94
95 Aws::String m_dBInstanceIdentifier;
96 bool m_dBInstanceIdentifierHasBeenSet = false;
97
98 bool m_isClusterWriter;
99 bool m_isClusterWriterHasBeenSet = false;
100
101 Aws::String m_dBClusterParameterGroupStatus;
102 bool m_dBClusterParameterGroupStatusHasBeenSet = false;
103
104 int m_promotionTier;
105 bool m_promotionTierHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Neptune
110} // namespace Aws
DBClusterMember & WithDBInstanceIdentifier(const Aws::String &value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDBClusterParameterGroupStatus(const Aws::String &value)
AWS_NEPTUNE_API DBClusterMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterMember & WithDBClusterParameterGroupStatus(Aws::String &&value)
DBClusterMember & WithPromotionTier(int value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterMember & WithIsClusterWriter(bool value)
DBClusterMember & WithDBClusterParameterGroupStatus(const Aws::String &value)
void SetDBInstanceIdentifier(const Aws::String &value)
DBClusterMember & WithDBInstanceIdentifier(const char *value)
const Aws::String & GetDBInstanceIdentifier() const
AWS_NEPTUNE_API DBClusterMember(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDBClusterParameterGroupStatus() const
void SetDBClusterParameterGroupStatus(Aws::String &&value)
void SetDBInstanceIdentifier(const char *value)
void SetDBInstanceIdentifier(Aws::String &&value)
DBClusterMember & WithDBClusterParameterGroupStatus(const char *value)
void SetDBClusterParameterGroupStatus(const char *value)
DBClusterMember & WithDBInstanceIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream