7#include <aws/core/utils/DateTime.h>
8#include <aws/sustainability/Sustainability_EXPORTS.h>
19namespace Sustainability {
42 template <
typename StartT = Aws::Utils::DateTime>
44 m_startHasBeenSet =
true;
45 m_start = std::forward<StartT>(value);
47 template <
typename StartT = Aws::Utils::DateTime>
49 SetStart(std::forward<StartT>(value));
61 template <
typename EndT = Aws::Utils::DateTime>
63 m_endHasBeenSet =
true;
64 m_end = std::forward<EndT>(value);
66 template <
typename EndT = Aws::Utils::DateTime>
68 SetEnd(std::forward<EndT>(value));
76 bool m_startHasBeenSet =
false;
77 bool m_endHasBeenSet =
false;
bool StartHasBeenSet() const
AWS_SUSTAINABILITY_API TimePeriod()=default
AWS_SUSTAINABILITY_API TimePeriod(Aws::Utils::Json::JsonView jsonValue)
AWS_SUSTAINABILITY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnd(EndT &&value)
void SetStart(StartT &&value)
AWS_SUSTAINABILITY_API TimePeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EndHasBeenSet() const
TimePeriod & WithEnd(EndT &&value)
TimePeriod & WithStart(StartT &&value)
const Aws::Utils::DateTime & GetStart() const
const Aws::Utils::DateTime & GetEnd() const
Aws::Utils::Json::JsonValue JsonValue