AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceRegion.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
33 {
34 public:
35 AWS_RDS_API SourceRegion();
36 AWS_RDS_API SourceRegion(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_RDS_API SourceRegion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetRegionName() const{ return m_regionName; }
48 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
49 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
50 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
51 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
52 inline SourceRegion& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
53 inline SourceRegion& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
54 inline SourceRegion& WithRegionName(const char* value) { SetRegionName(value); return *this;}
56
58
61 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
62 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
63 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
64 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
65 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
66 inline SourceRegion& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
67 inline SourceRegion& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
68 inline SourceRegion& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
70
72
75 inline const Aws::String& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
80 inline SourceRegion& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
81 inline SourceRegion& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
82 inline SourceRegion& WithStatus(const char* value) { SetStatus(value); return *this;}
84
86
90 inline bool GetSupportsDBInstanceAutomatedBackupsReplication() const{ return m_supportsDBInstanceAutomatedBackupsReplication; }
91 inline bool SupportsDBInstanceAutomatedBackupsReplicationHasBeenSet() const { return m_supportsDBInstanceAutomatedBackupsReplicationHasBeenSet; }
92 inline void SetSupportsDBInstanceAutomatedBackupsReplication(bool value) { m_supportsDBInstanceAutomatedBackupsReplicationHasBeenSet = true; m_supportsDBInstanceAutomatedBackupsReplication = value; }
95 private:
96
97 Aws::String m_regionName;
98 bool m_regionNameHasBeenSet = false;
99
100 Aws::String m_endpoint;
101 bool m_endpointHasBeenSet = false;
102
103 Aws::String m_status;
104 bool m_statusHasBeenSet = false;
105
106 bool m_supportsDBInstanceAutomatedBackupsReplication;
107 bool m_supportsDBInstanceAutomatedBackupsReplicationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace RDS
112} // namespace Aws
AWS_RDS_API SourceRegion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SourceRegion & WithEndpoint(Aws::String &&value)
AWS_RDS_API SourceRegion(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRegionName(Aws::String &&value)
SourceRegion & WithRegionName(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SourceRegion & WithRegionName(const char *value)
SourceRegion & WithStatus(Aws::String &&value)
const Aws::String & GetRegionName() const
const Aws::String & GetStatus() const
SourceRegion & WithEndpoint(const Aws::String &value)
bool SupportsDBInstanceAutomatedBackupsReplicationHasBeenSet() const
SourceRegion & WithRegionName(const Aws::String &value)
void SetRegionName(const Aws::String &value)
bool GetSupportsDBInstanceAutomatedBackupsReplication() const
SourceRegion & WithEndpoint(const char *value)
SourceRegion & WithStatus(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetStatus(const char *value)
SourceRegion & WithStatus(const Aws::String &value)
void SetEndpoint(const char *value)
void SetStatus(Aws::String &&value)
void SetEndpoint(const Aws::String &value)
SourceRegion & WithSupportsDBInstanceAutomatedBackupsReplication(bool value)
const Aws::String & GetEndpoint() const
void SetSupportsDBInstanceAutomatedBackupsReplication(bool value)
void SetEndpoint(Aws::String &&value)
void SetStatus(const Aws::String &value)
void SetRegionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream