AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PerformanceMetrics.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MachineLearning
23{
24namespace Model
25{
26
44 {
45 public:
46 AWS_MACHINELEARNING_API PerformanceMetrics() = default;
47 AWS_MACHINELEARNING_API PerformanceMetrics(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MACHINELEARNING_API PerformanceMetrics& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
54 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const { return m_properties; }
55 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
56 template<typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
57 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
58 template<typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
59 PerformanceMetrics& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
60 template<typename PropertiesKeyT = Aws::String, typename PropertiesValueT = Aws::String>
61 PerformanceMetrics& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) {
62 m_propertiesHasBeenSet = true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value)); return *this;
63 }
65 private:
66
68 bool m_propertiesHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MachineLearning
73} // namespace Aws
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
AWS_MACHINELEARNING_API PerformanceMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
PerformanceMetrics & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
AWS_MACHINELEARNING_API PerformanceMetrics(Aws::Utils::Json::JsonView jsonValue)
AWS_MACHINELEARNING_API PerformanceMetrics()=default
PerformanceMetrics & WithProperties(PropertiesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue