7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
132 inline void SetInitQuery(
const char* value) { m_initQueryHasBeenSet =
true; m_initQuery.assign(value); }
139 int m_maxConnectionsPercent;
140 bool m_maxConnectionsPercentHasBeenSet =
false;
142 int m_maxIdleConnectionsPercent;
143 bool m_maxIdleConnectionsPercentHasBeenSet =
false;
145 int m_connectionBorrowTimeout;
146 bool m_connectionBorrowTimeoutHasBeenSet =
false;
149 bool m_sessionPinningFiltersHasBeenSet =
false;
152 bool m_initQueryHasBeenSet =
false;
bool MaxConnectionsPercentHasBeenSet() const
AWS_RDS_API ConnectionPoolConfiguration()
void SetMaxConnectionsPercent(int value)
ConnectionPoolConfiguration & WithInitQuery(const char *value)
bool SessionPinningFiltersHasBeenSet() const
AWS_RDS_API ConnectionPoolConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInitQuery(Aws::String &&value)
bool ConnectionBorrowTimeoutHasBeenSet() const
int GetConnectionBorrowTimeout() const
ConnectionPoolConfiguration & AddSessionPinningFilters(Aws::String &&value)
void SetInitQuery(const char *value)
int GetMaxIdleConnectionsPercent() const
AWS_RDS_API ConnectionPoolConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionPoolConfiguration & WithConnectionBorrowTimeout(int value)
ConnectionPoolConfiguration & WithMaxConnectionsPercent(int value)
void SetConnectionBorrowTimeout(int value)
const Aws::Vector< Aws::String > & GetSessionPinningFilters() const
ConnectionPoolConfiguration & AddSessionPinningFilters(const char *value)
ConnectionPoolConfiguration & WithSessionPinningFilters(Aws::Vector< Aws::String > &&value)
ConnectionPoolConfiguration & AddSessionPinningFilters(const Aws::String &value)
ConnectionPoolConfiguration & WithSessionPinningFilters(const Aws::Vector< Aws::String > &value)
const Aws::String & GetInitQuery() const
ConnectionPoolConfiguration & WithInitQuery(Aws::String &&value)
int GetMaxConnectionsPercent() const
void SetMaxIdleConnectionsPercent(int value)
void SetInitQuery(const Aws::String &value)
bool MaxIdleConnectionsPercentHasBeenSet() const
ConnectionPoolConfiguration & WithMaxIdleConnectionsPercent(int value)
void SetSessionPinningFilters(Aws::Vector< Aws::String > &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool InitQueryHasBeenSet() const
void SetSessionPinningFilters(const Aws::Vector< Aws::String > &value)
ConnectionPoolConfiguration & WithInitQuery(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream