AWS SDK for C++  1.9.108
AWS SDK for C++
ModifyCurrentDBClusterCapacityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ModifyCurrentDBClusterCapacity"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
44  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
45 
51  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
52 
58  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
59 
65  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
66 
72  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
73 
79  inline ModifyCurrentDBClusterCapacityRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
80 
86  inline ModifyCurrentDBClusterCapacityRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
87 
93  inline ModifyCurrentDBClusterCapacityRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
94 
95 
106  inline int GetCapacity() const{ return m_capacity; }
107 
118  inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
119 
130  inline void SetCapacity(int value) { m_capacityHasBeenSet = true; m_capacity = value; }
131 
142  inline ModifyCurrentDBClusterCapacityRequest& WithCapacity(int value) { SetCapacity(value); return *this;}
143 
144 
150  inline int GetSecondsBeforeTimeout() const{ return m_secondsBeforeTimeout; }
151 
157  inline bool SecondsBeforeTimeoutHasBeenSet() const { return m_secondsBeforeTimeoutHasBeenSet; }
158 
164  inline void SetSecondsBeforeTimeout(int value) { m_secondsBeforeTimeoutHasBeenSet = true; m_secondsBeforeTimeout = value; }
165 
171  inline ModifyCurrentDBClusterCapacityRequest& WithSecondsBeforeTimeout(int value) { SetSecondsBeforeTimeout(value); return *this;}
172 
173 
183  inline const Aws::String& GetTimeoutAction() const{ return m_timeoutAction; }
184 
194  inline bool TimeoutActionHasBeenSet() const { return m_timeoutActionHasBeenSet; }
195 
205  inline void SetTimeoutAction(const Aws::String& value) { m_timeoutActionHasBeenSet = true; m_timeoutAction = value; }
206 
216  inline void SetTimeoutAction(Aws::String&& value) { m_timeoutActionHasBeenSet = true; m_timeoutAction = std::move(value); }
217 
227  inline void SetTimeoutAction(const char* value) { m_timeoutActionHasBeenSet = true; m_timeoutAction.assign(value); }
228 
238  inline ModifyCurrentDBClusterCapacityRequest& WithTimeoutAction(const Aws::String& value) { SetTimeoutAction(value); return *this;}
239 
249  inline ModifyCurrentDBClusterCapacityRequest& WithTimeoutAction(Aws::String&& value) { SetTimeoutAction(std::move(value)); return *this;}
250 
260  inline ModifyCurrentDBClusterCapacityRequest& WithTimeoutAction(const char* value) { SetTimeoutAction(value); return *this;}
261 
262  private:
263 
264  Aws::String m_dBClusterIdentifier;
265  bool m_dBClusterIdentifierHasBeenSet;
266 
267  int m_capacity;
268  bool m_capacityHasBeenSet;
269 
270  int m_secondsBeforeTimeout;
271  bool m_secondsBeforeTimeoutHasBeenSet;
272 
273  Aws::String m_timeoutAction;
274  bool m_timeoutActionHasBeenSet;
275  };
276 
277 } // namespace Model
278 } // namespace RDS
279 } // namespace Aws
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithSecondsBeforeTimeout
ModifyCurrentDBClusterCapacityRequest & WithSecondsBeforeTimeout(int value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:171
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetTimeoutAction
void SetTimeoutAction(const char *value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:227
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::GetTimeoutAction
const Aws::String & GetTimeoutAction() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:183
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetSecondsBeforeTimeout
void SetSecondsBeforeTimeout(int value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:164
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::CapacityHasBeenSet
bool CapacityHasBeenSet() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:118
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:65
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetTimeoutAction
void SetTimeoutAction(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:205
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetTimeoutAction
void SetTimeoutAction(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:216
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::TimeoutActionHasBeenSet
bool TimeoutActionHasBeenSet() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:194
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::ModifyCurrentDBClusterCapacityRequest
ModifyCurrentDBClusterCapacityRequest()
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetCapacity
void SetCapacity(int value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:130
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithTimeoutAction
ModifyCurrentDBClusterCapacityRequest & WithTimeoutAction(const char *value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:260
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithDBClusterIdentifier
ModifyCurrentDBClusterCapacityRequest & WithDBClusterIdentifier(const char *value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:93
RDS_EXPORTS.h
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyCurrentDBClusterCapacityRequest.h:30
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithTimeoutAction
ModifyCurrentDBClusterCapacityRequest & WithTimeoutAction(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:249
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SecondsBeforeTimeoutHasBeenSet
bool SecondsBeforeTimeoutHasBeenSet() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:157
AWSString.h
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:58
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const char *value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:72
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithTimeoutAction
ModifyCurrentDBClusterCapacityRequest & WithTimeoutAction(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:238
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::GetSecondsBeforeTimeout
int GetSecondsBeforeTimeout() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:150
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithCapacity
ModifyCurrentDBClusterCapacityRequest & WithCapacity(int value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithDBClusterIdentifier
ModifyCurrentDBClusterCapacityRequest & WithDBClusterIdentifier(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::WithDBClusterIdentifier
ModifyCurrentDBClusterCapacityRequest & WithDBClusterIdentifier(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityRequest.h:86
RDSRequest.h
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::GetDBClusterIdentifier
const Aws::String & GetDBClusterIdentifier() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:44
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::GetCapacity
int GetCapacity() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:106
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest
Definition: ModifyCurrentDBClusterCapacityRequest.h:22
Aws::RDS::Model::ModifyCurrentDBClusterCapacityRequest::DBClusterIdentifierHasBeenSet
bool DBClusterIdentifierHasBeenSet() const
Definition: ModifyCurrentDBClusterCapacityRequest.h:51