7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
62 inline void SetMetricArn(
const char* value) { m_metricArnHasBeenSet =
true; m_metricArn.assign(value); }
70 bool m_metricNameHasBeenSet =
false;
73 bool m_metricArnHasBeenSet =
false;
FleetMetricNameAndArn & WithMetricName(const char *value)
FleetMetricNameAndArn & WithMetricArn(const Aws::String &value)
FleetMetricNameAndArn & WithMetricArn(Aws::String &&value)
void SetMetricName(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMetricArn() const
void SetMetricArn(Aws::String &&value)
bool MetricNameHasBeenSet() const
AWS_IOT_API FleetMetricNameAndArn(Aws::Utils::Json::JsonView jsonValue)
FleetMetricNameAndArn & WithMetricArn(const char *value)
bool MetricArnHasBeenSet() const
void SetMetricName(const Aws::String &value)
AWS_IOT_API FleetMetricNameAndArn & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetricArn(const Aws::String &value)
FleetMetricNameAndArn & WithMetricName(Aws::String &&value)
AWS_IOT_API FleetMetricNameAndArn()
void SetMetricArn(const char *value)
FleetMetricNameAndArn & WithMetricName(const Aws::String &value)
void SetMetricName(const char *value)
const Aws::String & GetMetricName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue