AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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