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/DeploymentType.h>
13#include <aws/timestream-influxdb/model/DbStorageType.h>
18namespace TimestreamInfluxDB
47 template<
typename IdentifierT = Aws::String>
48 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
49 template<
typename IdentifierT = Aws::String>
60 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
61 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet =
true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
62 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
74 template<
typename DbParameterGroupIdentifierT = Aws::String>
75 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet =
true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
76 template<
typename DbParameterGroupIdentifierT = Aws::String>
87 inline int GetPort()
const {
return m_port; }
89 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
131 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
137 bool m_identifierHasBeenSet =
false;
140 bool m_logDeliveryConfigurationHasBeenSet =
false;
143 bool m_dbParameterGroupIdentifierHasBeenSet =
false;
146 bool m_portHasBeenSet =
false;
149 bool m_dbInstanceTypeHasBeenSet =
false;
152 bool m_deploymentTypeHasBeenSet =
false;
155 bool m_dbStorageTypeHasBeenSet =
false;
157 int m_allocatedStorage{0};
158 bool m_allocatedStorageHasBeenSet =
false;
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
DeploymentType GetDeploymentType() const
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
bool AllocatedStorageHasBeenSet() const
int GetAllocatedStorage() const
UpdateDbInstanceRequest & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
void SetIdentifier(IdentifierT &&value)
UpdateDbInstanceRequest & WithPort(int value)
const Aws::String & GetIdentifier() const
AWS_TIMESTREAMINFLUXDB_API UpdateDbInstanceRequest()=default
bool DbParameterGroupIdentifierHasBeenSet() const
bool DbInstanceTypeHasBeenSet() const
UpdateDbInstanceRequest & WithAllocatedStorage(int value)
DbStorageType GetDbStorageType() const
AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
void SetDbInstanceType(DbInstanceType value)
bool DbStorageTypeHasBeenSet() const
const Aws::String & GetDbParameterGroupIdentifier() const
UpdateDbInstanceRequest & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
bool LogDeliveryConfigurationHasBeenSet() const
bool DeploymentTypeHasBeenSet() const
bool IdentifierHasBeenSet() const
void SetDeploymentType(DeploymentType value)
AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDbInstanceRequest & WithDbStorageType(DbStorageType value)
void SetAllocatedStorage(int value)
UpdateDbInstanceRequest & WithDbInstanceType(DbInstanceType value)
UpdateDbInstanceRequest & WithIdentifier(IdentifierT &&value)
virtual const char * GetServiceRequestName() const override
UpdateDbInstanceRequest & WithDeploymentType(DeploymentType value)
void SetDbStorageType(DbStorageType value)
bool PortHasBeenSet() const
DbInstanceType GetDbInstanceType() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String