AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
14
15namespace Aws
16{
17namespace TimestreamInfluxDB
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_TIMESTREAMINFLUXDB_API UpdateDbInstanceRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateDbInstance"; }
34
35 AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override;
36
37 AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
45 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
46 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
47 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
48 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
49 inline UpdateDbInstanceRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
50 inline UpdateDbInstanceRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
51 inline UpdateDbInstanceRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
53
55
59 inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const{ return m_logDeliveryConfiguration; }
60 inline bool LogDeliveryConfigurationHasBeenSet() const { return m_logDeliveryConfigurationHasBeenSet; }
61 inline void SetLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = value; }
62 inline void SetLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = std::move(value); }
66
68
73 inline const Aws::String& GetDbParameterGroupIdentifier() const{ return m_dbParameterGroupIdentifier; }
74 inline bool DbParameterGroupIdentifierHasBeenSet() const { return m_dbParameterGroupIdentifierHasBeenSet; }
75 inline void SetDbParameterGroupIdentifier(const Aws::String& value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier = value; }
76 inline void SetDbParameterGroupIdentifier(Aws::String&& value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier = std::move(value); }
77 inline void SetDbParameterGroupIdentifier(const char* value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier.assign(value); }
82
84
90 inline int GetPort() const{ return m_port; }
91 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
92 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
93 inline UpdateDbInstanceRequest& WithPort(int value) { SetPort(value); return *this;}
95
97
100 inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; }
101 inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; }
102 inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; }
103 inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = std::move(value); }
104 inline UpdateDbInstanceRequest& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;}
105 inline UpdateDbInstanceRequest& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;}
107
109
113 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
114 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
115 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
116 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
117 inline UpdateDbInstanceRequest& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
118 inline UpdateDbInstanceRequest& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_identifier;
123 bool m_identifierHasBeenSet = false;
124
125 LogDeliveryConfiguration m_logDeliveryConfiguration;
126 bool m_logDeliveryConfigurationHasBeenSet = false;
127
128 Aws::String m_dbParameterGroupIdentifier;
129 bool m_dbParameterGroupIdentifierHasBeenSet = false;
130
131 int m_port;
132 bool m_portHasBeenSet = false;
133
134 DbInstanceType m_dbInstanceType;
135 bool m_dbInstanceTypeHasBeenSet = false;
136
137 DeploymentType m_deploymentType;
138 bool m_deploymentTypeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace TimestreamInfluxDB
143} // namespace Aws
UpdateDbInstanceRequest & WithIdentifier(const Aws::String &value)
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
UpdateDbInstanceRequest & WithLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
UpdateDbInstanceRequest & WithLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override
UpdateDbInstanceRequest & WithDbParameterGroupIdentifier(const char *value)
UpdateDbInstanceRequest & WithDbParameterGroupIdentifier(Aws::String &&value)
UpdateDbInstanceRequest & WithIdentifier(Aws::String &&value)
UpdateDbInstanceRequest & WithDbInstanceType(const DbInstanceType &value)
void SetLogDeliveryConfiguration(const LogDeliveryConfiguration &value)
UpdateDbInstanceRequest & WithIdentifier(const char *value)
void SetLogDeliveryConfiguration(LogDeliveryConfiguration &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDbInstanceRequest & WithDbParameterGroupIdentifier(const Aws::String &value)
UpdateDbInstanceRequest & WithDeploymentType(const DeploymentType &value)
UpdateDbInstanceRequest & WithDeploymentType(DeploymentType &&value)
UpdateDbInstanceRequest & WithDbInstanceType(DbInstanceType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String