AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnhancedMetricsConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/ResolverLevelMetricsBehavior.h>
9#include <aws/appsync/model/DataSourceLevelMetricsBehavior.h>
10#include <aws/appsync/model/OperationLevelMetricsConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppSync
24{
25namespace Model
26{
27
75 {
76 public:
77 AWS_APPSYNC_API EnhancedMetricsConfig();
80 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
81
82
84
101 inline const ResolverLevelMetricsBehavior& GetResolverLevelMetricsBehavior() const{ return m_resolverLevelMetricsBehavior; }
102 inline bool ResolverLevelMetricsBehaviorHasBeenSet() const { return m_resolverLevelMetricsBehaviorHasBeenSet; }
103 inline void SetResolverLevelMetricsBehavior(const ResolverLevelMetricsBehavior& value) { m_resolverLevelMetricsBehaviorHasBeenSet = true; m_resolverLevelMetricsBehavior = value; }
104 inline void SetResolverLevelMetricsBehavior(ResolverLevelMetricsBehavior&& value) { m_resolverLevelMetricsBehaviorHasBeenSet = true; m_resolverLevelMetricsBehavior = std::move(value); }
108
110
125 inline const DataSourceLevelMetricsBehavior& GetDataSourceLevelMetricsBehavior() const{ return m_dataSourceLevelMetricsBehavior; }
126 inline bool DataSourceLevelMetricsBehaviorHasBeenSet() const { return m_dataSourceLevelMetricsBehaviorHasBeenSet; }
127 inline void SetDataSourceLevelMetricsBehavior(const DataSourceLevelMetricsBehavior& value) { m_dataSourceLevelMetricsBehaviorHasBeenSet = true; m_dataSourceLevelMetricsBehavior = value; }
128 inline void SetDataSourceLevelMetricsBehavior(DataSourceLevelMetricsBehavior&& value) { m_dataSourceLevelMetricsBehaviorHasBeenSet = true; m_dataSourceLevelMetricsBehavior = std::move(value); }
132
134
142 inline const OperationLevelMetricsConfig& GetOperationLevelMetricsConfig() const{ return m_operationLevelMetricsConfig; }
143 inline bool OperationLevelMetricsConfigHasBeenSet() const { return m_operationLevelMetricsConfigHasBeenSet; }
144 inline void SetOperationLevelMetricsConfig(const OperationLevelMetricsConfig& value) { m_operationLevelMetricsConfigHasBeenSet = true; m_operationLevelMetricsConfig = value; }
145 inline void SetOperationLevelMetricsConfig(OperationLevelMetricsConfig&& value) { m_operationLevelMetricsConfigHasBeenSet = true; m_operationLevelMetricsConfig = std::move(value); }
149 private:
150
151 ResolverLevelMetricsBehavior m_resolverLevelMetricsBehavior;
152 bool m_resolverLevelMetricsBehaviorHasBeenSet = false;
153
154 DataSourceLevelMetricsBehavior m_dataSourceLevelMetricsBehavior;
155 bool m_dataSourceLevelMetricsBehaviorHasBeenSet = false;
156
157 OperationLevelMetricsConfig m_operationLevelMetricsConfig;
158 bool m_operationLevelMetricsConfigHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace AppSync
163} // namespace Aws
AWS_APPSYNC_API EnhancedMetricsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EnhancedMetricsConfig & WithResolverLevelMetricsBehavior(const ResolverLevelMetricsBehavior &value)
const ResolverLevelMetricsBehavior & GetResolverLevelMetricsBehavior() const
void SetOperationLevelMetricsConfig(const OperationLevelMetricsConfig &value)
EnhancedMetricsConfig & WithDataSourceLevelMetricsBehavior(DataSourceLevelMetricsBehavior &&value)
void SetResolverLevelMetricsBehavior(const ResolverLevelMetricsBehavior &value)
void SetDataSourceLevelMetricsBehavior(DataSourceLevelMetricsBehavior &&value)
void SetResolverLevelMetricsBehavior(ResolverLevelMetricsBehavior &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const OperationLevelMetricsConfig & GetOperationLevelMetricsConfig() const
EnhancedMetricsConfig & WithOperationLevelMetricsConfig(const OperationLevelMetricsConfig &value)
EnhancedMetricsConfig & WithResolverLevelMetricsBehavior(ResolverLevelMetricsBehavior &&value)
void SetDataSourceLevelMetricsBehavior(const DataSourceLevelMetricsBehavior &value)
EnhancedMetricsConfig & WithDataSourceLevelMetricsBehavior(const DataSourceLevelMetricsBehavior &value)
const DataSourceLevelMetricsBehavior & GetDataSourceLevelMetricsBehavior() const
EnhancedMetricsConfig & WithOperationLevelMetricsConfig(OperationLevelMetricsConfig &&value)
void SetOperationLevelMetricsConfig(OperationLevelMetricsConfig &&value)
AWS_APPSYNC_API EnhancedMetricsConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue