AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
PrometheusMonitoringConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMRServerless {
20namespace Model {
21
30 public:
31 AWS_EMRSERVERLESS_API PrometheusMonitoringConfiguration() = default;
34 AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetRemoteWriteUrl() const { return m_remoteWriteUrl; }
42 inline bool RemoteWriteUrlHasBeenSet() const { return m_remoteWriteUrlHasBeenSet; }
43 template <typename RemoteWriteUrlT = Aws::String>
44 void SetRemoteWriteUrl(RemoteWriteUrlT&& value) {
45 m_remoteWriteUrlHasBeenSet = true;
46 m_remoteWriteUrl = std::forward<RemoteWriteUrlT>(value);
47 }
48 template <typename RemoteWriteUrlT = Aws::String>
50 SetRemoteWriteUrl(std::forward<RemoteWriteUrlT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_remoteWriteUrl;
56 bool m_remoteWriteUrlHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace EMRServerless
61} // namespace Aws
AWS_EMRSERVERLESS_API PrometheusMonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API PrometheusMonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API PrometheusMonitoringConfiguration()=default
PrometheusMonitoringConfiguration & WithRemoteWriteUrl(RemoteWriteUrlT &&value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue