7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/RefreshScheduleFrequency.h>
9#include <aws/cloudtrail/model/RefreshScheduleStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename FrequencyT = RefreshScheduleFrequency>
49 void SetFrequency(FrequencyT&& value) { m_frequencyHasBeenSet =
true; m_frequency = std::forward<FrequencyT>(value); }
50 template<
typename FrequencyT = RefreshScheduleFrequency>
73 template<
typename TimeOfDayT = Aws::String>
74 void SetTimeOfDay(TimeOfDayT&& value) { m_timeOfDayHasBeenSet =
true; m_timeOfDay = std::forward<TimeOfDayT>(value); }
75 template<
typename TimeOfDayT = Aws::String>
81 bool m_frequencyHasBeenSet =
false;
84 bool m_statusHasBeenSet =
false;
87 bool m_timeOfDayHasBeenSet =
false;
RefreshSchedule & WithFrequency(FrequencyT &&value)
void SetTimeOfDay(TimeOfDayT &&value)
bool TimeOfDayHasBeenSet() const
AWS_CLOUDTRAIL_API RefreshSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
RefreshSchedule & WithStatus(RefreshScheduleStatus value)
RefreshSchedule & WithTimeOfDay(TimeOfDayT &&value)
void SetFrequency(FrequencyT &&value)
AWS_CLOUDTRAIL_API RefreshSchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API RefreshSchedule()=default
RefreshScheduleStatus GetStatus() const
const RefreshScheduleFrequency & GetFrequency() const
const Aws::String & GetTimeOfDay() const
void SetStatus(RefreshScheduleStatus value)
bool FrequencyHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue