AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBProxyTargetGroup.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/ConnectionPoolConfigurationInfo.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_RDS_API DBProxyTargetGroup();
41 AWS_RDS_API DBProxyTargetGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
53 inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
54 inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
55 inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
56 inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
57 inline DBProxyTargetGroup& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
58 inline DBProxyTargetGroup& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
59 inline DBProxyTargetGroup& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
61
63
68 inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
69 inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
70 inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
71 inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
72 inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
73 inline DBProxyTargetGroup& WithTargetGroupName(const Aws::String& value) { SetTargetGroupName(value); return *this;}
74 inline DBProxyTargetGroup& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
75 inline DBProxyTargetGroup& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;}
77
79
82 inline const Aws::String& GetTargetGroupArn() const{ return m_targetGroupArn; }
83 inline bool TargetGroupArnHasBeenSet() const { return m_targetGroupArnHasBeenSet; }
84 inline void SetTargetGroupArn(const Aws::String& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = value; }
85 inline void SetTargetGroupArn(Aws::String&& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = std::move(value); }
86 inline void SetTargetGroupArn(const char* value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn.assign(value); }
87 inline DBProxyTargetGroup& WithTargetGroupArn(const Aws::String& value) { SetTargetGroupArn(value); return *this;}
88 inline DBProxyTargetGroup& WithTargetGroupArn(Aws::String&& value) { SetTargetGroupArn(std::move(value)); return *this;}
89 inline DBProxyTargetGroup& WithTargetGroupArn(const char* value) { SetTargetGroupArn(value); return *this;}
91
93
99 inline bool GetIsDefault() const{ return m_isDefault; }
100 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
101 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
102 inline DBProxyTargetGroup& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
104
106
112 inline const Aws::String& GetStatus() const{ return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
115 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
116 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
117 inline DBProxyTargetGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
118 inline DBProxyTargetGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
119 inline DBProxyTargetGroup& WithStatus(const char* value) { SetStatus(value); return *this;}
121
123
127 inline const ConnectionPoolConfigurationInfo& GetConnectionPoolConfig() const{ return m_connectionPoolConfig; }
128 inline bool ConnectionPoolConfigHasBeenSet() const { return m_connectionPoolConfigHasBeenSet; }
129 inline void SetConnectionPoolConfig(const ConnectionPoolConfigurationInfo& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = value; }
130 inline void SetConnectionPoolConfig(ConnectionPoolConfigurationInfo&& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = std::move(value); }
134
136
139 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
140 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
141 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
142 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
143 inline DBProxyTargetGroup& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
144 inline DBProxyTargetGroup& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
152 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
153 inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
154 inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
155 inline DBProxyTargetGroup& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
156 inline DBProxyTargetGroup& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
158 private:
159
160 Aws::String m_dBProxyName;
161 bool m_dBProxyNameHasBeenSet = false;
162
163 Aws::String m_targetGroupName;
164 bool m_targetGroupNameHasBeenSet = false;
165
166 Aws::String m_targetGroupArn;
167 bool m_targetGroupArnHasBeenSet = false;
168
169 bool m_isDefault;
170 bool m_isDefaultHasBeenSet = false;
171
172 Aws::String m_status;
173 bool m_statusHasBeenSet = false;
174
175 ConnectionPoolConfigurationInfo m_connectionPoolConfig;
176 bool m_connectionPoolConfigHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdDate;
179 bool m_createdDateHasBeenSet = false;
180
181 Aws::Utils::DateTime m_updatedDate;
182 bool m_updatedDateHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace RDS
187} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTargetGroupArn(const char *value)
DBProxyTargetGroup & WithIsDefault(bool value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetTargetGroupName(const char *value)
DBProxyTargetGroup & WithUpdatedDate(Aws::Utils::DateTime &&value)
AWS_RDS_API DBProxyTargetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTargetGroupArn() const
DBProxyTargetGroup & WithDBProxyName(Aws::String &&value)
const Aws::String & GetStatus() const
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetUpdatedDate(const Aws::Utils::DateTime &value)
void SetTargetGroupName(const Aws::String &value)
DBProxyTargetGroup & WithConnectionPoolConfig(ConnectionPoolConfigurationInfo &&value)
DBProxyTargetGroup & WithStatus(const Aws::String &value)
DBProxyTargetGroup & WithTargetGroupArn(const Aws::String &value)
DBProxyTargetGroup & WithConnectionPoolConfig(const ConnectionPoolConfigurationInfo &value)
const ConnectionPoolConfigurationInfo & GetConnectionPoolConfig() const
void SetTargetGroupArn(Aws::String &&value)
void SetTargetGroupArn(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
DBProxyTargetGroup & WithStatus(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetUpdatedDate(Aws::Utils::DateTime &&value)
AWS_RDS_API DBProxyTargetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
DBProxyTargetGroup & WithTargetGroupName(const Aws::String &value)
DBProxyTargetGroup & WithCreatedDate(Aws::Utils::DateTime &&value)
DBProxyTargetGroup & WithDBProxyName(const Aws::String &value)
DBProxyTargetGroup & WithTargetGroupName(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedDate() const
DBProxyTargetGroup & WithCreatedDate(const Aws::Utils::DateTime &value)
DBProxyTargetGroup & WithUpdatedDate(const Aws::Utils::DateTime &value)
DBProxyTargetGroup & WithTargetGroupArn(Aws::String &&value)
DBProxyTargetGroup & WithStatus(const char *value)
void SetStatus(const Aws::String &value)
void SetTargetGroupName(Aws::String &&value)
void SetConnectionPoolConfig(ConnectionPoolConfigurationInfo &&value)
DBProxyTargetGroup & WithDBProxyName(const char *value)
void SetDBProxyName(Aws::String &&value)
void SetDBProxyName(const Aws::String &value)
void SetConnectionPoolConfig(const ConnectionPoolConfigurationInfo &value)
DBProxyTargetGroup & WithTargetGroupArn(const char *value)
DBProxyTargetGroup & WithTargetGroupName(const char *value)
const Aws::String & GetTargetGroupName() const
const Aws::String & GetDBProxyName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream