7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
19namespace IoTThingsGraph {
42 m_cloudMetricEnabledHasBeenSet =
true;
43 m_cloudMetricEnabled = value;
57 template <
typename MetricRuleRoleArnT = Aws::String>
59 m_metricRuleRoleArnHasBeenSet =
true;
60 m_metricRuleRoleArn = std::forward<MetricRuleRoleArnT>(value);
62 template <
typename MetricRuleRoleArnT = Aws::String>
69 bool m_cloudMetricEnabled{
false};
72 bool m_cloudMetricEnabledHasBeenSet =
false;
73 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