7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/synthetics/model/CanaryRunState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/synthetics/model/CanaryRunStateReasonCode.h>
64 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
86 bool m_stateHasBeenSet =
false;
89 bool m_stateReasonHasBeenSet =
false;
92 bool m_stateReasonCodeHasBeenSet =
false;
void SetStateReason(Aws::String &&value)
const CanaryRunStateReasonCode & GetStateReasonCode() const
void SetState(CanaryRunState &&value)
bool StateHasBeenSet() const
void SetStateReason(const char *value)
AWS_SYNTHETICS_API CanaryRunStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SYNTHETICS_API CanaryRunStatus()
void SetState(const CanaryRunState &value)
bool StateReasonHasBeenSet() const
CanaryRunStatus & WithStateReason(const Aws::String &value)
bool StateReasonCodeHasBeenSet() const
const Aws::String & GetStateReason() const
AWS_SYNTHETICS_API CanaryRunStatus(Aws::Utils::Json::JsonView jsonValue)
const CanaryRunState & GetState() const
CanaryRunStatus & WithStateReason(const char *value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStateReason(const Aws::String &value)
CanaryRunStatus & WithState(CanaryRunState &&value)
void SetStateReasonCode(CanaryRunStateReasonCode &&value)
CanaryRunStatus & WithStateReason(Aws::String &&value)
void SetStateReasonCode(const CanaryRunStateReasonCode &value)
CanaryRunStatus & WithState(const CanaryRunState &value)
CanaryRunStatus & WithStateReasonCode(CanaryRunStateReasonCode &&value)
CanaryRunStatus & WithStateReasonCode(const CanaryRunStateReasonCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue