7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/ExternalMetricStatusCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ComputeOptimizer
64 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
72 bool m_statusCodeHasBeenSet =
false;
75 bool m_statusReasonHasBeenSet =
false;
ExternalMetricStatus & WithStatusReason(const char *value)
ExternalMetricStatus & WithStatusCode(ExternalMetricStatusCode &&value)
ExternalMetricStatus & WithStatusReason(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API ExternalMetricStatus()
void SetStatusReason(const char *value)
void SetStatusReason(const Aws::String &value)
void SetStatusCode(const ExternalMetricStatusCode &value)
void SetStatusReason(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API ExternalMetricStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusCodeHasBeenSet() const
void SetStatusCode(ExternalMetricStatusCode &&value)
bool StatusReasonHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalMetricStatus & WithStatusCode(const ExternalMetricStatusCode &value)
AWS_COMPUTEOPTIMIZER_API ExternalMetricStatus(Aws::Utils::Json::JsonView jsonValue)
const ExternalMetricStatusCode & GetStatusCode() const
ExternalMetricStatus & WithStatusReason(Aws::String &&value)
const Aws::String & GetStatusReason() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue