AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DetectedMetricSource.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/DetectedS3SourceConfig.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LookoutMetrics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LOOKOUTMETRICS_API DetectedMetricSource() = default;
35 AWS_LOOKOUTMETRICS_API DetectedMetricSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LOOKOUTMETRICS_API DetectedMetricSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const DetectedS3SourceConfig& GetS3SourceConfig() const { return m_s3SourceConfig; }
45 inline bool S3SourceConfigHasBeenSet() const { return m_s3SourceConfigHasBeenSet; }
46 template<typename S3SourceConfigT = DetectedS3SourceConfig>
47 void SetS3SourceConfig(S3SourceConfigT&& value) { m_s3SourceConfigHasBeenSet = true; m_s3SourceConfig = std::forward<S3SourceConfigT>(value); }
48 template<typename S3SourceConfigT = DetectedS3SourceConfig>
49 DetectedMetricSource& WithS3SourceConfig(S3SourceConfigT&& value) { SetS3SourceConfig(std::forward<S3SourceConfigT>(value)); return *this;}
51 private:
52
53 DetectedS3SourceConfig m_s3SourceConfig;
54 bool m_s3SourceConfigHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace LookoutMetrics
59} // namespace Aws
DetectedMetricSource & WithS3SourceConfig(S3SourceConfigT &&value)
AWS_LOOKOUTMETRICS_API DetectedMetricSource(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API DetectedMetricSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
const DetectedS3SourceConfig & GetS3SourceConfig() const
AWS_LOOKOUTMETRICS_API DetectedMetricSource()=default
Aws::Utils::Json::JsonValue JsonValue