7#include <aws/neptune/Neptune_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>
51 template<
typename ActionT = Aws::String>
52 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
53 template<
typename ActionT = Aws::String>
66 template<
typename AutoAppliedAfterDateT = Aws::Utils::DateTime>
67 void SetAutoAppliedAfterDate(AutoAppliedAfterDateT&& value) { m_autoAppliedAfterDateHasBeenSet =
true; m_autoAppliedAfterDate = std::forward<AutoAppliedAfterDateT>(value); }
68 template<
typename AutoAppliedAfterDateT = Aws::Utils::DateTime>
81 template<
typename ForcedApplyDateT = Aws::Utils::DateTime>
82 void SetForcedApplyDate(ForcedApplyDateT&& value) { m_forcedApplyDateHasBeenSet =
true; m_forcedApplyDate = std::forward<ForcedApplyDateT>(value); }
83 template<
typename ForcedApplyDateT = Aws::Utils::DateTime>
94 template<
typename OptInStatusT = Aws::String>
95 void SetOptInStatus(OptInStatusT&& value) { m_optInStatusHasBeenSet =
true; m_optInStatus = std::forward<OptInStatusT>(value); }
96 template<
typename OptInStatusT = Aws::String>
111 template<
typename CurrentApplyDateT = Aws::Utils::DateTime>
112 void SetCurrentApplyDate(CurrentApplyDateT&& value) { m_currentApplyDateHasBeenSet =
true; m_currentApplyDate = std::forward<CurrentApplyDateT>(value); }
113 template<
typename CurrentApplyDateT = Aws::Utils::DateTime>
123 template<
typename DescriptionT = Aws::String>
124 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
125 template<
typename DescriptionT = Aws::String>
131 bool m_actionHasBeenSet =
false;
134 bool m_autoAppliedAfterDateHasBeenSet =
false;
137 bool m_forcedApplyDateHasBeenSet =
false;
140 bool m_optInStatusHasBeenSet =
false;
143 bool m_currentApplyDateHasBeenSet =
false;
146 bool m_descriptionHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
PendingMaintenanceAction & WithDescription(DescriptionT &&value)
bool AutoAppliedAfterDateHasBeenSet() const
AWS_NEPTUNE_API PendingMaintenanceAction(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetAutoAppliedAfterDate() const
bool ActionHasBeenSet() const
void SetAction(ActionT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDescription() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingMaintenanceAction & WithOptInStatus(OptInStatusT &&value)
bool CurrentApplyDateHasBeenSet() const
void SetOptInStatus(OptInStatusT &&value)
AWS_NEPTUNE_API PendingMaintenanceAction()=default
const Aws::Utils::DateTime & GetForcedApplyDate() const
bool ForcedApplyDateHasBeenSet() const
const Aws::String & GetAction() const
PendingMaintenanceAction & WithAction(ActionT &&value)
bool OptInStatusHasBeenSet() const
void SetAutoAppliedAfterDate(AutoAppliedAfterDateT &&value)
const Aws::Utils::DateTime & GetCurrentApplyDate() const
void SetForcedApplyDate(ForcedApplyDateT &&value)
PendingMaintenanceAction & WithCurrentApplyDate(CurrentApplyDateT &&value)
PendingMaintenanceAction & WithForcedApplyDate(ForcedApplyDateT &&value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(AutoAppliedAfterDateT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetOptInStatus() const
void SetCurrentApplyDate(CurrentApplyDateT &&value)
AWS_NEPTUNE_API PendingMaintenanceAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream