AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateDbInstanceRequest.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18namespace TimestreamInfluxDB
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_TIMESTREAMINFLUXDB_API UpdateDbInstanceRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateDbInstance"; }
35
36 AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override;
37
38 AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetIdentifier() const { return m_identifier; }
46 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
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>
50 UpdateDbInstanceRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
52
54
58 inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const { return m_logDeliveryConfiguration; }
59 inline bool LogDeliveryConfigurationHasBeenSet() const { return m_logDeliveryConfigurationHasBeenSet; }
60 template<typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
61 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
62 template<typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
63 UpdateDbInstanceRequest& WithLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { SetLogDeliveryConfiguration(std::forward<LogDeliveryConfigurationT>(value)); return *this;}
65
67
72 inline const Aws::String& GetDbParameterGroupIdentifier() const { return m_dbParameterGroupIdentifier; }
73 inline bool DbParameterGroupIdentifierHasBeenSet() const { return m_dbParameterGroupIdentifierHasBeenSet; }
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>
77 UpdateDbInstanceRequest& WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { SetDbParameterGroupIdentifier(std::forward<DbParameterGroupIdentifierT>(value)); return *this;}
79
81
87 inline int GetPort() const { return m_port; }
88 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
89 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
90 inline UpdateDbInstanceRequest& WithPort(int value) { SetPort(value); return *this;}
92
94
97 inline DbInstanceType GetDbInstanceType() const { return m_dbInstanceType; }
98 inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; }
99 inline void SetDbInstanceType(DbInstanceType value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; }
102
104
108 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
109 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
110 inline void SetDeploymentType(DeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
113
115
118 inline DbStorageType GetDbStorageType() const { return m_dbStorageType; }
119 inline bool DbStorageTypeHasBeenSet() const { return m_dbStorageTypeHasBeenSet; }
120 inline void SetDbStorageType(DbStorageType value) { m_dbStorageTypeHasBeenSet = true; m_dbStorageType = value; }
123
125
129 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
130 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
131 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
132 inline UpdateDbInstanceRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
134 private:
135
136 Aws::String m_identifier;
137 bool m_identifierHasBeenSet = false;
138
139 LogDeliveryConfiguration m_logDeliveryConfiguration;
140 bool m_logDeliveryConfigurationHasBeenSet = false;
141
142 Aws::String m_dbParameterGroupIdentifier;
143 bool m_dbParameterGroupIdentifierHasBeenSet = false;
144
145 int m_port{0};
146 bool m_portHasBeenSet = false;
147
148 DbInstanceType m_dbInstanceType{DbInstanceType::NOT_SET};
149 bool m_dbInstanceTypeHasBeenSet = false;
150
151 DeploymentType m_deploymentType{DeploymentType::NOT_SET};
152 bool m_deploymentTypeHasBeenSet = false;
153
154 DbStorageType m_dbStorageType{DbStorageType::NOT_SET};
155 bool m_dbStorageTypeHasBeenSet = false;
156
157 int m_allocatedStorage{0};
158 bool m_allocatedStorageHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace TimestreamInfluxDB
163} // namespace Aws
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
UpdateDbInstanceRequest & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
AWS_TIMESTREAMINFLUXDB_API UpdateDbInstanceRequest()=default
AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
UpdateDbInstanceRequest & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDbInstanceRequest & WithDbStorageType(DbStorageType value)
UpdateDbInstanceRequest & WithDbInstanceType(DbInstanceType value)
UpdateDbInstanceRequest & WithIdentifier(IdentifierT &&value)
UpdateDbInstanceRequest & WithDeploymentType(DeploymentType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String