7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/timestream-influxdb/TimestreamInfluxDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-influxdb/model/LogDeliveryConfiguration.h>
11#include <aws/timestream-influxdb/model/DbInstanceType.h>
12#include <aws/timestream-influxdb/model/FailoverMode.h>
17namespace TimestreamInfluxDB
46 template<
typename DbClusterIdT = Aws::String>
47 void SetDbClusterId(DbClusterIdT&& value) { m_dbClusterIdHasBeenSet =
true; m_dbClusterId = std::forward<DbClusterIdT>(value); }
48 template<
typename DbClusterIdT = Aws::String>
58 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
59 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet =
true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
60 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
70 template<
typename DbParameterGroupIdentifierT = Aws::String>
71 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet =
true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
72 template<
typename DbParameterGroupIdentifierT = Aws::String>
80 inline int GetPort()
const {
return m_port; }
82 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
108 bool m_dbClusterIdHasBeenSet =
false;
111 bool m_logDeliveryConfigurationHasBeenSet =
false;
114 bool m_dbParameterGroupIdentifierHasBeenSet =
false;
117 bool m_portHasBeenSet =
false;
120 bool m_dbInstanceTypeHasBeenSet =
false;
123 bool m_failoverModeHasBeenSet =
false;
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
UpdateDbClusterRequest & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
const Aws::String & GetDbParameterGroupIdentifier() const
bool PortHasBeenSet() const
FailoverMode GetFailoverMode() const
DbInstanceType GetDbInstanceType() const
UpdateDbClusterRequest & WithDbClusterId(DbClusterIdT &&value)
bool FailoverModeHasBeenSet() const
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
bool LogDeliveryConfigurationHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API UpdateDbClusterRequest()=default
bool DbInstanceTypeHasBeenSet() const
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
void SetDbClusterId(DbClusterIdT &&value)
bool DbParameterGroupIdentifierHasBeenSet() const
UpdateDbClusterRequest & WithFailoverMode(FailoverMode value)
void SetFailoverMode(FailoverMode value)
UpdateDbClusterRequest & WithPort(int value)
void SetDbInstanceType(DbInstanceType value)
UpdateDbClusterRequest & WithDbInstanceType(DbInstanceType value)
AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool DbClusterIdHasBeenSet() const
const Aws::String & GetDbClusterId() const
UpdateDbClusterRequest & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String