AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
EvaluationFormMetricConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationFormMetricType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
31 public:
32 AWS_CONNECT_API EvaluationFormMetricConfiguration() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline EvaluationFormMetricType GetMetricType() const { return m_metricType; }
43 inline bool MetricTypeHasBeenSet() const { return m_metricTypeHasBeenSet; }
45 m_metricTypeHasBeenSet = true;
46 m_metricType = value;
47 }
49 SetMetricType(value);
50 return *this;
51 }
53
55
63 inline const Aws::String& GetMetricName() const { return m_metricName; }
64 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
65 template <typename MetricNameT = Aws::String>
66 void SetMetricName(MetricNameT&& value) {
67 m_metricNameHasBeenSet = true;
68 m_metricName = std::forward<MetricNameT>(value);
69 }
70 template <typename MetricNameT = Aws::String>
72 SetMetricName(std::forward<MetricNameT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::String m_metricName;
80 bool m_metricTypeHasBeenSet = false;
81 bool m_metricNameHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Connect
86} // namespace Aws
EvaluationFormMetricConfiguration & WithMetricName(MetricNameT &&value)
AWS_CONNECT_API EvaluationFormMetricConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EvaluationFormMetricConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormMetricConfiguration & WithMetricType(EvaluationFormMetricType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue