AWS SDK for C++  1.9.108
AWS SDK for C++
Ssml.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AlexaForBusiness
23 {
24 namespace Model
25 {
26 
35  {
36  public:
37  Ssml();
41 
42 
46  inline const Locale& GetLocale() const{ return m_locale; }
47 
51  inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
52 
56  inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
57 
61  inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
62 
66  inline Ssml& WithLocale(const Locale& value) { SetLocale(value); return *this;}
67 
71  inline Ssml& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
72 
73 
78  inline const Aws::String& GetValue() const{ return m_value; }
79 
84  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
85 
90  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
91 
96  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
97 
102  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
103 
108  inline Ssml& WithValue(const Aws::String& value) { SetValue(value); return *this;}
109 
114  inline Ssml& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
115 
120  inline Ssml& WithValue(const char* value) { SetValue(value); return *this;}
121 
122  private:
123 
124  Locale m_locale;
125  bool m_localeHasBeenSet;
126 
127  Aws::String m_value;
128  bool m_valueHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace AlexaForBusiness
133 } // namespace Aws
Aws::AlexaForBusiness::Model::Ssml::SetLocale
void SetLocale(Locale &&value)
Definition: Ssml.h:61
Aws::AlexaForBusiness::Model::Ssml::WithLocale
Ssml & WithLocale(Locale &&value)
Definition: Ssml.h:71
Aws::AlexaForBusiness::Model::Ssml::SetValue
void SetValue(const Aws::String &value)
Definition: Ssml.h:90
Aws::AlexaForBusiness::Model::Ssml::WithValue
Ssml & WithValue(const char *value)
Definition: Ssml.h:120
Aws::AlexaForBusiness::Model::Ssml::LocaleHasBeenSet
bool LocaleHasBeenSet() const
Definition: Ssml.h:51
Aws::AlexaForBusiness::Model::Ssml::Ssml
Ssml()
Aws::AlexaForBusiness::Model::Ssml::SetValue
void SetValue(const char *value)
Definition: Ssml.h:102
Aws::AlexaForBusiness::Model::Ssml::GetLocale
const Locale & GetLocale() const
Definition: Ssml.h:46
Aws::AlexaForBusiness::Model::Ssml::Ssml
Ssml(Aws::Utils::Json::JsonView jsonValue)
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::Ssml
Definition: Ssml.h:35
Locale.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AlexaForBusiness::Model::Locale
Locale
Definition: Locale.h:17
Aws::AlexaForBusiness::Model::Ssml::SetLocale
void SetLocale(const Locale &value)
Definition: Ssml.h:56
Aws::AlexaForBusiness::Model::Ssml::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::Ssml::operator=
Ssml & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::Ssml::WithLocale
Ssml & WithLocale(const Locale &value)
Definition: Ssml.h:66
Aws::AlexaForBusiness::Model::Ssml::SetValue
void SetValue(Aws::String &&value)
Definition: Ssml.h:96
Aws::AlexaForBusiness::Model::Ssml::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Ssml.h:84
Aws::AlexaForBusiness::Model::Ssml::WithValue
Ssml & WithValue(const Aws::String &value)
Definition: Ssml.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::Ssml::GetValue
const Aws::String & GetValue() const
Definition: Ssml.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::Ssml::WithValue
Ssml & WithValue(Aws::String &&value)
Definition: Ssml.h:114