AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PhonemeDetails.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/model/AddressComponentPhonemes.h>
10#include <aws/geo-places/model/PhonemeTranscription.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoPlaces
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GEOPLACES_API PhonemeDetails();
37 AWS_GEOPLACES_API PhonemeDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<PhonemeTranscription>& GetTitle() const{ return m_title; }
48 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
49 inline void SetTitle(const Aws::Vector<PhonemeTranscription>& value) { m_titleHasBeenSet = true; m_title = value; }
50 inline void SetTitle(Aws::Vector<PhonemeTranscription>&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
51 inline PhonemeDetails& WithTitle(const Aws::Vector<PhonemeTranscription>& value) { SetTitle(value); return *this;}
52 inline PhonemeDetails& WithTitle(Aws::Vector<PhonemeTranscription>&& value) { SetTitle(std::move(value)); return *this;}
53 inline PhonemeDetails& AddTitle(const PhonemeTranscription& value) { m_titleHasBeenSet = true; m_title.push_back(value); return *this; }
54 inline PhonemeDetails& AddTitle(PhonemeTranscription&& value) { m_titleHasBeenSet = true; m_title.push_back(std::move(value)); return *this; }
56
58
61 inline const AddressComponentPhonemes& GetAddress() const{ return m_address; }
62 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
63 inline void SetAddress(const AddressComponentPhonemes& value) { m_addressHasBeenSet = true; m_address = value; }
64 inline void SetAddress(AddressComponentPhonemes&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
65 inline PhonemeDetails& WithAddress(const AddressComponentPhonemes& value) { SetAddress(value); return *this;}
66 inline PhonemeDetails& WithAddress(AddressComponentPhonemes&& value) { SetAddress(std::move(value)); return *this;}
68 private:
69
71 bool m_titleHasBeenSet = false;
72
74 bool m_addressHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GeoPlaces
79} // namespace Aws
const AddressComponentPhonemes & GetAddress() const
AWS_GEOPLACES_API PhonemeDetails(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const Aws::Vector< PhonemeTranscription > &value)
const Aws::Vector< PhonemeTranscription > & GetTitle() const
PhonemeDetails & WithTitle(Aws::Vector< PhonemeTranscription > &&value)
void SetTitle(Aws::Vector< PhonemeTranscription > &&value)
PhonemeDetails & WithAddress(AddressComponentPhonemes &&value)
AWS_GEOPLACES_API PhonemeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
PhonemeDetails & WithAddress(const AddressComponentPhonemes &value)
void SetAddress(const AddressComponentPhonemes &value)
PhonemeDetails & WithTitle(const Aws::Vector< PhonemeTranscription > &value)
void SetAddress(AddressComponentPhonemes &&value)
PhonemeDetails & AddTitle(const PhonemeTranscription &value)
PhonemeDetails & AddTitle(PhonemeTranscription &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue