7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename ActionT = Aws::String>
49 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
50 template<
typename ActionT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
72 template<
typename CurrentApplyDateT = Aws::Utils::DateTime>
73 void SetCurrentApplyDate(CurrentApplyDateT&& value) { m_currentApplyDateHasBeenSet =
true; m_currentApplyDate = std::forward<CurrentApplyDateT>(value); }
74 template<
typename CurrentApplyDateT = Aws::Utils::DateTime>
80 bool m_actionHasBeenSet =
false;
83 bool m_descriptionHasBeenSet =
false;
86 bool m_currentApplyDateHasBeenSet =
false;
bool CurrentApplyDateHasBeenSet() const
PendingMaintenanceAction & WithDescription(DescriptionT &&value)
void SetCurrentApplyDate(CurrentApplyDateT &&value)
const Aws::String & GetAction() const
AWS_LIGHTSAIL_API PendingMaintenanceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API PendingMaintenanceAction()=default
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCurrentApplyDate() const
void SetDescription(DescriptionT &&value)
PendingMaintenanceAction & WithAction(ActionT &&value)
void SetAction(ActionT &&value)
PendingMaintenanceAction & WithCurrentApplyDate(CurrentApplyDateT &&value)
bool ActionHasBeenSet() const
AWS_LIGHTSAIL_API PendingMaintenanceAction(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue