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