AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeferredMaintenanceWindow.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.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 Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_REDSHIFT_API DeferredMaintenanceWindow();
36 AWS_REDSHIFT_API DeferredMaintenanceWindow(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetDeferMaintenanceIdentifier() const{ return m_deferMaintenanceIdentifier; }
48 inline bool DeferMaintenanceIdentifierHasBeenSet() const { return m_deferMaintenanceIdentifierHasBeenSet; }
49 inline void SetDeferMaintenanceIdentifier(const Aws::String& value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier = value; }
50 inline void SetDeferMaintenanceIdentifier(Aws::String&& value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier = std::move(value); }
51 inline void SetDeferMaintenanceIdentifier(const char* value) { m_deferMaintenanceIdentifierHasBeenSet = true; m_deferMaintenanceIdentifier.assign(value); }
56
58
62 inline const Aws::Utils::DateTime& GetDeferMaintenanceStartTime() const{ return m_deferMaintenanceStartTime; }
63 inline bool DeferMaintenanceStartTimeHasBeenSet() const { return m_deferMaintenanceStartTimeHasBeenSet; }
64 inline void SetDeferMaintenanceStartTime(const Aws::Utils::DateTime& value) { m_deferMaintenanceStartTimeHasBeenSet = true; m_deferMaintenanceStartTime = value; }
65 inline void SetDeferMaintenanceStartTime(Aws::Utils::DateTime&& value) { m_deferMaintenanceStartTimeHasBeenSet = true; m_deferMaintenanceStartTime = std::move(value); }
69
71
74 inline const Aws::Utils::DateTime& GetDeferMaintenanceEndTime() const{ return m_deferMaintenanceEndTime; }
75 inline bool DeferMaintenanceEndTimeHasBeenSet() const { return m_deferMaintenanceEndTimeHasBeenSet; }
76 inline void SetDeferMaintenanceEndTime(const Aws::Utils::DateTime& value) { m_deferMaintenanceEndTimeHasBeenSet = true; m_deferMaintenanceEndTime = value; }
77 inline void SetDeferMaintenanceEndTime(Aws::Utils::DateTime&& value) { m_deferMaintenanceEndTimeHasBeenSet = true; m_deferMaintenanceEndTime = std::move(value); }
81 private:
82
83 Aws::String m_deferMaintenanceIdentifier;
84 bool m_deferMaintenanceIdentifierHasBeenSet = false;
85
86 Aws::Utils::DateTime m_deferMaintenanceStartTime;
87 bool m_deferMaintenanceStartTimeHasBeenSet = false;
88
89 Aws::Utils::DateTime m_deferMaintenanceEndTime;
90 bool m_deferMaintenanceEndTimeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Redshift
95} // namespace Aws
DeferredMaintenanceWindow & WithDeferMaintenanceEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetDeferMaintenanceStartTime() const
DeferredMaintenanceWindow & WithDeferMaintenanceIdentifier(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDeferMaintenanceEndTime(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API DeferredMaintenanceWindow(const Aws::Utils::Xml::XmlNode &xmlNode)
DeferredMaintenanceWindow & WithDeferMaintenanceStartTime(Aws::Utils::DateTime &&value)
void SetDeferMaintenanceStartTime(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DeferredMaintenanceWindow & WithDeferMaintenanceStartTime(const Aws::Utils::DateTime &value)
AWS_REDSHIFT_API DeferredMaintenanceWindow & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DeferredMaintenanceWindow & WithDeferMaintenanceEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDeferMaintenanceEndTime() const
DeferredMaintenanceWindow & WithDeferMaintenanceIdentifier(const Aws::String &value)
void SetDeferMaintenanceEndTime(const Aws::Utils::DateTime &value)
DeferredMaintenanceWindow & WithDeferMaintenanceIdentifier(Aws::String &&value)
void SetDeferMaintenanceStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream