AWS SDK for C++  0.14.3
AWS SDK for C++
PerformanceMetrics.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace MachineLearning
30 {
31 namespace Model
32 {
33 
49  {
50  public:
53  PerformanceMetrics& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
54  Aws::Utils::Json::JsonValue Jsonize() const;
55 
56 
57  inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
58 
59 
60  inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
61 
62 
63  inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = value; }
64 
65 
66  inline PerformanceMetrics& WithProperties(const Aws::Map<Aws::String, Aws::String>& value) { SetProperties(value); return *this;}
67 
68 
69  inline PerformanceMetrics& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(value); return *this;}
70 
71 
72  inline PerformanceMetrics& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties[key] = value; return *this; }
73 
74 
75  inline PerformanceMetrics& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties[key] = value; return *this; }
76 
77 
78  inline PerformanceMetrics& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties[key] = value; return *this; }
79 
80 
81  inline PerformanceMetrics& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties[key] = value; return *this; }
82 
83 
84  inline PerformanceMetrics& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties[key] = value; return *this; }
85 
86 
87  inline PerformanceMetrics& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties[key] = value; return *this; }
88 
89 
90  inline PerformanceMetrics& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties[key] = value; return *this; }
91 
92  private:
94  bool m_propertiesHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace MachineLearning
99 } // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
PerformanceMetrics & AddProperties(const Aws::String &key, Aws::String &&value)
PerformanceMetrics & AddProperties(const char *key, Aws::String &&value)
PerformanceMetrics & AddProperties(Aws::String &&key, const Aws::String &value)
PerformanceMetrics & AddProperties(Aws::String &&key, const char *value)
PerformanceMetrics & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
PerformanceMetrics & AddProperties(const Aws::String &key, const Aws::String &value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PerformanceMetrics & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
PerformanceMetrics & AddProperties(Aws::String &&key, Aws::String &&value)
PerformanceMetrics & AddProperties(const char *key, const char *value)
#define AWS_MACHINELEARNING_API
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
JSON (JavaScript Object Notation).