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>
42 template <
typename FrequencyT = RefreshScheduleFrequency>
44 m_frequencyHasBeenSet =
true;
45 m_frequency = std::forward<FrequencyT>(value);
47 template <
typename FrequencyT = RefreshScheduleFrequency>
63 m_statusHasBeenSet =
true;
79 template <
typename TimeOfDayT = Aws::String>
81 m_timeOfDayHasBeenSet =
true;
82 m_timeOfDay = std::forward<TimeOfDayT>(value);
84 template <
typename TimeOfDayT = Aws::String>
92 bool m_frequencyHasBeenSet =
false;
95 bool m_statusHasBeenSet =
false;
98 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