AWS SDK for C++  1.9.108
AWS SDK for C++
PerformanceMetrics.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MachineLearning
23 {
24 namespace Model
25 {
26 
44  {
45  public:
50 
51 
52 
53  inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
54 
55 
56  inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
57 
58 
59  inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
60 
61 
62  inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
63 
64 
65  inline PerformanceMetrics& WithProperties(const Aws::Map<Aws::String, Aws::String>& value) { SetProperties(value); return *this;}
66 
67 
68  inline PerformanceMetrics& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
69 
70 
71  inline PerformanceMetrics& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
72 
73 
74  inline PerformanceMetrics& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
75 
76 
77  inline PerformanceMetrics& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
78 
79 
80  inline PerformanceMetrics& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
81 
82 
83  inline PerformanceMetrics& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
84 
85 
86  inline PerformanceMetrics& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
87 
88 
89  inline PerformanceMetrics& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
90 
91  private:
92 
94  bool m_propertiesHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace MachineLearning
99 } // namespace Aws
Aws::MachineLearning::Model::PerformanceMetrics::PropertiesHasBeenSet
bool PropertiesHasBeenSet() const
Definition: PerformanceMetrics.h:56
Aws::MachineLearning::Model::PerformanceMetrics
Definition: PerformanceMetrics.h:44
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::PerformanceMetrics::PerformanceMetrics
PerformanceMetrics()
Aws::MachineLearning::Model::PerformanceMetrics::AddProperties
PerformanceMetrics & AddProperties(Aws::String &&key, const Aws::String &value)
Definition: PerformanceMetrics.h:74
Aws::MachineLearning::Model::PerformanceMetrics::GetProperties
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Definition: PerformanceMetrics.h:53
Aws::MachineLearning::Model::PerformanceMetrics::AddProperties
PerformanceMetrics & AddProperties(Aws::String &&key, const char *value)
Definition: PerformanceMetrics.h:86
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MachineLearning::Model::PerformanceMetrics::AddProperties
PerformanceMetrics & AddProperties(const Aws::String &key, const Aws::String &value)
Definition: PerformanceMetrics.h:71
Aws::MachineLearning::Model::PerformanceMetrics::PerformanceMetrics
PerformanceMetrics(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::PerformanceMetrics::AddProperties
PerformanceMetrics & AddProperties(const char *key, Aws::String &&value)
Definition: PerformanceMetrics.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::PerformanceMetrics::operator=
PerformanceMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::PerformanceMetrics::SetProperties
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PerformanceMetrics.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::PerformanceMetrics::AddProperties
PerformanceMetrics & AddProperties(const Aws::String &key, Aws::String &&value)
Definition: PerformanceMetrics.h:77
Aws::MachineLearning::Model::PerformanceMetrics::WithProperties
PerformanceMetrics & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PerformanceMetrics.h:68
Aws::MachineLearning::Model::PerformanceMetrics::WithProperties
PerformanceMetrics & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PerformanceMetrics.h:65
AWSMap.h
Aws::MachineLearning::Model::PerformanceMetrics::AddProperties
PerformanceMetrics & AddProperties(const char *key, const char *value)
Definition: PerformanceMetrics.h:89
Aws::MachineLearning::Model::PerformanceMetrics::SetProperties
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PerformanceMetrics.h:62
Aws::MachineLearning::Model::PerformanceMetrics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MachineLearning::Model::PerformanceMetrics::AddProperties
PerformanceMetrics & AddProperties(Aws::String &&key, Aws::String &&value)
Definition: PerformanceMetrics.h:80