AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
66 inline const Aws::String& GetFilter() const{ return m_filter; }
67 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
68 inline void SetFilter(const Aws::String& value) { m_filterHasBeenSet = true; m_filter = value; }
69 inline void SetFilter(Aws::String&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
70 inline void SetFilter(const char* value) { m_filterHasBeenSet = true; m_filter.assign(value); }
71 inline MetricConfiguration& WithFilter(const Aws::String& value) { SetFilter(value); return *this;}
72 inline MetricConfiguration& WithFilter(Aws::String&& value) { SetFilter(std::move(value)); return *this;}
73 inline MetricConfiguration& WithFilter(const char* value) { SetFilter(value); return *this;}
75 private:
76
77 Aws::String m_filter;
78 bool m_filterHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace OAM
83} // namespace Aws
AWS_OAM_API MetricConfiguration(Aws::Utils::Json::JsonView jsonValue)
MetricConfiguration & WithFilter(const char *value)
MetricConfiguration & WithFilter(Aws::String &&value)
void SetFilter(const Aws::String &value)
const Aws::String & GetFilter() const
MetricConfiguration & WithFilter(const Aws::String &value)
AWS_OAM_API MetricConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
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