AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MatchScoreDetails.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/geo-places/model/ComponentMatchScores.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoPlaces
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GEOPLACES_API MatchScoreDetails();
35 AWS_GEOPLACES_API MatchScoreDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline double GetOverall() const{ return m_overall; }
46 inline bool OverallHasBeenSet() const { return m_overallHasBeenSet; }
47 inline void SetOverall(double value) { m_overallHasBeenSet = true; m_overall = value; }
48 inline MatchScoreDetails& WithOverall(double value) { SetOverall(value); return *this;}
50
52
56 inline const ComponentMatchScores& GetComponents() const{ return m_components; }
57 inline bool ComponentsHasBeenSet() const { return m_componentsHasBeenSet; }
58 inline void SetComponents(const ComponentMatchScores& value) { m_componentsHasBeenSet = true; m_components = value; }
59 inline void SetComponents(ComponentMatchScores&& value) { m_componentsHasBeenSet = true; m_components = std::move(value); }
60 inline MatchScoreDetails& WithComponents(const ComponentMatchScores& value) { SetComponents(value); return *this;}
61 inline MatchScoreDetails& WithComponents(ComponentMatchScores&& value) { SetComponents(std::move(value)); return *this;}
63 private:
64
65 double m_overall;
66 bool m_overallHasBeenSet = false;
67
68 ComponentMatchScores m_components;
69 bool m_componentsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace GeoPlaces
74} // namespace Aws
AWS_GEOPLACES_API MatchScoreDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API MatchScoreDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
MatchScoreDetails & WithComponents(const ComponentMatchScores &value)
MatchScoreDetails & WithComponents(ComponentMatchScores &&value)
void SetComponents(const ComponentMatchScores &value)
const ComponentMatchScores & GetComponents() const
MatchScoreDetails & WithOverall(double value)
void SetComponents(ComponentMatchScores &&value)
Aws::Utils::Json::JsonValue JsonValue