AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeVodSourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace MediaTailor
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetArn() const{ return m_arn; }
43 
47  inline void SetArn(const Aws::String& value) { m_arn = value; }
48 
52  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
53 
57  inline void SetArn(const char* value) { m_arn.assign(value); }
58 
62  inline DescribeVodSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 
67  inline DescribeVodSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 
72  inline DescribeVodSourceResult& WithArn(const char* value) { SetArn(value); return *this;}
73 
74 
78  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
79 
83  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
84 
88  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
89 
93  inline DescribeVodSourceResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 
98  inline DescribeVodSourceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
99 
100 
104  inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
105 
109  inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurations = value; }
110 
114  inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurations = std::move(value); }
115 
119  inline DescribeVodSourceResult& WithHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { SetHttpPackageConfigurations(value); return *this;}
120 
124  inline DescribeVodSourceResult& WithHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { SetHttpPackageConfigurations(std::move(value)); return *this;}
125 
129  inline DescribeVodSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; }
130 
134  inline DescribeVodSourceResult& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
135 
136 
140  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
141 
145  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
146 
150  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
151 
155  inline DescribeVodSourceResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
156 
160  inline DescribeVodSourceResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
161 
162 
166  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
167 
171  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
172 
176  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
177 
181  inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
182 
186  inline DescribeVodSourceResult& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
187 
191  inline DescribeVodSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
192 
196  inline DescribeVodSourceResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
197 
198 
202  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
203 
207  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
208 
212  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
213 
217  inline DescribeVodSourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
218 
222  inline DescribeVodSourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
223 
227  inline DescribeVodSourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
228 
232  inline DescribeVodSourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
233 
237  inline DescribeVodSourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
238 
242  inline DescribeVodSourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
243 
247  inline DescribeVodSourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
248 
252  inline DescribeVodSourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
253 
257  inline DescribeVodSourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
258 
259 
263  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
264 
268  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceName = value; }
269 
273  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceName = std::move(value); }
274 
278  inline void SetVodSourceName(const char* value) { m_vodSourceName.assign(value); }
279 
283  inline DescribeVodSourceResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
284 
288  inline DescribeVodSourceResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
289 
293  inline DescribeVodSourceResult& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
294 
295  private:
296 
297  Aws::String m_arn;
298 
299  Aws::Utils::DateTime m_creationTime;
300 
301  Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
302 
303  Aws::Utils::DateTime m_lastModifiedTime;
304 
305  Aws::String m_sourceLocationName;
306 
308 
309  Aws::String m_vodSourceName;
310  };
311 
312 } // namespace Model
313 } // namespace MediaTailor
314 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::DescribeVodSourceResult::AddTags
DescribeVodSourceResult & AddTags(const char *key, const char *value)
Definition: DescribeVodSourceResult.h:257
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::DescribeVodSourceResult::AddTags
DescribeVodSourceResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: DescribeVodSourceResult.h:232
Aws::MediaTailor::Model::DescribeVodSourceResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeVodSourceResult.h:207
Aws::MediaTailor::Model::DescribeVodSourceResult::AddTags
DescribeVodSourceResult & AddTags(const char *key, Aws::String &&value)
Definition: DescribeVodSourceResult.h:247
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DescribeVodSourceResult::SetArn
void SetArn(const char *value)
Definition: DescribeVodSourceResult.h:57
Aws::MediaTailor::Model::DescribeVodSourceResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeVodSourceResult.h:42
Aws::MediaTailor::Model::DescribeVodSourceResult::WithLastModifiedTime
DescribeVodSourceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeVodSourceResult.h:155
Aws::MediaTailor::Model::DescribeVodSourceResult::WithArn
DescribeVodSourceResult & WithArn(const char *value)
Definition: DescribeVodSourceResult.h:72
Aws::MediaTailor::Model::DescribeVodSourceResult::WithVodSourceName
DescribeVodSourceResult & WithVodSourceName(Aws::String &&value)
Definition: DescribeVodSourceResult.h:288
Aws::MediaTailor::Model::DescribeVodSourceResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeVodSourceResult.h:47
HttpPackageConfiguration.h
DateTime.h
Aws::MediaTailor::Model::DescribeVodSourceResult::WithCreationTime
DescribeVodSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeVodSourceResult.h:93
Aws::MediaTailor::Model::DescribeVodSourceResult::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: DescribeVodSourceResult.h:263
Aws::MediaTailor::Model::DescribeVodSourceResult::WithArn
DescribeVodSourceResult & WithArn(const Aws::String &value)
Definition: DescribeVodSourceResult.h:62
Aws::MediaTailor::Model::DescribeVodSourceResult::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: DescribeVodSourceResult.h:166
Aws::MediaTailor::Model::DescribeVodSourceResult::WithVodSourceName
DescribeVodSourceResult & WithVodSourceName(const Aws::String &value)
Definition: DescribeVodSourceResult.h:283
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::DescribeVodSourceResult::WithVodSourceName
DescribeVodSourceResult & WithVodSourceName(const char *value)
Definition: DescribeVodSourceResult.h:293
Aws::MediaTailor::Model::DescribeVodSourceResult::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: DescribeVodSourceResult.h:114
Aws::MediaTailor::Model::DescribeVodSourceResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeVodSourceResult.h:150
Aws::MediaTailor::Model::HttpPackageConfiguration
Definition: HttpPackageConfiguration.h:34
AWSVector.h
Aws::MediaTailor::Model::DescribeVodSourceResult::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: DescribeVodSourceResult.h:109
Aws::MediaTailor::Model::DescribeVodSourceResult::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: DescribeVodSourceResult.h:181
Aws::MediaTailor::Model::DescribeVodSourceResult::AddTags
DescribeVodSourceResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: DescribeVodSourceResult.h:242
Aws::MediaTailor::Model::DescribeVodSourceResult::GetHttpPackageConfigurations
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
Definition: DescribeVodSourceResult.h:104
Aws::MediaTailor::Model::DescribeVodSourceResult::operator=
DescribeVodSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::DescribeVodSourceResult::WithCreationTime
DescribeVodSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeVodSourceResult.h:98
Aws::MediaTailor::Model::DescribeVodSourceResult::AddHttpPackageConfigurations
DescribeVodSourceResult & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
Definition: DescribeVodSourceResult.h:134
Aws::MediaTailor::Model::DescribeVodSourceResult::AddTags
DescribeVodSourceResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: DescribeVodSourceResult.h:227
Aws::MediaTailor::Model::DescribeVodSourceResult::DescribeVodSourceResult
DescribeVodSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::DescribeVodSourceResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeVodSourceResult.h:78
Aws::MediaTailor::Model::DescribeVodSourceResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeVodSourceResult.h:140
Aws::MediaTailor::Model::DescribeVodSourceResult::DescribeVodSourceResult
DescribeVodSourceResult()
Aws::MediaTailor::Model::DescribeVodSourceResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeVodSourceResult.h:145
Aws::MediaTailor::Model::DescribeVodSourceResult::AddTags
DescribeVodSourceResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: DescribeVodSourceResult.h:237
Aws::MediaTailor::Model::DescribeVodSourceResult::AddTags
DescribeVodSourceResult & AddTags(Aws::String &&key, const char *value)
Definition: DescribeVodSourceResult.h:252
Aws::MediaTailor::Model::DescribeVodSourceResult::WithSourceLocationName
DescribeVodSourceResult & WithSourceLocationName(const Aws::String &value)
Definition: DescribeVodSourceResult.h:186
Aws::MediaTailor::Model::DescribeVodSourceResult::WithArn
DescribeVodSourceResult & WithArn(Aws::String &&value)
Definition: DescribeVodSourceResult.h:67
Aws::MediaTailor::Model::DescribeVodSourceResult
Definition: DescribeVodSourceResult.h:32
Aws::MediaTailor::Model::DescribeVodSourceResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: DescribeVodSourceResult.h:202
Aws::MediaTailor::Model::DescribeVodSourceResult::AddHttpPackageConfigurations
DescribeVodSourceResult & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
Definition: DescribeVodSourceResult.h:129
Aws::MediaTailor::Model::DescribeVodSourceResult::WithLastModifiedTime
DescribeVodSourceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeVodSourceResult.h:160
AWSString.h
Aws::MediaTailor::Model::DescribeVodSourceResult::WithTags
DescribeVodSourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeVodSourceResult.h:222
Aws::MediaTailor::Model::DescribeVodSourceResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeVodSourceResult.h:83
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DescribeVodSourceResult::WithSourceLocationName
DescribeVodSourceResult & WithSourceLocationName(const char *value)
Definition: DescribeVodSourceResult.h:196
Aws::MediaTailor::Model::DescribeVodSourceResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeVodSourceResult.h:52
Aws::MediaTailor::Model::DescribeVodSourceResult::WithHttpPackageConfigurations
DescribeVodSourceResult & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: DescribeVodSourceResult.h:119
Aws::MediaTailor::Model::DescribeVodSourceResult::WithSourceLocationName
DescribeVodSourceResult & WithSourceLocationName(Aws::String &&value)
Definition: DescribeVodSourceResult.h:191
Aws::MediaTailor::Model::DescribeVodSourceResult::WithHttpPackageConfigurations
DescribeVodSourceResult & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: DescribeVodSourceResult.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::DescribeVodSourceResult::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: DescribeVodSourceResult.h:171
Aws::MediaTailor::Model::DescribeVodSourceResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeVodSourceResult.h:212
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::DescribeVodSourceResult::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: DescribeVodSourceResult.h:273
Aws::MediaTailor::Model::DescribeVodSourceResult::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: DescribeVodSourceResult.h:278
AWSMap.h
Aws::MediaTailor::Model::DescribeVodSourceResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeVodSourceResult.h:88
Aws::MediaTailor::Model::DescribeVodSourceResult::WithTags
DescribeVodSourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeVodSourceResult.h:217
Aws::MediaTailor::Model::DescribeVodSourceResult::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: DescribeVodSourceResult.h:268
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::DescribeVodSourceResult::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: DescribeVodSourceResult.h:176