7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/model/CanaryRun.h>
48 template<
typename CanaryNameT = Aws::String>
49 void SetCanaryName(CanaryNameT&& value) { m_canaryNameHasBeenSet =
true; m_canaryName = std::forward<CanaryNameT>(value); }
50 template<
typename CanaryNameT = Aws::String>
60 template<
typename LastRunT = CanaryRun>
61 void SetLastRun(LastRunT&& value) { m_lastRunHasBeenSet =
true; m_lastRun = std::forward<LastRunT>(value); }
62 template<
typename LastRunT = CanaryRun>
68 bool m_canaryNameHasBeenSet =
false;
71 bool m_lastRunHasBeenSet =
false;
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastRun(LastRunT &&value)
CanaryLastRun & WithLastRun(LastRunT &&value)
const Aws::String & GetCanaryName() const
AWS_SYNTHETICS_API CanaryLastRun()=default
AWS_SYNTHETICS_API CanaryLastRun & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCanaryName(CanaryNameT &&value)
AWS_SYNTHETICS_API CanaryLastRun(Aws::Utils::Json::JsonView jsonValue)
const CanaryRun & GetLastRun() const
CanaryLastRun & WithCanaryName(CanaryNameT &&value)
bool CanaryNameHasBeenSet() const
bool LastRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue