7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
47 template<
typename CreatedT = Aws::Utils::DateTime>
48 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
49 template<
typename CreatedT = Aws::Utils::DateTime>
59 template<
typename LastModifiedT = Aws::Utils::DateTime>
60 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
61 template<
typename LastModifiedT = Aws::Utils::DateTime>
71 template<
typename LastStartedT = Aws::Utils::DateTime>
72 void SetLastStarted(LastStartedT&& value) { m_lastStartedHasBeenSet =
true; m_lastStarted = std::forward<LastStartedT>(value); }
73 template<
typename LastStartedT = Aws::Utils::DateTime>
83 template<
typename LastStoppedT = Aws::Utils::DateTime>
84 void SetLastStopped(LastStoppedT&& value) { m_lastStoppedHasBeenSet =
true; m_lastStopped = std::forward<LastStoppedT>(value); }
85 template<
typename LastStoppedT = Aws::Utils::DateTime>
91 bool m_createdHasBeenSet =
false;
94 bool m_lastModifiedHasBeenSet =
false;
97 bool m_lastStartedHasBeenSet =
false;
100 bool m_lastStoppedHasBeenSet =
false;
AWS_SYNTHETICS_API CanaryTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedHasBeenSet() const
const Aws::Utils::DateTime & GetCreated() const
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
CanaryTimeline & WithLastModified(LastModifiedT &&value)
bool LastStartedHasBeenSet() const
void SetLastStarted(LastStartedT &&value)
void SetLastModified(LastModifiedT &&value)
const Aws::Utils::DateTime & GetLastStopped() const
CanaryTimeline & WithCreated(CreatedT &&value)
const Aws::Utils::DateTime & GetLastModified() const
void SetCreated(CreatedT &&value)
const Aws::Utils::DateTime & GetLastStarted() const
AWS_SYNTHETICS_API CanaryTimeline(Aws::Utils::Json::JsonView jsonValue)
CanaryTimeline & WithLastStopped(LastStoppedT &&value)
bool LastStoppedHasBeenSet() const
AWS_SYNTHETICS_API CanaryTimeline()=default
bool LastModifiedHasBeenSet() const
CanaryTimeline & WithLastStarted(LastStartedT &&value)
void SetLastStopped(LastStoppedT &&value)
Aws::Utils::Json::JsonValue JsonValue