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