7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename StartDateTimeT = Aws::String>
61 m_startDateTimeHasBeenSet =
true;
62 m_startDateTime = std::forward<StartDateTimeT>(value);
64 template <
typename StartDateTimeT = Aws::String>
77 template <
typename EndDateTimeT = Aws::String>
79 m_endDateTimeHasBeenSet =
true;
80 m_endDateTime = std::forward<EndDateTimeT>(value);
82 template <
typename EndDateTimeT = Aws::String>
90 bool m_nameHasBeenSet =
false;
93 bool m_startDateTimeHasBeenSet =
false;
96 bool m_endDateTimeHasBeenSet =
false;
ClosedDaysRule & WithStartDateTime(StartDateTimeT &&value)
AWS_PINPOINT_API ClosedDaysRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartDateTimeHasBeenSet() const
const Aws::String & GetEndDateTime() const
void SetName(NameT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndDateTime(EndDateTimeT &&value)
const Aws::String & GetStartDateTime() const
AWS_PINPOINT_API ClosedDaysRule()=default
AWS_PINPOINT_API ClosedDaysRule(Aws::Utils::Json::JsonView jsonValue)
ClosedDaysRule & WithEndDateTime(EndDateTimeT &&value)
bool NameHasBeenSet() const
void SetStartDateTime(StartDateTimeT &&value)
const Aws::String & GetName() const
ClosedDaysRule & WithName(NameT &&value)
bool EndDateTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue