AWS SDK for C++  1.9.104
AWS SDK for C++
RestoreWindow.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 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::Utils::DateTime& GetEarliestTime() const{ return m_earliestTime; }
47 
51  inline bool EarliestTimeHasBeenSet() const { return m_earliestTimeHasBeenSet; }
52 
56  inline void SetEarliestTime(const Aws::Utils::DateTime& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = value; }
57 
61  inline void SetEarliestTime(Aws::Utils::DateTime&& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = std::move(value); }
62 
66  inline RestoreWindow& WithEarliestTime(const Aws::Utils::DateTime& value) { SetEarliestTime(value); return *this;}
67 
71  inline RestoreWindow& WithEarliestTime(Aws::Utils::DateTime&& value) { SetEarliestTime(std::move(value)); return *this;}
72 
73 
77  inline const Aws::Utils::DateTime& GetLatestTime() const{ return m_latestTime; }
78 
82  inline bool LatestTimeHasBeenSet() const { return m_latestTimeHasBeenSet; }
83 
87  inline void SetLatestTime(const Aws::Utils::DateTime& value) { m_latestTimeHasBeenSet = true; m_latestTime = value; }
88 
92  inline void SetLatestTime(Aws::Utils::DateTime&& value) { m_latestTimeHasBeenSet = true; m_latestTime = std::move(value); }
93 
97  inline RestoreWindow& WithLatestTime(const Aws::Utils::DateTime& value) { SetLatestTime(value); return *this;}
98 
102  inline RestoreWindow& WithLatestTime(Aws::Utils::DateTime&& value) { SetLatestTime(std::move(value)); return *this;}
103 
104  private:
105 
106  Aws::Utils::DateTime m_earliestTime;
107  bool m_earliestTimeHasBeenSet;
108 
109  Aws::Utils::DateTime m_latestTime;
110  bool m_latestTimeHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace RDS
115 } // namespace Aws
Aws::RDS::Model::RestoreWindow::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RDS::Model::RestoreWindow::EarliestTimeHasBeenSet
bool EarliestTimeHasBeenSet() const
Definition: RestoreWindow.h:51
Aws::RDS::Model::RestoreWindow::WithLatestTime
RestoreWindow & WithLatestTime(const Aws::Utils::DateTime &value)
Definition: RestoreWindow.h:97
Aws::RDS::Model::RestoreWindow::SetLatestTime
void SetLatestTime(Aws::Utils::DateTime &&value)
Definition: RestoreWindow.h:92
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
DateTime.h
Aws::RDS::Model::RestoreWindow::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::RestoreWindow
Definition: RestoreWindow.h:33
Aws::RDS::Model::RestoreWindow::RestoreWindow
RestoreWindow()
AWSStreamFwd.h
Aws::RDS::Model::RestoreWindow::SetLatestTime
void SetLatestTime(const Aws::Utils::DateTime &value)
Definition: RestoreWindow.h:87
Aws::RDS::Model::RestoreWindow::WithLatestTime
RestoreWindow & WithLatestTime(Aws::Utils::DateTime &&value)
Definition: RestoreWindow.h:102
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::RestoreWindow::RestoreWindow
RestoreWindow(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::RestoreWindow::SetEarliestTime
void SetEarliestTime(Aws::Utils::DateTime &&value)
Definition: RestoreWindow.h:61
Aws::RDS::Model::RestoreWindow::operator=
RestoreWindow & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::RestoreWindow::WithEarliestTime
RestoreWindow & WithEarliestTime(Aws::Utils::DateTime &&value)
Definition: RestoreWindow.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::RestoreWindow::GetLatestTime
const Aws::Utils::DateTime & GetLatestTime() const
Definition: RestoreWindow.h:77
Aws::RDS::Model::RestoreWindow::LatestTimeHasBeenSet
bool LatestTimeHasBeenSet() const
Definition: RestoreWindow.h:82
Aws::RDS::Model::RestoreWindow::WithEarliestTime
RestoreWindow & WithEarliestTime(const Aws::Utils::DateTime &value)
Definition: RestoreWindow.h:66
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::RestoreWindow::SetEarliestTime
void SetEarliestTime(const Aws::Utils::DateTime &value)
Definition: RestoreWindow.h:56
Aws::RDS::Model::RestoreWindow::GetEarliestTime
const Aws::Utils::DateTime & GetEarliestTime() const
Definition: RestoreWindow.h:46