7#include <aws/core/utils/DateTime.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
49 template <
typename StartT = Aws::Utils::DateTime>
51 m_startHasBeenSet =
true;
52 m_start = std::forward<StartT>(value);
54 template <
typename StartT = Aws::Utils::DateTime>
56 SetStart(std::forward<StartT>(value));
70 template <
typename EndT = Aws::Utils::DateTime>
72 m_endHasBeenSet =
true;
73 m_end = std::forward<EndT>(value);
75 template <
typename EndT = Aws::Utils::DateTime>
77 SetEnd(std::forward<EndT>(value));
85 bool m_startHasBeenSet =
false;
86 bool m_endHasBeenSet =
false;
void SetEnd(EndT &&value)
AWS_LIGHTSAIL_API TimePeriod()=default
bool EndHasBeenSet() const
bool StartHasBeenSet() const
AWS_LIGHTSAIL_API TimePeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
TimePeriod & WithStart(StartT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
TimePeriod & WithEnd(EndT &&value)
const Aws::Utils::DateTime & GetStart() const
void SetStart(StartT &&value)
const Aws::Utils::DateTime & GetEnd() const
AWS_LIGHTSAIL_API TimePeriod(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue