AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BacktrackDBClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace RDS {
16namespace Model {
17
24 public:
25 AWS_RDS_API BacktrackDBClusterRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BacktrackDBCluster"; }
32
33 AWS_RDS_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
48 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
49 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
50 template <typename DBClusterIdentifierT = Aws::String>
51 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
52 m_dBClusterIdentifierHasBeenSet = true;
53 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
54 }
55 template <typename DBClusterIdentifierT = Aws::String>
56 BacktrackDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
57 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
58 return *this;
59 }
61
63
73 inline const Aws::Utils::DateTime& GetBacktrackTo() const { return m_backtrackTo; }
74 inline bool BacktrackToHasBeenSet() const { return m_backtrackToHasBeenSet; }
75 template <typename BacktrackToT = Aws::Utils::DateTime>
76 void SetBacktrackTo(BacktrackToT&& value) {
77 m_backtrackToHasBeenSet = true;
78 m_backtrackTo = std::forward<BacktrackToT>(value);
79 }
80 template <typename BacktrackToT = Aws::Utils::DateTime>
82 SetBacktrackTo(std::forward<BacktrackToT>(value));
83 return *this;
84 }
86
88
92 inline bool GetForce() const { return m_force; }
93 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
94 inline void SetForce(bool value) {
95 m_forceHasBeenSet = true;
96 m_force = value;
97 }
99 SetForce(value);
100 return *this;
101 }
103
105
112 inline bool GetUseEarliestTimeOnPointInTimeUnavailable() const { return m_useEarliestTimeOnPointInTimeUnavailable; }
113 inline bool UseEarliestTimeOnPointInTimeUnavailableHasBeenSet() const { return m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet; }
115 m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = true;
116 m_useEarliestTimeOnPointInTimeUnavailable = value;
117 }
120 return *this;
121 }
123 private:
124 Aws::String m_dBClusterIdentifier;
125
126 Aws::Utils::DateTime m_backtrackTo{};
127
128 bool m_force{false};
129
130 bool m_useEarliestTimeOnPointInTimeUnavailable{false};
131 bool m_dBClusterIdentifierHasBeenSet = false;
132 bool m_backtrackToHasBeenSet = false;
133 bool m_forceHasBeenSet = false;
134 bool m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace RDS
139} // 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