AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MetricConfiguration.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 OAM
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_OAM_API MetricConfiguration() = default;
40
41
43
66 inline const Aws::String& GetFilter() const { return m_filter; }
67 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
68 template<typename FilterT = Aws::String>
69 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
70 template<typename FilterT = Aws::String>
71 MetricConfiguration& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
73 private:
74
75 Aws::String m_filter;
76 bool m_filterHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace OAM
81} // 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