7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ConnectCampaignsV2
35 AWS_CONNECTCAMPAIGNSV2_API
Schedule() =
default;
45 template<
typename StartTimeT = Aws::Utils::DateTime>
46 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
47 template<
typename StartTimeT = Aws::Utils::DateTime>
55 template<
typename EndTimeT = Aws::Utils::DateTime>
56 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
57 template<
typename EndTimeT = Aws::Utils::DateTime>
65 template<
typename RefreshFrequencyT = Aws::String>
66 void SetRefreshFrequency(RefreshFrequencyT&& value) { m_refreshFrequencyHasBeenSet =
true; m_refreshFrequency = std::forward<RefreshFrequencyT>(value); }
67 template<
typename RefreshFrequencyT = Aws::String>
73 bool m_startTimeHasBeenSet =
false;
76 bool m_endTimeHasBeenSet =
false;
79 bool m_refreshFrequencyHasBeenSet =
false;
void SetEndTime(EndTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
Schedule & WithEndTime(EndTimeT &&value)
Schedule & WithStartTime(StartTimeT &&value)
bool RefreshFrequencyHasBeenSet() const
const Aws::String & GetRefreshFrequency() const
bool EndTimeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
AWS_CONNECTCAMPAIGNSV2_API Schedule()=default
AWS_CONNECTCAMPAIGNSV2_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRefreshFrequency(RefreshFrequencyT &&value)
Schedule & WithRefreshFrequency(RefreshFrequencyT &&value)
AWS_CONNECTCAMPAIGNSV2_API Schedule(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool StartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue