AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ScraperLoggingDestination.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/CloudWatchLogDestination.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PrometheusService {
20namespace Model {
21
28 public:
29 AWS_PROMETHEUSSERVICE_API ScraperLoggingDestination() = default;
30 AWS_PROMETHEUSSERVICE_API ScraperLoggingDestination(Aws::Utils::Json::JsonView jsonValue);
31 AWS_PROMETHEUSSERVICE_API ScraperLoggingDestination& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const CloudWatchLogDestination& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
39 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
40 template <typename CloudWatchLogsT = CloudWatchLogDestination>
41 void SetCloudWatchLogs(CloudWatchLogsT&& value) {
42 m_cloudWatchLogsHasBeenSet = true;
43 m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value);
44 }
45 template <typename CloudWatchLogsT = CloudWatchLogDestination>
47 SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value));
48 return *this;
49 }
51 private:
52 CloudWatchLogDestination m_cloudWatchLogs;
53 bool m_cloudWatchLogsHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace PrometheusService
58} // namespace Aws
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROMETHEUSSERVICE_API ScraperLoggingDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API ScraperLoggingDestination()=default
ScraperLoggingDestination & WithCloudWatchLogs(CloudWatchLogsT &&value)
AWS_PROMETHEUSSERVICE_API ScraperLoggingDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue