AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PhonemeTranscription.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_GEOPLACES_API PhonemeTranscription();
38 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetValue() const{ return m_value; }
46 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
47 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
48 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
49 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
50 inline PhonemeTranscription& WithValue(const Aws::String& value) { SetValue(value); return *this;}
51 inline PhonemeTranscription& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
52 inline PhonemeTranscription& WithValue(const char* value) { SetValue(value); return *this;}
54
56
62 inline const Aws::String& GetLanguage() const{ return m_language; }
63 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
64 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
65 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
66 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
67 inline PhonemeTranscription& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
68 inline PhonemeTranscription& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
69 inline PhonemeTranscription& WithLanguage(const char* value) { SetLanguage(value); return *this;}
71
73
76 inline bool GetPreferred() const{ return m_preferred; }
77 inline bool PreferredHasBeenSet() const { return m_preferredHasBeenSet; }
78 inline void SetPreferred(bool value) { m_preferredHasBeenSet = true; m_preferred = value; }
79 inline PhonemeTranscription& WithPreferred(bool value) { SetPreferred(value); return *this;}
81 private:
82
83 Aws::String m_value;
84 bool m_valueHasBeenSet = false;
85
86 Aws::String m_language;
87 bool m_languageHasBeenSet = false;
88
89 bool m_preferred;
90 bool m_preferredHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GeoPlaces
95} // namespace Aws
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
PhonemeTranscription & WithValue(const char *value)
PhonemeTranscription & WithLanguage(const Aws::String &value)
AWS_GEOPLACES_API PhonemeTranscription & operator=(Aws::Utils::Json::JsonView jsonValue)
PhonemeTranscription & WithLanguage(const char *value)
PhonemeTranscription & WithPreferred(bool value)
PhonemeTranscription & WithValue(Aws::String &&value)
AWS_GEOPLACES_API PhonemeTranscription(Aws::Utils::Json::JsonView jsonValue)
PhonemeTranscription & WithValue(const Aws::String &value)
PhonemeTranscription & WithLanguage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue