AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ComponentMatchScores.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/geo-places/model/AddressComponentMatchScores.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
35 {
36 public:
37 AWS_GEOPLACES_API ComponentMatchScores() = default;
40 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline double GetTitle() const { return m_title; }
49 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
50 inline void SetTitle(double value) { m_titleHasBeenSet = true; m_title = value; }
51 inline ComponentMatchScores& WithTitle(double value) { SetTitle(value); return *this;}
53
55
58 inline const AddressComponentMatchScores& GetAddress() const { return m_address; }
59 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
60 template<typename AddressT = AddressComponentMatchScores>
61 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
62 template<typename AddressT = AddressComponentMatchScores>
63 ComponentMatchScores& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
65 private:
66
67 double m_title{0.0};
68 bool m_titleHasBeenSet = false;
69
70 AddressComponentMatchScores m_address;
71 bool m_addressHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GeoPlaces
76} // namespace Aws
const AddressComponentMatchScores & GetAddress() const
AWS_GEOPLACES_API ComponentMatchScores()=default
ComponentMatchScores & WithAddress(AddressT &&value)
ComponentMatchScores & WithTitle(double value)
AWS_GEOPLACES_API ComponentMatchScores(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API ComponentMatchScores & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue