7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/AlertManagerDefinitionStatusCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace PrometheusService
61 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
69 bool m_statusCodeHasBeenSet =
false;
72 bool m_statusReasonHasBeenSet =
false;
bool StatusCodeHasBeenSet() const
void SetStatusReason(const char *value)
AWS_PROMETHEUSSERVICE_API AlertManagerDefinitionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatusReason(const Aws::String &value)
AlertManagerDefinitionStatus & WithStatusReason(const char *value)
AWS_PROMETHEUSSERVICE_API AlertManagerDefinitionStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API AlertManagerDefinitionStatus()
AlertManagerDefinitionStatus & WithStatusCode(const AlertManagerDefinitionStatusCode &value)
void SetStatusReason(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatusCode(const AlertManagerDefinitionStatusCode &value)
AlertManagerDefinitionStatus & WithStatusReason(const Aws::String &value)
const AlertManagerDefinitionStatusCode & GetStatusCode() const
const Aws::String & GetStatusReason() const
AlertManagerDefinitionStatus & WithStatusCode(AlertManagerDefinitionStatusCode &&value)
bool StatusReasonHasBeenSet() const
AlertManagerDefinitionStatus & WithStatusReason(Aws::String &&value)
void SetStatusCode(AlertManagerDefinitionStatusCode &&value)
AlertManagerDefinitionStatusCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue