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>
61 template<
typename ActionT = Aws::String>
62 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
63 template<
typename ActionT = Aws::String>
75 template<
typename AutoAppliedAfterDateT = Aws::Utils::DateTime>
76 void SetAutoAppliedAfterDate(AutoAppliedAfterDateT&& value) { m_autoAppliedAfterDateHasBeenSet =
true; m_autoAppliedAfterDate = std::forward<AutoAppliedAfterDateT>(value); }
77 template<
typename AutoAppliedAfterDateT = Aws::Utils::DateTime>
90 template<
typename ForcedApplyDateT = Aws::Utils::DateTime>
91 void SetForcedApplyDate(ForcedApplyDateT&& value) { m_forcedApplyDateHasBeenSet =
true; m_forcedApplyDate = std::forward<ForcedApplyDateT>(value); }
92 template<
typename ForcedApplyDateT = Aws::Utils::DateTime>
103 template<
typename OptInStatusT = Aws::String>
104 void SetOptInStatus(OptInStatusT&& value) { m_optInStatusHasBeenSet =
true; m_optInStatus = std::forward<OptInStatusT>(value); }
105 template<
typename OptInStatusT = Aws::String>
121 template<
typename CurrentApplyDateT = Aws::Utils::DateTime>
122 void SetCurrentApplyDate(CurrentApplyDateT&& value) { m_currentApplyDateHasBeenSet =
true; m_currentApplyDate = std::forward<CurrentApplyDateT>(value); }
123 template<
typename CurrentApplyDateT = Aws::Utils::DateTime>
133 template<
typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
135 template<
typename DescriptionT = Aws::String>
141 bool m_actionHasBeenSet =
false;
144 bool m_autoAppliedAfterDateHasBeenSet =
false;
147 bool m_forcedApplyDateHasBeenSet =
false;
150 bool m_optInStatusHasBeenSet =
false;
153 bool m_currentApplyDateHasBeenSet =
false;
156 bool m_descriptionHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
AWS_RDS_API PendingMaintenanceAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API PendingMaintenanceAction()=default
const Aws::Utils::DateTime & GetCurrentApplyDate() const
PendingMaintenanceAction & WithAction(ActionT &&value)
void SetAction(ActionT &&value)
bool CurrentApplyDateHasBeenSet() const
PendingMaintenanceAction & WithDescription(DescriptionT &&value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(AutoAppliedAfterDateT &&value)
bool ForcedApplyDateHasBeenSet() const
bool OptInStatusHasBeenSet() const
void SetForcedApplyDate(ForcedApplyDateT &&value)
const Aws::Utils::DateTime & GetAutoAppliedAfterDate() const
void SetAutoAppliedAfterDate(AutoAppliedAfterDateT &&value)
const Aws::String & GetOptInStatus() const
PendingMaintenanceAction & WithForcedApplyDate(ForcedApplyDateT &&value)
PendingMaintenanceAction & WithOptInStatus(OptInStatusT &&value)
AWS_RDS_API PendingMaintenanceAction(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ActionHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOptInStatus(OptInStatusT &&value)
bool AutoAppliedAfterDateHasBeenSet() const
PendingMaintenanceAction & WithCurrentApplyDate(CurrentApplyDateT &&value)
void SetCurrentApplyDate(CurrentApplyDateT &&value)
const Aws::String & GetDescription() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetAction() const
const Aws::Utils::DateTime & GetForcedApplyDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream