AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsCustomClusterConfiguration.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 <aws/rds/model/ReplicaMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS
23{
24namespace Model
25{
26
33 {
34 public:
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& GetInterconnectSubnetId() const{ return m_interconnectSubnetId; }
48 inline bool InterconnectSubnetIdHasBeenSet() const { return m_interconnectSubnetIdHasBeenSet; }
49 inline void SetInterconnectSubnetId(const Aws::String& value) { m_interconnectSubnetIdHasBeenSet = true; m_interconnectSubnetId = value; }
50 inline void SetInterconnectSubnetId(Aws::String&& value) { m_interconnectSubnetIdHasBeenSet = true; m_interconnectSubnetId = std::move(value); }
51 inline void SetInterconnectSubnetId(const char* value) { m_interconnectSubnetIdHasBeenSet = true; m_interconnectSubnetId.assign(value); }
54 inline RdsCustomClusterConfiguration& WithInterconnectSubnetId(const char* value) { SetInterconnectSubnetId(value); return *this;}
56
58
61 inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
62 inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
63 inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
64 inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
65 inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
70
72
75 inline const ReplicaMode& GetReplicaMode() const{ return m_replicaMode; }
76 inline bool ReplicaModeHasBeenSet() const { return m_replicaModeHasBeenSet; }
77 inline void SetReplicaMode(const ReplicaMode& value) { m_replicaModeHasBeenSet = true; m_replicaMode = value; }
78 inline void SetReplicaMode(ReplicaMode&& value) { m_replicaModeHasBeenSet = true; m_replicaMode = std::move(value); }
79 inline RdsCustomClusterConfiguration& WithReplicaMode(const ReplicaMode& value) { SetReplicaMode(value); return *this;}
80 inline RdsCustomClusterConfiguration& WithReplicaMode(ReplicaMode&& value) { SetReplicaMode(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_interconnectSubnetId;
85 bool m_interconnectSubnetIdHasBeenSet = false;
86
87 Aws::String m_transitGatewayMulticastDomainId;
88 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
89
90 ReplicaMode m_replicaMode;
91 bool m_replicaModeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace RDS
96} // namespace Aws
AWS_RDS_API RdsCustomClusterConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RdsCustomClusterConfiguration & WithTransitGatewayMulticastDomainId(Aws::String &&value)
RdsCustomClusterConfiguration & WithInterconnectSubnetId(const char *value)
RdsCustomClusterConfiguration & WithInterconnectSubnetId(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RdsCustomClusterConfiguration & WithInterconnectSubnetId(Aws::String &&value)
RdsCustomClusterConfiguration & WithTransitGatewayMulticastDomainId(const char *value)
AWS_RDS_API RdsCustomClusterConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
RdsCustomClusterConfiguration & WithReplicaMode(ReplicaMode &&value)
RdsCustomClusterConfiguration & WithReplicaMode(const ReplicaMode &value)
RdsCustomClusterConfiguration & WithTransitGatewayMulticastDomainId(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