AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSolutionMetricsResult.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Personalize
25{
26namespace Model
27{
29 {
30 public:
31 AWS_PERSONALIZE_API GetSolutionMetricsResult();
34
35
37
40 inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
41 inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArn = value; }
42 inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArn = std::move(value); }
43 inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArn.assign(value); }
45 inline GetSolutionMetricsResult& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
46 inline GetSolutionMetricsResult& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
48
50
55 inline const Aws::Map<Aws::String, double>& GetMetrics() const{ return m_metrics; }
56 inline void SetMetrics(const Aws::Map<Aws::String, double>& value) { m_metrics = value; }
57 inline void SetMetrics(Aws::Map<Aws::String, double>&& value) { m_metrics = std::move(value); }
59 inline GetSolutionMetricsResult& WithMetrics(Aws::Map<Aws::String, double>&& value) { SetMetrics(std::move(value)); return *this;}
60 inline GetSolutionMetricsResult& AddMetrics(const Aws::String& key, double value) { m_metrics.emplace(key, value); return *this; }
61 inline GetSolutionMetricsResult& AddMetrics(Aws::String&& key, double value) { m_metrics.emplace(std::move(key), value); return *this; }
62 inline GetSolutionMetricsResult& AddMetrics(const char* key, double value) { m_metrics.emplace(key, value); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline GetSolutionMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline GetSolutionMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline GetSolutionMetricsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_solutionVersionArn;
78
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace Personalize
86} // namespace Aws
const Aws::Map< Aws::String, double > & GetMetrics() const
GetSolutionMetricsResult & WithSolutionVersionArn(const char *value)
GetSolutionMetricsResult & WithSolutionVersionArn(const Aws::String &value)
GetSolutionMetricsResult & WithMetrics(const Aws::Map< Aws::String, double > &value)
GetSolutionMetricsResult & WithRequestId(const char *value)
AWS_PERSONALIZE_API GetSolutionMetricsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMetrics(Aws::Map< Aws::String, double > &&value)
GetSolutionMetricsResult & WithRequestId(const Aws::String &value)
GetSolutionMetricsResult & WithRequestId(Aws::String &&value)
GetSolutionMetricsResult & WithMetrics(Aws::Map< Aws::String, double > &&value)
GetSolutionMetricsResult & AddMetrics(const Aws::String &key, double value)
GetSolutionMetricsResult & WithSolutionVersionArn(Aws::String &&value)
void SetMetrics(const Aws::Map< Aws::String, double > &value)
AWS_PERSONALIZE_API GetSolutionMetricsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSolutionMetricsResult & AddMetrics(Aws::String &&key, double value)
GetSolutionMetricsResult & AddMetrics(const char *key, double value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue