AWS SDK for C++  1.9.106
AWS SDK for C++
DeferredMaintenanceWindow.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace Redshift
23 {
24 namespace Model
25 {
26 
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::String& GetDeferMaintenanceIdentifier() const{ return m_deferMaintenanceIdentifier; }
47 
51  inline bool DeferMaintenanceIdentifierHasBeenSet() const { return m_deferMaintenanceIdentifierHasBeenSet; }
52 
56  inline void SetDeferMaintenanceIdentifier(const Aws::String& value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier = value; }
57 
61  inline void SetDeferMaintenanceIdentifier(Aws::String&& value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier = std::move(value); }
62 
66  inline void SetDeferMaintenanceIdentifier(const char* value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier.assign(value); }
67 
71  inline DeferredMaintenanceWindow& WithDeferMaintenanceIdentifier(const Aws::String& value) { SetDeferMaintenanceIdentifier(value); return *this;}
72 
76  inline DeferredMaintenanceWindow& WithDeferMaintenanceIdentifier(Aws::String&& value) { SetDeferMaintenanceIdentifier(std::move(value)); return *this;}
77 
81  inline DeferredMaintenanceWindow& WithDeferMaintenanceIdentifier(const char* value) { SetDeferMaintenanceIdentifier(value); return *this;}
82 
83 
88  inline const Aws::Utils::DateTime& GetDeferMaintenanceStartTime() const{ return m_deferMaintenanceStartTime; }
89 
94  inline bool DeferMaintenanceStartTimeHasBeenSet() const { return m_deferMaintenanceStartTimeHasBeenSet; }
95 
100  inline void SetDeferMaintenanceStartTime(const Aws::Utils::DateTime& value) { m_deferMaintenanceStartTimeHasBeenSet = true; m_deferMaintenanceStartTime = value; }
101 
106  inline void SetDeferMaintenanceStartTime(Aws::Utils::DateTime&& value) { m_deferMaintenanceStartTimeHasBeenSet = true; m_deferMaintenanceStartTime = std::move(value); }
107 
112  inline DeferredMaintenanceWindow& WithDeferMaintenanceStartTime(const Aws::Utils::DateTime& value) { SetDeferMaintenanceStartTime(value); return *this;}
113 
118  inline DeferredMaintenanceWindow& WithDeferMaintenanceStartTime(Aws::Utils::DateTime&& value) { SetDeferMaintenanceStartTime(std::move(value)); return *this;}
119 
120 
124  inline const Aws::Utils::DateTime& GetDeferMaintenanceEndTime() const{ return m_deferMaintenanceEndTime; }
125 
129  inline bool DeferMaintenanceEndTimeHasBeenSet() const { return m_deferMaintenanceEndTimeHasBeenSet; }
130 
134  inline void SetDeferMaintenanceEndTime(const Aws::Utils::DateTime& value) { m_deferMaintenanceEndTimeHasBeenSet = true; m_deferMaintenanceEndTime = value; }
135 
139  inline void SetDeferMaintenanceEndTime(Aws::Utils::DateTime&& value) { m_deferMaintenanceEndTimeHasBeenSet = true; m_deferMaintenanceEndTime = std::move(value); }
140 
144  inline DeferredMaintenanceWindow& WithDeferMaintenanceEndTime(const Aws::Utils::DateTime& value) { SetDeferMaintenanceEndTime(value); return *this;}
145 
149  inline DeferredMaintenanceWindow& WithDeferMaintenanceEndTime(Aws::Utils::DateTime&& value) { SetDeferMaintenanceEndTime(std::move(value)); return *this;}
150 
151  private:
152 
153  Aws::String m_deferMaintenanceIdentifier;
154  bool m_deferMaintenanceIdentifierHasBeenSet;
155 
156  Aws::Utils::DateTime m_deferMaintenanceStartTime;
157  bool m_deferMaintenanceStartTimeHasBeenSet;
158 
159  Aws::Utils::DateTime m_deferMaintenanceEndTime;
160  bool m_deferMaintenanceEndTimeHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace Redshift
165 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Redshift::Model::DeferredMaintenanceWindow::SetDeferMaintenanceIdentifier
void SetDeferMaintenanceIdentifier(const char *value)
Definition: DeferredMaintenanceWindow.h:66
Aws::Redshift::Model::DeferredMaintenanceWindow::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::DeferredMaintenanceWindow::WithDeferMaintenanceEndTime
DeferredMaintenanceWindow & WithDeferMaintenanceEndTime(Aws::Utils::DateTime &&value)
Definition: DeferredMaintenanceWindow.h:149
DateTime.h
Aws::Redshift::Model::DeferredMaintenanceWindow::WithDeferMaintenanceIdentifier
DeferredMaintenanceWindow & WithDeferMaintenanceIdentifier(Aws::String &&value)
Definition: DeferredMaintenanceWindow.h:76
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::DeferredMaintenanceWindow::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::DeferredMaintenanceWindow::WithDeferMaintenanceStartTime
DeferredMaintenanceWindow & WithDeferMaintenanceStartTime(Aws::Utils::DateTime &&value)
Definition: DeferredMaintenanceWindow.h:118
Aws::Redshift::Model::DeferredMaintenanceWindow::WithDeferMaintenanceIdentifier
DeferredMaintenanceWindow & WithDeferMaintenanceIdentifier(const char *value)
Definition: DeferredMaintenanceWindow.h:81
Aws::Redshift::Model::DeferredMaintenanceWindow::DeferredMaintenanceWindow
DeferredMaintenanceWindow(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::DeferredMaintenanceWindow::SetDeferMaintenanceEndTime
void SetDeferMaintenanceEndTime(const Aws::Utils::DateTime &value)
Definition: DeferredMaintenanceWindow.h:134
Aws::Redshift::Model::DeferredMaintenanceWindow::DeferMaintenanceEndTimeHasBeenSet
bool DeferMaintenanceEndTimeHasBeenSet() const
Definition: DeferredMaintenanceWindow.h:129
Aws::Redshift::Model::DeferredMaintenanceWindow::GetDeferMaintenanceEndTime
const Aws::Utils::DateTime & GetDeferMaintenanceEndTime() const
Definition: DeferredMaintenanceWindow.h:124
Aws::Redshift::Model::DeferredMaintenanceWindow::SetDeferMaintenanceIdentifier
void SetDeferMaintenanceIdentifier(Aws::String &&value)
Definition: DeferredMaintenanceWindow.h:61
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DeferredMaintenanceWindow::GetDeferMaintenanceStartTime
const Aws::Utils::DateTime & GetDeferMaintenanceStartTime() const
Definition: DeferredMaintenanceWindow.h:88
Aws::Redshift::Model::DeferredMaintenanceWindow
Definition: DeferredMaintenanceWindow.h:33
AWSString.h
Aws::Redshift::Model::DeferredMaintenanceWindow::DeferredMaintenanceWindow
DeferredMaintenanceWindow()
Aws::Redshift::Model::DeferredMaintenanceWindow::SetDeferMaintenanceIdentifier
void SetDeferMaintenanceIdentifier(const Aws::String &value)
Definition: DeferredMaintenanceWindow.h:56
Aws::Redshift::Model::DeferredMaintenanceWindow::DeferMaintenanceStartTimeHasBeenSet
bool DeferMaintenanceStartTimeHasBeenSet() const
Definition: DeferredMaintenanceWindow.h:94
Aws::Redshift::Model::DeferredMaintenanceWindow::SetDeferMaintenanceStartTime
void SetDeferMaintenanceStartTime(Aws::Utils::DateTime &&value)
Definition: DeferredMaintenanceWindow.h:106
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DeferredMaintenanceWindow::SetDeferMaintenanceEndTime
void SetDeferMaintenanceEndTime(Aws::Utils::DateTime &&value)
Definition: DeferredMaintenanceWindow.h:139
Aws::Redshift::Model::DeferredMaintenanceWindow::WithDeferMaintenanceEndTime
DeferredMaintenanceWindow & WithDeferMaintenanceEndTime(const Aws::Utils::DateTime &value)
Definition: DeferredMaintenanceWindow.h:144
Aws::Redshift::Model::DeferredMaintenanceWindow::operator=
DeferredMaintenanceWindow & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::DeferredMaintenanceWindow::WithDeferMaintenanceStartTime
DeferredMaintenanceWindow & WithDeferMaintenanceStartTime(const Aws::Utils::DateTime &value)
Definition: DeferredMaintenanceWindow.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::DeferredMaintenanceWindow::WithDeferMaintenanceIdentifier
DeferredMaintenanceWindow & WithDeferMaintenanceIdentifier(const Aws::String &value)
Definition: DeferredMaintenanceWindow.h:71
Aws::Redshift::Model::DeferredMaintenanceWindow::DeferMaintenanceIdentifierHasBeenSet
bool DeferMaintenanceIdentifierHasBeenSet() const
Definition: DeferredMaintenanceWindow.h:51
Aws::Redshift::Model::DeferredMaintenanceWindow::SetDeferMaintenanceStartTime
void SetDeferMaintenanceStartTime(const Aws::Utils::DateTime &value)
Definition: DeferredMaintenanceWindow.h:100
Aws::Redshift::Model::DeferredMaintenanceWindow::GetDeferMaintenanceIdentifier
const Aws::String & GetDeferMaintenanceIdentifier() const
Definition: DeferredMaintenanceWindow.h:46