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; }
57 template<
typename MetricRuleRoleArnT = Aws::String>
58 void SetMetricRuleRoleArn(MetricRuleRoleArnT&& value) { m_metricRuleRoleArnHasBeenSet =
true; m_metricRuleRoleArn = std::forward<MetricRuleRoleArnT>(value); }
59 template<
typename MetricRuleRoleArnT = Aws::String>
64 bool m_cloudMetricEnabled{
false};
65 bool m_cloudMetricEnabledHasBeenSet =
false;
68 bool m_metricRuleRoleArnHasBeenSet =
false;
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
bool CloudMetricEnabledHasBeenSet() const
void SetMetricRuleRoleArn(MetricRuleRoleArnT &&value)
MetricsConfiguration & WithMetricRuleRoleArn(MetricRuleRoleArnT &&value)
AWS_IOTTHINGSGRAPH_API MetricsConfiguration(Aws::Utils::Json::JsonView jsonValue)
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
AWS_IOTTHINGSGRAPH_API MetricsConfiguration()=default
MetricsConfiguration & WithCloudMetricEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue