AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingMaintenanceAction.h
1
6#pragma once
7#include <aws/rds/RDS_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 RDS
23{
24namespace Model
25{
26
34 {
35 public:
39
40 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
59 inline const Aws::String& GetAction() const{ return m_action; }
60 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
61 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
62 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
63 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
64 inline PendingMaintenanceAction& WithAction(const Aws::String& value) { SetAction(value); return *this;}
65 inline PendingMaintenanceAction& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
66 inline PendingMaintenanceAction& WithAction(const char* value) { SetAction(value); return *this;}
68
70
75 inline const Aws::Utils::DateTime& GetAutoAppliedAfterDate() const{ return m_autoAppliedAfterDate; }
76 inline bool AutoAppliedAfterDateHasBeenSet() const { return m_autoAppliedAfterDateHasBeenSet; }
77 inline void SetAutoAppliedAfterDate(const Aws::Utils::DateTime& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = value; }
78 inline void SetAutoAppliedAfterDate(Aws::Utils::DateTime&& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = std::move(value); }
82
84
90 inline const Aws::Utils::DateTime& GetForcedApplyDate() const{ return m_forcedApplyDate; }
91 inline bool ForcedApplyDateHasBeenSet() const { return m_forcedApplyDateHasBeenSet; }
92 inline void SetForcedApplyDate(const Aws::Utils::DateTime& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = value; }
93 inline void SetForcedApplyDate(Aws::Utils::DateTime&& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = std::move(value); }
95 inline PendingMaintenanceAction& WithForcedApplyDate(Aws::Utils::DateTime&& value) { SetForcedApplyDate(std::move(value)); return *this;}
97
99
103 inline const Aws::String& GetOptInStatus() const{ return m_optInStatus; }
104 inline bool OptInStatusHasBeenSet() const { return m_optInStatusHasBeenSet; }
105 inline void SetOptInStatus(const Aws::String& value) { m_optInStatusHasBeenSet = true; m_optInStatus = value; }
106 inline void SetOptInStatus(Aws::String&& value) { m_optInStatusHasBeenSet = true; m_optInStatus = std::move(value); }
107 inline void SetOptInStatus(const char* value) { m_optInStatusHasBeenSet = true; m_optInStatus.assign(value); }
108 inline PendingMaintenanceAction& WithOptInStatus(const Aws::String& value) { SetOptInStatus(value); return *this;}
109 inline PendingMaintenanceAction& WithOptInStatus(Aws::String&& value) { SetOptInStatus(std::move(value)); return *this;}
110 inline PendingMaintenanceAction& WithOptInStatus(const char* value) { SetOptInStatus(value); return *this;}
112
114
123 inline const Aws::Utils::DateTime& GetCurrentApplyDate() const{ return m_currentApplyDate; }
124 inline bool CurrentApplyDateHasBeenSet() const { return m_currentApplyDateHasBeenSet; }
125 inline void SetCurrentApplyDate(const Aws::Utils::DateTime& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = value; }
126 inline void SetCurrentApplyDate(Aws::Utils::DateTime&& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = std::move(value); }
130
132
135 inline const Aws::String& GetDescription() const{ return m_description; }
136 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
137 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
140 inline PendingMaintenanceAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
141 inline PendingMaintenanceAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
142 inline PendingMaintenanceAction& WithDescription(const char* value) { SetDescription(value); return *this;}
144 private:
145
146 Aws::String m_action;
147 bool m_actionHasBeenSet = false;
148
149 Aws::Utils::DateTime m_autoAppliedAfterDate;
150 bool m_autoAppliedAfterDateHasBeenSet = false;
151
152 Aws::Utils::DateTime m_forcedApplyDate;
153 bool m_forcedApplyDateHasBeenSet = false;
154
155 Aws::String m_optInStatus;
156 bool m_optInStatusHasBeenSet = false;
157
158 Aws::Utils::DateTime m_currentApplyDate;
159 bool m_currentApplyDateHasBeenSet = false;
160
161 Aws::String m_description;
162 bool m_descriptionHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace RDS
167} // namespace Aws
void SetCurrentApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithDescription(const char *value)
PendingMaintenanceAction & WithAction(const char *value)
void SetForcedApplyDate(Aws::Utils::DateTime &&value)
void SetAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
AWS_RDS_API PendingMaintenanceAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetCurrentApplyDate() const
PendingMaintenanceAction & WithForcedApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithCurrentApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithOptInStatus(const Aws::String &value)
PendingMaintenanceAction & WithOptInStatus(Aws::String &&value)
PendingMaintenanceAction & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetAutoAppliedAfterDate() const
PendingMaintenanceAction & WithAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithDescription(Aws::String &&value)
void SetAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
void SetForcedApplyDate(const Aws::Utils::DateTime &value)
AWS_RDS_API PendingMaintenanceAction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCurrentApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithOptInStatus(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingMaintenanceAction & WithAction(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetForcedApplyDate() const
PendingMaintenanceAction & WithCurrentApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithAction(Aws::String &&value)
PendingMaintenanceAction & WithForcedApplyDate(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