7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/S3SourceConfig.h>
9#include <aws/lookoutmetrics/model/AppFlowConfig.h>
10#include <aws/lookoutmetrics/model/CloudWatchConfig.h>
11#include <aws/lookoutmetrics/model/RDSSourceConfig.h>
12#include <aws/lookoutmetrics/model/RedshiftSourceConfig.h>
13#include <aws/lookoutmetrics/model/AthenaSourceConfig.h>
26namespace LookoutMetrics
50 template<
typename S3SourceConfigT = S3SourceConfig>
51 void SetS3SourceConfig(S3SourceConfigT&& value) { m_s3SourceConfigHasBeenSet =
true; m_s3SourceConfig = std::forward<S3SourceConfigT>(value); }
52 template<
typename S3SourceConfigT = S3SourceConfig>
62 template<
typename AppFlowConfigT = AppFlowConfig>
63 void SetAppFlowConfig(AppFlowConfigT&& value) { m_appFlowConfigHasBeenSet =
true; m_appFlowConfig = std::forward<AppFlowConfigT>(value); }
64 template<
typename AppFlowConfigT = AppFlowConfig>
74 template<
typename CloudWatchConfigT = CloudWatchConfig>
75 void SetCloudWatchConfig(CloudWatchConfigT&& value) { m_cloudWatchConfigHasBeenSet =
true; m_cloudWatchConfig = std::forward<CloudWatchConfigT>(value); }
76 template<
typename CloudWatchConfigT = CloudWatchConfig>
86 template<
typename RDSSourceConfigT = RDSSourceConfig>
87 void SetRDSSourceConfig(RDSSourceConfigT&& value) { m_rDSSourceConfigHasBeenSet =
true; m_rDSSourceConfig = std::forward<RDSSourceConfigT>(value); }
88 template<
typename RDSSourceConfigT = RDSSourceConfig>
98 template<
typename RedshiftSourceConfigT = RedshiftSourceConfig>
99 void SetRedshiftSourceConfig(RedshiftSourceConfigT&& value) { m_redshiftSourceConfigHasBeenSet =
true; m_redshiftSourceConfig = std::forward<RedshiftSourceConfigT>(value); }
100 template<
typename RedshiftSourceConfigT = RedshiftSourceConfig>
110 template<
typename AthenaSourceConfigT = AthenaSourceConfig>
111 void SetAthenaSourceConfig(AthenaSourceConfigT&& value) { m_athenaSourceConfigHasBeenSet =
true; m_athenaSourceConfig = std::forward<AthenaSourceConfigT>(value); }
112 template<
typename AthenaSourceConfigT = AthenaSourceConfig>
118 bool m_s3SourceConfigHasBeenSet =
false;
121 bool m_appFlowConfigHasBeenSet =
false;
124 bool m_cloudWatchConfigHasBeenSet =
false;
127 bool m_rDSSourceConfigHasBeenSet =
false;
130 bool m_redshiftSourceConfigHasBeenSet =
false;
133 bool m_athenaSourceConfigHasBeenSet =
false;
bool CloudWatchConfigHasBeenSet() const
MetricSource & WithCloudWatchConfig(CloudWatchConfigT &&value)
MetricSource & WithAppFlowConfig(AppFlowConfigT &&value)
void SetAthenaSourceConfig(AthenaSourceConfigT &&value)
AWS_LOOKOUTMETRICS_API MetricSource()=default
AWS_LOOKOUTMETRICS_API MetricSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AppFlowConfigHasBeenSet() const
void SetRedshiftSourceConfig(RedshiftSourceConfigT &&value)
const CloudWatchConfig & GetCloudWatchConfig() const
bool AthenaSourceConfigHasBeenSet() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAppFlowConfig(AppFlowConfigT &&value)
MetricSource & WithS3SourceConfig(S3SourceConfigT &&value)
const AppFlowConfig & GetAppFlowConfig() const
void SetS3SourceConfig(S3SourceConfigT &&value)
MetricSource & WithRedshiftSourceConfig(RedshiftSourceConfigT &&value)
MetricSource & WithAthenaSourceConfig(AthenaSourceConfigT &&value)
bool S3SourceConfigHasBeenSet() const
bool RedshiftSourceConfigHasBeenSet() const
const RDSSourceConfig & GetRDSSourceConfig() const
bool RDSSourceConfigHasBeenSet() const
void SetCloudWatchConfig(CloudWatchConfigT &&value)
const RedshiftSourceConfig & GetRedshiftSourceConfig() const
const S3SourceConfig & GetS3SourceConfig() const
const AthenaSourceConfig & GetAthenaSourceConfig() const
AWS_LOOKOUTMETRICS_API MetricSource(Aws::Utils::Json::JsonView jsonValue)
MetricSource & WithRDSSourceConfig(RDSSourceConfigT &&value)
void SetRDSSourceConfig(RDSSourceConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue