AWS SDK for C++  1.9.104
AWS SDK for C++
ModifyCurrentDBClusterCapacityResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace RDS
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
41 
46  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifier = value; }
47 
52  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifier = std::move(value); }
53 
58  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifier.assign(value); }
59 
64  inline ModifyCurrentDBClusterCapacityResult& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
65 
70  inline ModifyCurrentDBClusterCapacityResult& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
71 
76  inline ModifyCurrentDBClusterCapacityResult& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
77 
78 
82  inline int GetPendingCapacity() const{ return m_pendingCapacity; }
83 
87  inline void SetPendingCapacity(int value) { m_pendingCapacity = value; }
88 
92  inline ModifyCurrentDBClusterCapacityResult& WithPendingCapacity(int value) { SetPendingCapacity(value); return *this;}
93 
94 
98  inline int GetCurrentCapacity() const{ return m_currentCapacity; }
99 
103  inline void SetCurrentCapacity(int value) { m_currentCapacity = value; }
104 
108  inline ModifyCurrentDBClusterCapacityResult& WithCurrentCapacity(int value) { SetCurrentCapacity(value); return *this;}
109 
110 
115  inline int GetSecondsBeforeTimeout() const{ return m_secondsBeforeTimeout; }
116 
121  inline void SetSecondsBeforeTimeout(int value) { m_secondsBeforeTimeout = value; }
122 
127  inline ModifyCurrentDBClusterCapacityResult& WithSecondsBeforeTimeout(int value) { SetSecondsBeforeTimeout(value); return *this;}
128 
129 
135  inline const Aws::String& GetTimeoutAction() const{ return m_timeoutAction; }
136 
142  inline void SetTimeoutAction(const Aws::String& value) { m_timeoutAction = value; }
143 
149  inline void SetTimeoutAction(Aws::String&& value) { m_timeoutAction = std::move(value); }
150 
156  inline void SetTimeoutAction(const char* value) { m_timeoutAction.assign(value); }
157 
163  inline ModifyCurrentDBClusterCapacityResult& WithTimeoutAction(const Aws::String& value) { SetTimeoutAction(value); return *this;}
164 
170  inline ModifyCurrentDBClusterCapacityResult& WithTimeoutAction(Aws::String&& value) { SetTimeoutAction(std::move(value)); return *this;}
171 
177  inline ModifyCurrentDBClusterCapacityResult& WithTimeoutAction(const char* value) { SetTimeoutAction(value); return *this;}
178 
179 
180 
181  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
182 
183 
184  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
185 
186 
187  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
188 
189 
190  inline ModifyCurrentDBClusterCapacityResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
191 
192 
193  inline ModifyCurrentDBClusterCapacityResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
194 
195  private:
196 
197  Aws::String m_dBClusterIdentifier;
198 
199  int m_pendingCapacity;
200 
201  int m_currentCapacity;
202 
203  int m_secondsBeforeTimeout;
204 
205  Aws::String m_timeoutAction;
206 
207  ResponseMetadata m_responseMetadata;
208  };
209 
210 } // namespace Model
211 } // namespace RDS
212 } // namespace Aws
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithTimeoutAction
ModifyCurrentDBClusterCapacityResult & WithTimeoutAction(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityResult.h:170
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithSecondsBeforeTimeout
ModifyCurrentDBClusterCapacityResult & WithSecondsBeforeTimeout(int value)
Definition: ModifyCurrentDBClusterCapacityResult.h:127
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithDBClusterIdentifier
ModifyCurrentDBClusterCapacityResult & WithDBClusterIdentifier(const char *value)
Definition: ModifyCurrentDBClusterCapacityResult.h:76
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetDBClusterIdentifier
void SetDBClusterIdentifier(const char *value)
Definition: ModifyCurrentDBClusterCapacityResult.h:58
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::GetSecondsBeforeTimeout
int GetSecondsBeforeTimeout() const
Definition: ModifyCurrentDBClusterCapacityResult.h:115
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithDBClusterIdentifier
ModifyCurrentDBClusterCapacityResult & WithDBClusterIdentifier(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityResult.h:64
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetPendingCapacity
void SetPendingCapacity(int value)
Definition: ModifyCurrentDBClusterCapacityResult.h:87
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithPendingCapacity
ModifyCurrentDBClusterCapacityResult & WithPendingCapacity(int value)
Definition: ModifyCurrentDBClusterCapacityResult.h:92
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::GetCurrentCapacity
int GetCurrentCapacity() const
Definition: ModifyCurrentDBClusterCapacityResult.h:98
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithCurrentCapacity
ModifyCurrentDBClusterCapacityResult & WithCurrentCapacity(int value)
Definition: ModifyCurrentDBClusterCapacityResult.h:108
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetSecondsBeforeTimeout
void SetSecondsBeforeTimeout(int value)
Definition: ModifyCurrentDBClusterCapacityResult.h:121
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetDBClusterIdentifier
void SetDBClusterIdentifier(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityResult.h:46
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetCurrentCapacity
void SetCurrentCapacity(int value)
Definition: ModifyCurrentDBClusterCapacityResult.h:103
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithResponseMetadata
ModifyCurrentDBClusterCapacityResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifyCurrentDBClusterCapacityResult.h:193
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetDBClusterIdentifier
void SetDBClusterIdentifier(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityResult.h:52
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::GetDBClusterIdentifier
const Aws::String & GetDBClusterIdentifier() const
Definition: ModifyCurrentDBClusterCapacityResult.h:40
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithTimeoutAction
ModifyCurrentDBClusterCapacityResult & WithTimeoutAction(const char *value)
Definition: ModifyCurrentDBClusterCapacityResult.h:177
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::ModifyCurrentDBClusterCapacityResult
ModifyCurrentDBClusterCapacityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RDS_EXPORTS.h
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetTimeoutAction
void SetTimeoutAction(const char *value)
Definition: ModifyCurrentDBClusterCapacityResult.h:156
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithDBClusterIdentifier
ModifyCurrentDBClusterCapacityResult & WithDBClusterIdentifier(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityResult.h:70
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetTimeoutAction
void SetTimeoutAction(Aws::String &&value)
Definition: ModifyCurrentDBClusterCapacityResult.h:149
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifyCurrentDBClusterCapacityResult.h:181
AWSString.h
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult
Definition: ModifyCurrentDBClusterCapacityResult.h:29
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithResponseMetadata
ModifyCurrentDBClusterCapacityResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifyCurrentDBClusterCapacityResult.h:190
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::GetTimeoutAction
const Aws::String & GetTimeoutAction() const
Definition: ModifyCurrentDBClusterCapacityResult.h:135
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::operator=
ModifyCurrentDBClusterCapacityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifyCurrentDBClusterCapacityResult.h:184
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::WithTimeoutAction
ModifyCurrentDBClusterCapacityResult & WithTimeoutAction(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityResult.h:163
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetTimeoutAction
void SetTimeoutAction(const Aws::String &value)
Definition: ModifyCurrentDBClusterCapacityResult.h:142
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifyCurrentDBClusterCapacityResult.h:187
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::ModifyCurrentDBClusterCapacityResult
ModifyCurrentDBClusterCapacityResult()
Aws::RDS::Model::ModifyCurrentDBClusterCapacityResult::GetPendingCapacity
int GetPendingCapacity() const
Definition: ModifyCurrentDBClusterCapacityResult.h:82