AWS SDK for C++  1.9.104
AWS SDK for C++
PendingMaintenanceAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
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 RDS
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
49  inline const Aws::String& GetAction() const{ return m_action; }
50 
56  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
57 
63  inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
64 
70  inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
71 
77  inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
78 
84  inline PendingMaintenanceAction& WithAction(const Aws::String& value) { SetAction(value); return *this;}
85 
91  inline PendingMaintenanceAction& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
92 
98  inline PendingMaintenanceAction& WithAction(const char* value) { SetAction(value); return *this;}
99 
100 
106  inline const Aws::Utils::DateTime& GetAutoAppliedAfterDate() const{ return m_autoAppliedAfterDate; }
107 
113  inline bool AutoAppliedAfterDateHasBeenSet() const { return m_autoAppliedAfterDateHasBeenSet; }
114 
120  inline void SetAutoAppliedAfterDate(const Aws::Utils::DateTime& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = value; }
121 
127  inline void SetAutoAppliedAfterDate(Aws::Utils::DateTime&& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = std::move(value); }
128 
134  inline PendingMaintenanceAction& WithAutoAppliedAfterDate(const Aws::Utils::DateTime& value) { SetAutoAppliedAfterDate(value); return *this;}
135 
141  inline PendingMaintenanceAction& WithAutoAppliedAfterDate(Aws::Utils::DateTime&& value) { SetAutoAppliedAfterDate(std::move(value)); return *this;}
142 
143 
150  inline const Aws::Utils::DateTime& GetForcedApplyDate() const{ return m_forcedApplyDate; }
151 
158  inline bool ForcedApplyDateHasBeenSet() const { return m_forcedApplyDateHasBeenSet; }
159 
166  inline void SetForcedApplyDate(const Aws::Utils::DateTime& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = value; }
167 
174  inline void SetForcedApplyDate(Aws::Utils::DateTime&& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = std::move(value); }
175 
182  inline PendingMaintenanceAction& WithForcedApplyDate(const Aws::Utils::DateTime& value) { SetForcedApplyDate(value); return *this;}
183 
190  inline PendingMaintenanceAction& WithForcedApplyDate(Aws::Utils::DateTime&& value) { SetForcedApplyDate(std::move(value)); return *this;}
191 
192 
197  inline const Aws::String& GetOptInStatus() const{ return m_optInStatus; }
198 
203  inline bool OptInStatusHasBeenSet() const { return m_optInStatusHasBeenSet; }
204 
209  inline void SetOptInStatus(const Aws::String& value) { m_optInStatusHasBeenSet = true; m_optInStatus = value; }
210 
215  inline void SetOptInStatus(Aws::String&& value) { m_optInStatusHasBeenSet = true; m_optInStatus = std::move(value); }
216 
221  inline void SetOptInStatus(const char* value) { m_optInStatusHasBeenSet = true; m_optInStatus.assign(value); }
222 
227  inline PendingMaintenanceAction& WithOptInStatus(const Aws::String& value) { SetOptInStatus(value); return *this;}
228 
233  inline PendingMaintenanceAction& WithOptInStatus(Aws::String&& value) { SetOptInStatus(std::move(value)); return *this;}
234 
239  inline PendingMaintenanceAction& WithOptInStatus(const char* value) { SetOptInStatus(value); return *this;}
240 
241 
251  inline const Aws::Utils::DateTime& GetCurrentApplyDate() const{ return m_currentApplyDate; }
252 
262  inline bool CurrentApplyDateHasBeenSet() const { return m_currentApplyDateHasBeenSet; }
263 
273  inline void SetCurrentApplyDate(const Aws::Utils::DateTime& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = value; }
274 
284  inline void SetCurrentApplyDate(Aws::Utils::DateTime&& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = std::move(value); }
285 
295  inline PendingMaintenanceAction& WithCurrentApplyDate(const Aws::Utils::DateTime& value) { SetCurrentApplyDate(value); return *this;}
296 
306  inline PendingMaintenanceAction& WithCurrentApplyDate(Aws::Utils::DateTime&& value) { SetCurrentApplyDate(std::move(value)); return *this;}
307 
308 
312  inline const Aws::String& GetDescription() const{ return m_description; }
313 
317  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
318 
322  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
323 
327  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
328 
332  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
333 
337  inline PendingMaintenanceAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
338 
342  inline PendingMaintenanceAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
343 
347  inline PendingMaintenanceAction& WithDescription(const char* value) { SetDescription(value); return *this;}
348 
349  private:
350 
351  Aws::String m_action;
352  bool m_actionHasBeenSet;
353 
354  Aws::Utils::DateTime m_autoAppliedAfterDate;
355  bool m_autoAppliedAfterDateHasBeenSet;
356 
357  Aws::Utils::DateTime m_forcedApplyDate;
358  bool m_forcedApplyDateHasBeenSet;
359 
360  Aws::String m_optInStatus;
361  bool m_optInStatusHasBeenSet;
362 
363  Aws::Utils::DateTime m_currentApplyDate;
364  bool m_currentApplyDateHasBeenSet;
365 
366  Aws::String m_description;
367  bool m_descriptionHasBeenSet;
368  };
369 
370 } // namespace Model
371 } // namespace RDS
372 } // namespace Aws
Aws::RDS::Model::PendingMaintenanceAction::SetAutoAppliedAfterDate
void SetAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
Definition: PendingMaintenanceAction.h:120
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RDS::Model::PendingMaintenanceAction::WithCurrentApplyDate
PendingMaintenanceAction & WithCurrentApplyDate(const Aws::Utils::DateTime &value)
Definition: PendingMaintenanceAction.h:295
Aws::RDS::Model::PendingMaintenanceAction::GetAction
const Aws::String & GetAction() const
Definition: PendingMaintenanceAction.h:49
Aws::RDS::Model::PendingMaintenanceAction::WithOptInStatus
PendingMaintenanceAction & WithOptInStatus(const Aws::String &value)
Definition: PendingMaintenanceAction.h:227
Aws::RDS::Model::PendingMaintenanceAction::SetDescription
void SetDescription(Aws::String &&value)
Definition: PendingMaintenanceAction.h:327
Aws::RDS::Model::PendingMaintenanceAction::CurrentApplyDateHasBeenSet
bool CurrentApplyDateHasBeenSet() const
Definition: PendingMaintenanceAction.h:262
Aws::RDS::Model::PendingMaintenanceAction::AutoAppliedAfterDateHasBeenSet
bool AutoAppliedAfterDateHasBeenSet() const
Definition: PendingMaintenanceAction.h:113
Aws::RDS::Model::PendingMaintenanceAction::SetForcedApplyDate
void SetForcedApplyDate(Aws::Utils::DateTime &&value)
Definition: PendingMaintenanceAction.h:174
Aws::RDS::Model::PendingMaintenanceAction::WithAction
PendingMaintenanceAction & WithAction(const Aws::String &value)
Definition: PendingMaintenanceAction.h:84
Aws::RDS::Model::PendingMaintenanceAction::GetOptInStatus
const Aws::String & GetOptInStatus() const
Definition: PendingMaintenanceAction.h:197
Aws::RDS::Model::PendingMaintenanceAction::WithOptInStatus
PendingMaintenanceAction & WithOptInStatus(Aws::String &&value)
Definition: PendingMaintenanceAction.h:233
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::PendingMaintenanceAction::WithOptInStatus
PendingMaintenanceAction & WithOptInStatus(const char *value)
Definition: PendingMaintenanceAction.h:239
DateTime.h
Aws::RDS::Model::PendingMaintenanceAction::SetAction
void SetAction(const Aws::String &value)
Definition: PendingMaintenanceAction.h:63
Aws::RDS::Model::PendingMaintenanceAction::WithAction
PendingMaintenanceAction & WithAction(Aws::String &&value)
Definition: PendingMaintenanceAction.h:91
Aws::RDS::Model::PendingMaintenanceAction::GetDescription
const Aws::String & GetDescription() const
Definition: PendingMaintenanceAction.h:312
Aws::RDS::Model::PendingMaintenanceAction::WithDescription
PendingMaintenanceAction & WithDescription(const Aws::String &value)
Definition: PendingMaintenanceAction.h:337
AWSStreamFwd.h
Aws::RDS::Model::PendingMaintenanceAction::operator=
PendingMaintenanceAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::PendingMaintenanceAction::PendingMaintenanceAction
PendingMaintenanceAction(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::PendingMaintenanceAction::SetAction
void SetAction(Aws::String &&value)
Definition: PendingMaintenanceAction.h:70
Aws::RDS::Model::PendingMaintenanceAction::SetAction
void SetAction(const char *value)
Definition: PendingMaintenanceAction.h:77
Aws::RDS::Model::PendingMaintenanceAction::SetOptInStatus
void SetOptInStatus(const Aws::String &value)
Definition: PendingMaintenanceAction.h:209
Aws::RDS::Model::PendingMaintenanceAction::WithAction
PendingMaintenanceAction & WithAction(const char *value)
Definition: PendingMaintenanceAction.h:98
Aws::RDS::Model::PendingMaintenanceAction::SetAutoAppliedAfterDate
void SetAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
Definition: PendingMaintenanceAction.h:127
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::PendingMaintenanceAction::PendingMaintenanceAction
PendingMaintenanceAction()
Aws::RDS::Model::PendingMaintenanceAction::WithDescription
PendingMaintenanceAction & WithDescription(Aws::String &&value)
Definition: PendingMaintenanceAction.h:342
RDS_EXPORTS.h
Aws::RDS::Model::PendingMaintenanceAction::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::PendingMaintenanceAction::WithAutoAppliedAfterDate
PendingMaintenanceAction & WithAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
Definition: PendingMaintenanceAction.h:141
Aws::RDS::Model::PendingMaintenanceAction::WithDescription
PendingMaintenanceAction & WithDescription(const char *value)
Definition: PendingMaintenanceAction.h:347
Aws::RDS::Model::PendingMaintenanceAction::SetDescription
void SetDescription(const char *value)
Definition: PendingMaintenanceAction.h:332
Aws::RDS::Model::PendingMaintenanceAction::SetDescription
void SetDescription(const Aws::String &value)
Definition: PendingMaintenanceAction.h:322
Aws::RDS::Model::PendingMaintenanceAction::SetCurrentApplyDate
void SetCurrentApplyDate(Aws::Utils::DateTime &&value)
Definition: PendingMaintenanceAction.h:284
AWSString.h
Aws::RDS::Model::PendingMaintenanceAction::SetOptInStatus
void SetOptInStatus(const char *value)
Definition: PendingMaintenanceAction.h:221
Aws::RDS::Model::PendingMaintenanceAction::WithForcedApplyDate
PendingMaintenanceAction & WithForcedApplyDate(Aws::Utils::DateTime &&value)
Definition: PendingMaintenanceAction.h:190
Aws::RDS::Model::PendingMaintenanceAction::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: PendingMaintenanceAction.h:56
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::PendingMaintenanceAction::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::PendingMaintenanceAction::OptInStatusHasBeenSet
bool OptInStatusHasBeenSet() const
Definition: PendingMaintenanceAction.h:203
Aws::RDS::Model::PendingMaintenanceAction::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PendingMaintenanceAction.h:317
Aws::RDS::Model::PendingMaintenanceAction::WithCurrentApplyDate
PendingMaintenanceAction & WithCurrentApplyDate(Aws::Utils::DateTime &&value)
Definition: PendingMaintenanceAction.h:306
Aws::RDS::Model::PendingMaintenanceAction::WithForcedApplyDate
PendingMaintenanceAction & WithForcedApplyDate(const Aws::Utils::DateTime &value)
Definition: PendingMaintenanceAction.h:182
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::PendingMaintenanceAction::WithAutoAppliedAfterDate
PendingMaintenanceAction & WithAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
Definition: PendingMaintenanceAction.h:134
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::PendingMaintenanceAction::SetOptInStatus
void SetOptInStatus(Aws::String &&value)
Definition: PendingMaintenanceAction.h:215
Aws::RDS::Model::PendingMaintenanceAction::SetCurrentApplyDate
void SetCurrentApplyDate(const Aws::Utils::DateTime &value)
Definition: PendingMaintenanceAction.h:273
Aws::RDS::Model::PendingMaintenanceAction::GetAutoAppliedAfterDate
const Aws::Utils::DateTime & GetAutoAppliedAfterDate() const
Definition: PendingMaintenanceAction.h:106
Aws::RDS::Model::PendingMaintenanceAction
Definition: PendingMaintenanceAction.h:34
Aws::RDS::Model::PendingMaintenanceAction::GetCurrentApplyDate
const Aws::Utils::DateTime & GetCurrentApplyDate() const
Definition: PendingMaintenanceAction.h:251
Aws::RDS::Model::PendingMaintenanceAction::GetForcedApplyDate
const Aws::Utils::DateTime & GetForcedApplyDate() const
Definition: PendingMaintenanceAction.h:150
Aws::RDS::Model::PendingMaintenanceAction::ForcedApplyDateHasBeenSet
bool ForcedApplyDateHasBeenSet() const
Definition: PendingMaintenanceAction.h:158
Aws::RDS::Model::PendingMaintenanceAction::SetForcedApplyDate
void SetForcedApplyDate(const Aws::Utils::DateTime &value)
Definition: PendingMaintenanceAction.h:166