AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
MetricConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/oam/OAM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace OAM {
20namespace Model {
21
30 public:
31 AWS_OAM_API MetricConfiguration() = default;
35
37
60 inline const Aws::String& GetFilter() const { return m_filter; }
61 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
62 template <typename FilterT = Aws::String>
63 void SetFilter(FilterT&& value) {
64 m_filterHasBeenSet = true;
65 m_filter = std::forward<FilterT>(value);
66 }
67 template <typename FilterT = Aws::String>
68 MetricConfiguration& WithFilter(FilterT&& value) {
69 SetFilter(std::forward<FilterT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_filter;
75 bool m_filterHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace OAM
80} // namespace Aws
AWS_OAM_API MetricConfiguration(Aws::Utils::Json::JsonView jsonValue)
MetricConfiguration & WithFilter(FilterT &&value)
const Aws::String & GetFilter() const
AWS_OAM_API MetricConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OAM_API MetricConfiguration()=default
AWS_OAM_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue