AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
34 {
35 public:
36 AWS_GEOPLACES_API ComponentMatchScores();
39 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline double GetTitle() const{ return m_title; }
48 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
49 inline void SetTitle(double value) { m_titleHasBeenSet = true; m_title = value; }
50 inline ComponentMatchScores& WithTitle(double value) { SetTitle(value); return *this;}
52
54
57 inline const AddressComponentMatchScores& GetAddress() const{ return m_address; }
58 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
59 inline void SetAddress(const AddressComponentMatchScores& value) { m_addressHasBeenSet = true; m_address = value; }
60 inline void SetAddress(AddressComponentMatchScores&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
61 inline ComponentMatchScores& WithAddress(const AddressComponentMatchScores& value) { SetAddress(value); return *this;}
62 inline ComponentMatchScores& WithAddress(AddressComponentMatchScores&& value) { SetAddress(std::move(value)); return *this;}
64 private:
65
66 double m_title;
67 bool m_titleHasBeenSet = false;
68
70 bool m_addressHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GeoPlaces
75} // namespace Aws
const AddressComponentMatchScores & GetAddress() const
void SetAddress(const AddressComponentMatchScores &value)
ComponentMatchScores & WithAddress(AddressComponentMatchScores &&value)
ComponentMatchScores & WithTitle(double value)
ComponentMatchScores & WithAddress(const AddressComponentMatchScores &value)
void SetAddress(AddressComponentMatchScores &&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