AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
55 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
56 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
58 inline BacktrackDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
59 inline BacktrackDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
61
63
73 inline const Aws::Utils::DateTime& GetBacktrackTo() const{ return m_backtrackTo; }
74 inline bool BacktrackToHasBeenSet() const { return m_backtrackToHasBeenSet; }
75 inline void SetBacktrackTo(const Aws::Utils::DateTime& value) { m_backtrackToHasBeenSet = true; m_backtrackTo = value; }
76 inline void SetBacktrackTo(Aws::Utils::DateTime&& value) { m_backtrackToHasBeenSet = true; m_backtrackTo = std::move(value); }
78 inline BacktrackDBClusterRequest& WithBacktrackTo(Aws::Utils::DateTime&& value) { SetBacktrackTo(std::move(value)); return *this;}
80
82
86 inline bool GetForce() const{ return m_force; }
87 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
88 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
89 inline BacktrackDBClusterRequest& WithForce(bool value) { SetForce(value); return *this;}
91
93
100 inline bool GetUseEarliestTimeOnPointInTimeUnavailable() const{ return m_useEarliestTimeOnPointInTimeUnavailable; }
101 inline bool UseEarliestTimeOnPointInTimeUnavailableHasBeenSet() const { return m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet; }
102 inline void SetUseEarliestTimeOnPointInTimeUnavailable(bool value) { m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = true; m_useEarliestTimeOnPointInTimeUnavailable = value; }
105 private:
106
107 Aws::String m_dBClusterIdentifier;
108 bool m_dBClusterIdentifierHasBeenSet = false;
109
110 Aws::Utils::DateTime m_backtrackTo;
111 bool m_backtrackToHasBeenSet = false;
112
113 bool m_force;
114 bool m_forceHasBeenSet = false;
115
116 bool m_useEarliestTimeOnPointInTimeUnavailable;
117 bool m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace RDS
122} // namespace Aws
void SetBacktrackTo(Aws::Utils::DateTime &&value)
BacktrackDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
BacktrackDBClusterRequest & WithUseEarliestTimeOnPointInTimeUnavailable(bool value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetBacktrackTo(const Aws::Utils::DateTime &value)
AWS_RDS_API Aws::String SerializePayload() const override
BacktrackDBClusterRequest & WithBacktrackTo(Aws::Utils::DateTime &&value)
BacktrackDBClusterRequest & WithBacktrackTo(const Aws::Utils::DateTime &value)
BacktrackDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
const Aws::Utils::DateTime & GetBacktrackTo() const
BacktrackDBClusterRequest & WithForce(bool value)
void SetDBClusterIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
BacktrackDBClusterRequest & WithDBClusterIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String