AWS SDK for C++  1.9.108
AWS SDK for C++
DBProxyTargetGroup.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace RDS
24 {
25 namespace Model
26 {
27 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
51  inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
52 
56  inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
57 
61  inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
62 
66  inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
67 
71  inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
72 
76  inline DBProxyTargetGroup& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
77 
81  inline DBProxyTargetGroup& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
82 
86  inline DBProxyTargetGroup& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
87 
88 
94  inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
95 
101  inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
102 
108  inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
109 
115  inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
116 
122  inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
123 
129  inline DBProxyTargetGroup& WithTargetGroupName(const Aws::String& value) { SetTargetGroupName(value); return *this;}
130 
136  inline DBProxyTargetGroup& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
137 
143  inline DBProxyTargetGroup& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;}
144 
145 
149  inline const Aws::String& GetTargetGroupArn() const{ return m_targetGroupArn; }
150 
154  inline bool TargetGroupArnHasBeenSet() const { return m_targetGroupArnHasBeenSet; }
155 
159  inline void SetTargetGroupArn(const Aws::String& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = value; }
160 
164  inline void SetTargetGroupArn(Aws::String&& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = std::move(value); }
165 
169  inline void SetTargetGroupArn(const char* value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn.assign(value); }
170 
174  inline DBProxyTargetGroup& WithTargetGroupArn(const Aws::String& value) { SetTargetGroupArn(value); return *this;}
175 
179  inline DBProxyTargetGroup& WithTargetGroupArn(Aws::String&& value) { SetTargetGroupArn(std::move(value)); return *this;}
180 
184  inline DBProxyTargetGroup& WithTargetGroupArn(const char* value) { SetTargetGroupArn(value); return *this;}
185 
186 
192  inline bool GetIsDefault() const{ return m_isDefault; }
193 
199  inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
200 
206  inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
207 
213  inline DBProxyTargetGroup& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
214 
215 
222  inline const Aws::String& GetStatus() const{ return m_status; }
223 
230  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
231 
238  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
239 
246  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
247 
254  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
255 
262  inline DBProxyTargetGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
263 
270  inline DBProxyTargetGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
271 
278  inline DBProxyTargetGroup& WithStatus(const char* value) { SetStatus(value); return *this;}
279 
280 
285  inline const ConnectionPoolConfigurationInfo& GetConnectionPoolConfig() const{ return m_connectionPoolConfig; }
286 
291  inline bool ConnectionPoolConfigHasBeenSet() const { return m_connectionPoolConfigHasBeenSet; }
292 
297  inline void SetConnectionPoolConfig(const ConnectionPoolConfigurationInfo& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = value; }
298 
303  inline void SetConnectionPoolConfig(ConnectionPoolConfigurationInfo&& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = std::move(value); }
304 
309  inline DBProxyTargetGroup& WithConnectionPoolConfig(const ConnectionPoolConfigurationInfo& value) { SetConnectionPoolConfig(value); return *this;}
310 
315  inline DBProxyTargetGroup& WithConnectionPoolConfig(ConnectionPoolConfigurationInfo&& value) { SetConnectionPoolConfig(std::move(value)); return *this;}
316 
317 
321  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
322 
326  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
327 
331  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
332 
336  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
337 
341  inline DBProxyTargetGroup& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
342 
346  inline DBProxyTargetGroup& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
347 
348 
352  inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
353 
357  inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
358 
362  inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
363 
367  inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
368 
372  inline DBProxyTargetGroup& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
373 
377  inline DBProxyTargetGroup& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
378 
379  private:
380 
381  Aws::String m_dBProxyName;
382  bool m_dBProxyNameHasBeenSet;
383 
384  Aws::String m_targetGroupName;
385  bool m_targetGroupNameHasBeenSet;
386 
387  Aws::String m_targetGroupArn;
388  bool m_targetGroupArnHasBeenSet;
389 
390  bool m_isDefault;
391  bool m_isDefaultHasBeenSet;
392 
393  Aws::String m_status;
394  bool m_statusHasBeenSet;
395 
396  ConnectionPoolConfigurationInfo m_connectionPoolConfig;
397  bool m_connectionPoolConfigHasBeenSet;
398 
399  Aws::Utils::DateTime m_createdDate;
400  bool m_createdDateHasBeenSet;
401 
402  Aws::Utils::DateTime m_updatedDate;
403  bool m_updatedDateHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace RDS
408 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RDS::Model::DBProxyTargetGroup::WithUpdatedDate
DBProxyTargetGroup & WithUpdatedDate(const Aws::Utils::DateTime &value)
Definition: DBProxyTargetGroup.h:372
Aws::RDS::Model::DBProxyTargetGroup::GetDBProxyName
const Aws::String & GetDBProxyName() const
Definition: DBProxyTargetGroup.h:51
Aws::RDS::Model::DBProxyTargetGroup::SetIsDefault
void SetIsDefault(bool value)
Definition: DBProxyTargetGroup.h:206
Aws::RDS::Model::DBProxyTargetGroup::SetTargetGroupArn
void SetTargetGroupArn(const Aws::String &value)
Definition: DBProxyTargetGroup.h:159
Aws::RDS::Model::DBProxyTargetGroup::SetDBProxyName
void SetDBProxyName(const Aws::String &value)
Definition: DBProxyTargetGroup.h:61
Aws::RDS::Model::DBProxyTargetGroup::SetUpdatedDate
void SetUpdatedDate(const Aws::Utils::DateTime &value)
Definition: DBProxyTargetGroup.h:362
Aws::RDS::Model::DBProxyTargetGroup::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: DBProxyTargetGroup.h:321
Aws::RDS::Model::DBProxyTargetGroup::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: DBProxyTargetGroup.h:326
Aws::RDS::Model::DBProxyTargetGroup::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::DBProxyTargetGroup::operator=
DBProxyTargetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBProxyTargetGroup::SetStatus
void SetStatus(const char *value)
Definition: DBProxyTargetGroup.h:254
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
DateTime.h
Aws::RDS::Model::DBProxyTargetGroup::DBProxyNameHasBeenSet
bool DBProxyNameHasBeenSet() const
Definition: DBProxyTargetGroup.h:56
Aws::RDS::Model::DBProxyTargetGroup::TargetGroupArnHasBeenSet
bool TargetGroupArnHasBeenSet() const
Definition: DBProxyTargetGroup.h:154
Aws::RDS::Model::DBProxyTargetGroup::WithUpdatedDate
DBProxyTargetGroup & WithUpdatedDate(Aws::Utils::DateTime &&value)
Definition: DBProxyTargetGroup.h:377
Aws::RDS::Model::DBProxyTargetGroup::DBProxyTargetGroup
DBProxyTargetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBProxyTargetGroup::SetTargetGroupArn
void SetTargetGroupArn(Aws::String &&value)
Definition: DBProxyTargetGroup.h:164
Aws::RDS::Model::DBProxyTargetGroup::ConnectionPoolConfigHasBeenSet
bool ConnectionPoolConfigHasBeenSet() const
Definition: DBProxyTargetGroup.h:291
AWSStreamFwd.h
Aws::RDS::Model::DBProxyTargetGroup::SetDBProxyName
void SetDBProxyName(const char *value)
Definition: DBProxyTargetGroup.h:71
Aws::RDS::Model::DBProxyTargetGroup::SetTargetGroupName
void SetTargetGroupName(const char *value)
Definition: DBProxyTargetGroup.h:122
Aws::RDS::Model::DBProxyTargetGroup::WithTargetGroupArn
DBProxyTargetGroup & WithTargetGroupArn(Aws::String &&value)
Definition: DBProxyTargetGroup.h:179
Aws::RDS::Model::DBProxyTargetGroup::WithTargetGroupName
DBProxyTargetGroup & WithTargetGroupName(Aws::String &&value)
Definition: DBProxyTargetGroup.h:136
Aws::RDS::Model::DBProxyTargetGroup::WithTargetGroupName
DBProxyTargetGroup & WithTargetGroupName(const Aws::String &value)
Definition: DBProxyTargetGroup.h:129
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::DBProxyTargetGroup::GetIsDefault
bool GetIsDefault() const
Definition: DBProxyTargetGroup.h:192
Aws::RDS::Model::DBProxyTargetGroup::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DBProxyTargetGroup.h:230
Aws::RDS::Model::DBProxyTargetGroup::SetUpdatedDate
void SetUpdatedDate(Aws::Utils::DateTime &&value)
Definition: DBProxyTargetGroup.h:367
RDS_EXPORTS.h
Aws::RDS::Model::DBProxyTargetGroup::WithCreatedDate
DBProxyTargetGroup & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: DBProxyTargetGroup.h:341
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DBProxyTargetGroup::DBProxyTargetGroup
DBProxyTargetGroup()
Aws::RDS::Model::DBProxyTargetGroup::SetConnectionPoolConfig
void SetConnectionPoolConfig(const ConnectionPoolConfigurationInfo &value)
Definition: DBProxyTargetGroup.h:297
Aws::RDS::Model::DBProxyTargetGroup::WithTargetGroupName
DBProxyTargetGroup & WithTargetGroupName(const char *value)
Definition: DBProxyTargetGroup.h:143
Aws::RDS::Model::DBProxyTargetGroup::SetStatus
void SetStatus(Aws::String &&value)
Definition: DBProxyTargetGroup.h:246
Aws::RDS::Model::DBProxyTargetGroup::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: DBProxyTargetGroup.h:331
Aws::RDS::Model::DBProxyTargetGroup::WithStatus
DBProxyTargetGroup & WithStatus(const char *value)
Definition: DBProxyTargetGroup.h:278
Aws::RDS::Model::DBProxyTargetGroup::WithConnectionPoolConfig
DBProxyTargetGroup & WithConnectionPoolConfig(ConnectionPoolConfigurationInfo &&value)
Definition: DBProxyTargetGroup.h:315
AWSString.h
ConnectionPoolConfigurationInfo.h
Aws::RDS::Model::DBProxyTargetGroup::WithTargetGroupArn
DBProxyTargetGroup & WithTargetGroupArn(const Aws::String &value)
Definition: DBProxyTargetGroup.h:174
Aws::RDS::Model::DBProxyTargetGroup::UpdatedDateHasBeenSet
bool UpdatedDateHasBeenSet() const
Definition: DBProxyTargetGroup.h:357
Aws::RDS::Model::DBProxyTargetGroup::WithDBProxyName
DBProxyTargetGroup & WithDBProxyName(const Aws::String &value)
Definition: DBProxyTargetGroup.h:76
Aws::RDS::Model::DBProxyTargetGroup::GetTargetGroupArn
const Aws::String & GetTargetGroupArn() const
Definition: DBProxyTargetGroup.h:149
Aws::RDS::Model::DBProxyTargetGroup::SetTargetGroupName
void SetTargetGroupName(const Aws::String &value)
Definition: DBProxyTargetGroup.h:108
Aws::RDS::Model::DBProxyTargetGroup::GetStatus
const Aws::String & GetStatus() const
Definition: DBProxyTargetGroup.h:222
Aws::RDS::Model::DBProxyTargetGroup::SetStatus
void SetStatus(const Aws::String &value)
Definition: DBProxyTargetGroup.h:238
Aws::RDS::Model::DBProxyTargetGroup::SetDBProxyName
void SetDBProxyName(Aws::String &&value)
Definition: DBProxyTargetGroup.h:66
Aws::RDS::Model::DBProxyTargetGroup::GetUpdatedDate
const Aws::Utils::DateTime & GetUpdatedDate() const
Definition: DBProxyTargetGroup.h:352
Aws::RDS::Model::DBProxyTargetGroup
Definition: DBProxyTargetGroup.h:38
Aws::RDS::Model::DBProxyTargetGroup::WithCreatedDate
DBProxyTargetGroup & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: DBProxyTargetGroup.h:346
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DBProxyTargetGroup::WithConnectionPoolConfig
DBProxyTargetGroup & WithConnectionPoolConfig(const ConnectionPoolConfigurationInfo &value)
Definition: DBProxyTargetGroup.h:309
Aws::RDS::Model::DBProxyTargetGroup::WithStatus
DBProxyTargetGroup & WithStatus(const Aws::String &value)
Definition: DBProxyTargetGroup.h:262
Aws::RDS::Model::DBProxyTargetGroup::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: DBProxyTargetGroup.h:336
Aws::RDS::Model::DBProxyTargetGroup::WithTargetGroupArn
DBProxyTargetGroup & WithTargetGroupArn(const char *value)
Definition: DBProxyTargetGroup.h:184
Aws::RDS::Model::DBProxyTargetGroup::GetConnectionPoolConfig
const ConnectionPoolConfigurationInfo & GetConnectionPoolConfig() const
Definition: DBProxyTargetGroup.h:285
Aws::RDS::Model::ConnectionPoolConfigurationInfo
Definition: ConnectionPoolConfigurationInfo.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DBProxyTargetGroup::SetConnectionPoolConfig
void SetConnectionPoolConfig(ConnectionPoolConfigurationInfo &&value)
Definition: DBProxyTargetGroup.h:303
Aws::RDS::Model::DBProxyTargetGroup::WithStatus
DBProxyTargetGroup & WithStatus(Aws::String &&value)
Definition: DBProxyTargetGroup.h:270
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DBProxyTargetGroup::WithDBProxyName
DBProxyTargetGroup & WithDBProxyName(Aws::String &&value)
Definition: DBProxyTargetGroup.h:81
Aws::RDS::Model::DBProxyTargetGroup::GetTargetGroupName
const Aws::String & GetTargetGroupName() const
Definition: DBProxyTargetGroup.h:94
Aws::RDS::Model::DBProxyTargetGroup::WithDBProxyName
DBProxyTargetGroup & WithDBProxyName(const char *value)
Definition: DBProxyTargetGroup.h:86
Aws::RDS::Model::DBProxyTargetGroup::SetTargetGroupName
void SetTargetGroupName(Aws::String &&value)
Definition: DBProxyTargetGroup.h:115
Aws::RDS::Model::DBProxyTargetGroup::IsDefaultHasBeenSet
bool IsDefaultHasBeenSet() const
Definition: DBProxyTargetGroup.h:199
Aws::RDS::Model::DBProxyTargetGroup::WithIsDefault
DBProxyTargetGroup & WithIsDefault(bool value)
Definition: DBProxyTargetGroup.h:213
Aws::RDS::Model::DBProxyTargetGroup::TargetGroupNameHasBeenSet
bool TargetGroupNameHasBeenSet() const
Definition: DBProxyTargetGroup.h:101
Aws::RDS::Model::DBProxyTargetGroup::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::DBProxyTargetGroup::SetTargetGroupArn
void SetTargetGroupArn(const char *value)
Definition: DBProxyTargetGroup.h:169