AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BacktrackDBClusterRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RDS
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_RDS_API BacktrackDBClusterRequest() = 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 "BacktrackDBCluster"; }
35
36 AWS_RDS_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
52 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
53 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
54 template<typename DBClusterIdentifierT = Aws::String>
55 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
56 template<typename DBClusterIdentifierT = Aws::String>
57 BacktrackDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
59
61
71 inline const Aws::Utils::DateTime& GetBacktrackTo() const { return m_backtrackTo; }
72 inline bool BacktrackToHasBeenSet() const { return m_backtrackToHasBeenSet; }
73 template<typename BacktrackToT = Aws::Utils::DateTime>
74 void SetBacktrackTo(BacktrackToT&& value) { m_backtrackToHasBeenSet = true; m_backtrackTo = std::forward<BacktrackToT>(value); }
75 template<typename BacktrackToT = Aws::Utils::DateTime>
76 BacktrackDBClusterRequest& WithBacktrackTo(BacktrackToT&& value) { SetBacktrackTo(std::forward<BacktrackToT>(value)); return *this;}
78
80
84 inline bool GetForce() const { return m_force; }
85 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
86 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
87 inline BacktrackDBClusterRequest& WithForce(bool value) { SetForce(value); return *this;}
89
91
98 inline bool GetUseEarliestTimeOnPointInTimeUnavailable() const { return m_useEarliestTimeOnPointInTimeUnavailable; }
99 inline bool UseEarliestTimeOnPointInTimeUnavailableHasBeenSet() const { return m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet; }
100 inline void SetUseEarliestTimeOnPointInTimeUnavailable(bool value) { m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = true; m_useEarliestTimeOnPointInTimeUnavailable = value; }
103 private:
104
105 Aws::String m_dBClusterIdentifier;
106 bool m_dBClusterIdentifierHasBeenSet = false;
107
108 Aws::Utils::DateTime m_backtrackTo{};
109 bool m_backtrackToHasBeenSet = false;
110
111 bool m_force{false};
112 bool m_forceHasBeenSet = false;
113
114 bool m_useEarliestTimeOnPointInTimeUnavailable{false};
115 bool m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace RDS
120} // namespace Aws
BacktrackDBClusterRequest & WithUseEarliestTimeOnPointInTimeUnavailable(bool value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API Aws::String SerializePayload() const override
BacktrackDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
AWS_RDS_API BacktrackDBClusterRequest()=default
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::Utils::DateTime & GetBacktrackTo() const
BacktrackDBClusterRequest & WithForce(bool value)
BacktrackDBClusterRequest & WithBacktrackTo(BacktrackToT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String