7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/Window.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/application-signals/model/RecurrenceRule.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
24namespace ApplicationSignals
50 template<
typename WindowT = Window>
51 void SetWindow(WindowT&& value) { m_windowHasBeenSet =
true; m_window = std::forward<WindowT>(value); }
52 template<
typename WindowT = Window>
63 template<
typename StartTimeT = Aws::Utils::DateTime>
64 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
65 template<
typename StartTimeT = Aws::Utils::DateTime>
76 template<
typename RecurrenceRuleT = RecurrenceRule>
77 void SetRecurrenceRule(RecurrenceRuleT&& value) { m_recurrenceRuleHasBeenSet =
true; m_recurrenceRule = std::forward<RecurrenceRuleT>(value); }
78 template<
typename RecurrenceRuleT = RecurrenceRule>
89 template<
typename ReasonT = Aws::String>
90 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
91 template<
typename ReasonT = Aws::String>
97 bool m_windowHasBeenSet =
false;
100 bool m_startTimeHasBeenSet =
false;
102 RecurrenceRule m_recurrenceRule;
103 bool m_recurrenceRuleHasBeenSet =
false;
106 bool m_reasonHasBeenSet =
false;
const Window & GetWindow() const
const Aws::Utils::DateTime & GetStartTime() const
bool ReasonHasBeenSet() const
void SetRecurrenceRule(RecurrenceRuleT &&value)
bool WindowHasBeenSet() const
ExclusionWindow & WithRecurrenceRule(RecurrenceRuleT &&value)
const Aws::String & GetReason() const
AWS_APPLICATIONSIGNALS_API ExclusionWindow()=default
void SetReason(ReasonT &&value)
void SetStartTime(StartTimeT &&value)
const RecurrenceRule & GetRecurrenceRule() const
bool RecurrenceRuleHasBeenSet() const
ExclusionWindow & WithReason(ReasonT &&value)
ExclusionWindow & WithWindow(WindowT &&value)
void SetWindow(WindowT &&value)
AWS_APPLICATIONSIGNALS_API ExclusionWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
ExclusionWindow & WithStartTime(StartTimeT &&value)
AWS_APPLICATIONSIGNALS_API ExclusionWindow(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StartTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue