AWS SDK for C++  1.8.71
AWS SDK for C++
BacktrackDBClusterRequest.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>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RDS
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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 "BacktrackDBCluster"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
51  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
52 
61  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
62 
71  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
72 
81  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
82 
91  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
92 
101  inline BacktrackDBClusterRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
102 
111  inline BacktrackDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
112 
121  inline BacktrackDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
122 
123 
134  inline const Aws::Utils::DateTime& GetBacktrackTo() const{ return m_backtrackTo; }
135 
146  inline bool BacktrackToHasBeenSet() const { return m_backtrackToHasBeenSet; }
147 
158  inline void SetBacktrackTo(const Aws::Utils::DateTime& value) { m_backtrackToHasBeenSet = true; m_backtrackTo = value; }
159 
170  inline void SetBacktrackTo(Aws::Utils::DateTime&& value) { m_backtrackToHasBeenSet = true; m_backtrackTo = std::move(value); }
171 
182  inline BacktrackDBClusterRequest& WithBacktrackTo(const Aws::Utils::DateTime& value) { SetBacktrackTo(value); return *this;}
183 
194  inline BacktrackDBClusterRequest& WithBacktrackTo(Aws::Utils::DateTime&& value) { SetBacktrackTo(std::move(value)); return *this;}
195 
196 
202  inline bool GetForce() const{ return m_force; }
203 
209  inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
210 
216  inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
217 
223  inline BacktrackDBClusterRequest& WithForce(bool value) { SetForce(value); return *this;}
224 
225 
233  inline bool GetUseEarliestTimeOnPointInTimeUnavailable() const{ return m_useEarliestTimeOnPointInTimeUnavailable; }
234 
242  inline bool UseEarliestTimeOnPointInTimeUnavailableHasBeenSet() const { return m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet; }
243 
251  inline void SetUseEarliestTimeOnPointInTimeUnavailable(bool value) { m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = true; m_useEarliestTimeOnPointInTimeUnavailable = value; }
252 
260  inline BacktrackDBClusterRequest& WithUseEarliestTimeOnPointInTimeUnavailable(bool value) { SetUseEarliestTimeOnPointInTimeUnavailable(value); return *this;}
261 
262  private:
263 
264  Aws::String m_dBClusterIdentifier;
265  bool m_dBClusterIdentifierHasBeenSet;
266 
267  Aws::Utils::DateTime m_backtrackTo;
268  bool m_backtrackToHasBeenSet;
269 
270  bool m_force;
271  bool m_forceHasBeenSet;
272 
273  bool m_useEarliestTimeOnPointInTimeUnavailable;
274  bool m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet;
275  };
276 
277 } // namespace Model
278 } // namespace RDS
279 } // namespace Aws
BacktrackDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
BacktrackDBClusterRequest & WithBacktrackTo(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
void SetBacktrackTo(const Aws::Utils::DateTime &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
BacktrackDBClusterRequest & WithDBClusterIdentifier(const char *value)
BacktrackDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
BacktrackDBClusterRequest & WithBacktrackTo(Aws::Utils::DateTime &&value)
BacktrackDBClusterRequest & WithForce(bool value)
void SetBacktrackTo(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetBacktrackTo() const
BacktrackDBClusterRequest & WithUseEarliestTimeOnPointInTimeUnavailable(bool value)
void SetDBClusterIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97