7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace IoTThingsGraph
47 inline void SetCloudMetricEnabled(
bool value) { m_cloudMetricEnabledHasBeenSet =
true; m_cloudMetricEnabled = value; }
59 inline void SetMetricRuleRoleArn(
const char* value) { m_metricRuleRoleArnHasBeenSet =
true; m_metricRuleRoleArn.assign(value); }
66 bool m_cloudMetricEnabled;
67 bool m_cloudMetricEnabledHasBeenSet =
false;
70 bool m_metricRuleRoleArnHasBeenSet =
false;
AWS_IOTTHINGSGRAPH_API MetricsConfiguration()
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
bool CloudMetricEnabledHasBeenSet() const
void SetMetricRuleRoleArn(const Aws::String &value)
void SetMetricRuleRoleArn(Aws::String &&value)
AWS_IOTTHINGSGRAPH_API MetricsConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetMetricRuleRoleArn(const char *value)
MetricsConfiguration & WithMetricRuleRoleArn(const char *value)
void SetCloudMetricEnabled(bool value)
AWS_IOTTHINGSGRAPH_API MetricsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetCloudMetricEnabled() const
const Aws::String & GetMetricRuleRoleArn() const
bool MetricRuleRoleArnHasBeenSet() const
MetricsConfiguration & WithMetricRuleRoleArn(const Aws::String &value)
MetricsConfiguration & WithCloudMetricEnabled(bool value)
MetricsConfiguration & WithMetricRuleRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue