AWS SDK for C++  1.9.123
AWS SDK for C++
Content.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AlexaForBusiness
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::Vector<Text>& GetTextList() const{ return m_textList; }
48 
52  inline bool TextListHasBeenSet() const { return m_textListHasBeenSet; }
53 
57  inline void SetTextList(const Aws::Vector<Text>& value) { m_textListHasBeenSet = true; m_textList = value; }
58 
62  inline void SetTextList(Aws::Vector<Text>&& value) { m_textListHasBeenSet = true; m_textList = std::move(value); }
63 
67  inline Content& WithTextList(const Aws::Vector<Text>& value) { SetTextList(value); return *this;}
68 
72  inline Content& WithTextList(Aws::Vector<Text>&& value) { SetTextList(std::move(value)); return *this;}
73 
77  inline Content& AddTextList(const Text& value) { m_textListHasBeenSet = true; m_textList.push_back(value); return *this; }
78 
82  inline Content& AddTextList(Text&& value) { m_textListHasBeenSet = true; m_textList.push_back(std::move(value)); return *this; }
83 
84 
88  inline const Aws::Vector<Ssml>& GetSsmlList() const{ return m_ssmlList; }
89 
93  inline bool SsmlListHasBeenSet() const { return m_ssmlListHasBeenSet; }
94 
98  inline void SetSsmlList(const Aws::Vector<Ssml>& value) { m_ssmlListHasBeenSet = true; m_ssmlList = value; }
99 
103  inline void SetSsmlList(Aws::Vector<Ssml>&& value) { m_ssmlListHasBeenSet = true; m_ssmlList = std::move(value); }
104 
108  inline Content& WithSsmlList(const Aws::Vector<Ssml>& value) { SetSsmlList(value); return *this;}
109 
113  inline Content& WithSsmlList(Aws::Vector<Ssml>&& value) { SetSsmlList(std::move(value)); return *this;}
114 
118  inline Content& AddSsmlList(const Ssml& value) { m_ssmlListHasBeenSet = true; m_ssmlList.push_back(value); return *this; }
119 
123  inline Content& AddSsmlList(Ssml&& value) { m_ssmlListHasBeenSet = true; m_ssmlList.push_back(std::move(value)); return *this; }
124 
125 
129  inline const Aws::Vector<Audio>& GetAudioList() const{ return m_audioList; }
130 
134  inline bool AudioListHasBeenSet() const { return m_audioListHasBeenSet; }
135 
139  inline void SetAudioList(const Aws::Vector<Audio>& value) { m_audioListHasBeenSet = true; m_audioList = value; }
140 
144  inline void SetAudioList(Aws::Vector<Audio>&& value) { m_audioListHasBeenSet = true; m_audioList = std::move(value); }
145 
149  inline Content& WithAudioList(const Aws::Vector<Audio>& value) { SetAudioList(value); return *this;}
150 
154  inline Content& WithAudioList(Aws::Vector<Audio>&& value) { SetAudioList(std::move(value)); return *this;}
155 
159  inline Content& AddAudioList(const Audio& value) { m_audioListHasBeenSet = true; m_audioList.push_back(value); return *this; }
160 
164  inline Content& AddAudioList(Audio&& value) { m_audioListHasBeenSet = true; m_audioList.push_back(std::move(value)); return *this; }
165 
166  private:
167 
168  Aws::Vector<Text> m_textList;
169  bool m_textListHasBeenSet;
170 
171  Aws::Vector<Ssml> m_ssmlList;
172  bool m_ssmlListHasBeenSet;
173 
174  Aws::Vector<Audio> m_audioList;
175  bool m_audioListHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace AlexaForBusiness
180 } // namespace Aws
Aws::AlexaForBusiness::Model::Content::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AlexaForBusiness::Model::Content::SetTextList
void SetTextList(Aws::Vector< Text > &&value)
Definition: Content.h:62
Aws::AlexaForBusiness::Model::Content::AddAudioList
Content & AddAudioList(Audio &&value)
Definition: Content.h:164
Aws::AlexaForBusiness::Model::Audio
Definition: Audio.h:41
Aws::AlexaForBusiness::Model::Content::GetAudioList
const Aws::Vector< Audio > & GetAudioList() const
Definition: Content.h:129
Aws::AlexaForBusiness::Model::Content::WithTextList
Content & WithTextList(const Aws::Vector< Text > &value)
Definition: Content.h:67
Aws::AlexaForBusiness::Model::Content::SetAudioList
void SetAudioList(const Aws::Vector< Audio > &value)
Definition: Content.h:139
Aws::AlexaForBusiness::Model::Content::WithAudioList
Content & WithAudioList(const Aws::Vector< Audio > &value)
Definition: Content.h:149
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::Content::WithSsmlList
Content & WithSsmlList(Aws::Vector< Ssml > &&value)
Definition: Content.h:113
AWSVector.h
Aws::AlexaForBusiness::Model::Content::SsmlListHasBeenSet
bool SsmlListHasBeenSet() const
Definition: Content.h:93
Aws::AlexaForBusiness::Model::Content::GetSsmlList
const Aws::Vector< Ssml > & GetSsmlList() const
Definition: Content.h:88
Aws::AlexaForBusiness::Model::Content::AddTextList
Content & AddTextList(const Text &value)
Definition: Content.h:77
Audio.h
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::Content::AddTextList
Content & AddTextList(Text &&value)
Definition: Content.h:82
Aws::AlexaForBusiness::Model::Ssml
Definition: Ssml.h:35
Text.h
Ssml.h
Aws::AlexaForBusiness::Model::Content::operator=
Content & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::Content::SetAudioList
void SetAudioList(Aws::Vector< Audio > &&value)
Definition: Content.h:144
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AlexaForBusiness::Model::Text
Definition: Text.h:33
Aws::AlexaForBusiness::Model::Content::AudioListHasBeenSet
bool AudioListHasBeenSet() const
Definition: Content.h:134
Aws::AlexaForBusiness::Model::Content::WithSsmlList
Content & WithSsmlList(const Aws::Vector< Ssml > &value)
Definition: Content.h:108
AlexaForBusiness_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::Content::SetSsmlList
void SetSsmlList(Aws::Vector< Ssml > &&value)
Definition: Content.h:103
Aws::AlexaForBusiness::Model::Content::AddSsmlList
Content & AddSsmlList(Ssml &&value)
Definition: Content.h:123
Aws::AlexaForBusiness::Model::Content::AddAudioList
Content & AddAudioList(const Audio &value)
Definition: Content.h:159
Aws::AlexaForBusiness::Model::Content::TextListHasBeenSet
bool TextListHasBeenSet() const
Definition: Content.h:52
Aws::AlexaForBusiness::Model::Content::Content
Content(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::Content::SetSsmlList
void SetSsmlList(const Aws::Vector< Ssml > &value)
Definition: Content.h:98
Aws::AlexaForBusiness::Model::Content::GetTextList
const Aws::Vector< Text > & GetTextList() const
Definition: Content.h:47
Aws::AlexaForBusiness::Model::Content::AddSsmlList
Content & AddSsmlList(const Ssml &value)
Definition: Content.h:118
Aws::AlexaForBusiness::Model::Content::Content
Content()
Aws::AlexaForBusiness::Model::Content::WithTextList
Content & WithTextList(Aws::Vector< Text > &&value)
Definition: Content.h:72
Aws::AlexaForBusiness::Model::Content
Definition: Content.h:36
Aws::AlexaForBusiness::Model::Content::SetTextList
void SetTextList(const Aws::Vector< Text > &value)
Definition: Content.h:57
Aws::AlexaForBusiness::Model::Content::WithAudioList
Content & WithAudioList(Aws::Vector< Audio > &&value)
Definition: Content.h:154