AWS SDK for C++  1.9.105
AWS SDK for C++
VodSource.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace MediaTailor
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetArn() const{ return m_arn; }
48 
52  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 
57  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 
62  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 
67  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 
72  inline VodSource& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 
77  inline VodSource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 
82  inline VodSource& WithArn(const char* value) { SetArn(value); return *this;}
83 
84 
88  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
89 
93  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 
98  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
99 
103  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
104 
108  inline VodSource& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
109 
113  inline VodSource& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
114 
115 
119  inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
120 
124  inline bool HttpPackageConfigurationsHasBeenSet() const { return m_httpPackageConfigurationsHasBeenSet; }
125 
129  inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = value; }
130 
134  inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::move(value); }
135 
139  inline VodSource& WithHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { SetHttpPackageConfigurations(value); return *this;}
140 
144  inline VodSource& WithHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { SetHttpPackageConfigurations(std::move(value)); return *this;}
145 
149  inline VodSource& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; }
150 
154  inline VodSource& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
155 
156 
160  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
161 
165  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
166 
170  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
171 
175  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
176 
180  inline VodSource& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
181 
185  inline VodSource& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
186 
187 
191  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
192 
196  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
197 
201  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
202 
206  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
207 
211  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
212 
216  inline VodSource& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
217 
221  inline VodSource& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
222 
226  inline VodSource& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
227 
228 
232  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
233 
237  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
238 
242  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
243 
247  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
248 
252  inline VodSource& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
253 
257  inline VodSource& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
258 
262  inline VodSource& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
263 
267  inline VodSource& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
268 
272  inline VodSource& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
273 
277  inline VodSource& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
278 
282  inline VodSource& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
283 
287  inline VodSource& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
288 
292  inline VodSource& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
293 
294 
298  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
299 
303  inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
304 
308  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
309 
313  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
314 
318  inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
319 
323  inline VodSource& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
324 
328  inline VodSource& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
329 
333  inline VodSource& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
334 
335  private:
336 
337  Aws::String m_arn;
338  bool m_arnHasBeenSet;
339 
340  Aws::Utils::DateTime m_creationTime;
341  bool m_creationTimeHasBeenSet;
342 
343  Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
344  bool m_httpPackageConfigurationsHasBeenSet;
345 
346  Aws::Utils::DateTime m_lastModifiedTime;
347  bool m_lastModifiedTimeHasBeenSet;
348 
349  Aws::String m_sourceLocationName;
350  bool m_sourceLocationNameHasBeenSet;
351 
353  bool m_tagsHasBeenSet;
354 
355  Aws::String m_vodSourceName;
356  bool m_vodSourceNameHasBeenSet;
357  };
358 
359 } // namespace Model
360 } // namespace MediaTailor
361 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::VodSource::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: VodSource.h:191
Aws::MediaTailor::Model::VodSource::WithCreationTime
VodSource & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: VodSource.h:113
Aws::MediaTailor::Model::VodSource::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: VodSource.h:247
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::VodSource::SetArn
void SetArn(Aws::String &&value)
Definition: VodSource.h:62
Aws::MediaTailor::Model::VodSource::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: VodSource.h:52
Aws::MediaTailor::Model::VodSource::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: VodSource.h:134
Aws::MediaTailor::Model::VodSource::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: VodSource.h:298
Aws::MediaTailor::Model::VodSource
Definition: VodSource.h:36
Aws::MediaTailor::Model::VodSource::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: VodSource.h:308
Aws::MediaTailor::Model::VodSource::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: VodSource.h:206
Aws::MediaTailor::Model::VodSource::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: VodSource.h:237
Aws::MediaTailor::Model::VodSource::SetArn
void SetArn(const char *value)
Definition: VodSource.h:67
Aws::MediaTailor::Model::VodSource::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: VodSource.h:232
HttpPackageConfiguration.h
DateTime.h
Aws::MediaTailor::Model::VodSource::WithArn
VodSource & WithArn(Aws::String &&value)
Definition: VodSource.h:77
Aws::MediaTailor::Model::VodSource::VodSource
VodSource()
Aws::MediaTailor::Model::VodSource::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: VodSource.h:196
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::VodSource::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: VodSource.h:103
Aws::MediaTailor::Model::VodSource::WithTags
VodSource & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: VodSource.h:257
Aws::MediaTailor::Model::VodSource::AddTags
VodSource & AddTags(const char *key, Aws::String &&value)
Definition: VodSource.h:282
Aws::MediaTailor::Model::VodSource::AddTags
VodSource & AddTags(const Aws::String &key, Aws::String &&value)
Definition: VodSource.h:272
Aws::MediaTailor::Model::VodSource::WithSourceLocationName
VodSource & WithSourceLocationName(const Aws::String &value)
Definition: VodSource.h:216
Aws::MediaTailor::Model::VodSource::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: VodSource.h:313
Aws::MediaTailor::Model::HttpPackageConfiguration
Definition: HttpPackageConfiguration.h:34
AWSVector.h
Aws::MediaTailor::Model::VodSource::WithHttpPackageConfigurations
VodSource & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: VodSource.h:144
Aws::MediaTailor::Model::VodSource::WithArn
VodSource & WithArn(const Aws::String &value)
Definition: VodSource.h:72
Aws::MediaTailor::Model::VodSource::WithCreationTime
VodSource & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: VodSource.h:108
Aws::MediaTailor::Model::VodSource::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: VodSource.h:211
Aws::MediaTailor::Model::VodSource::AddTags
VodSource & AddTags(Aws::String &&key, Aws::String &&value)
Definition: VodSource.h:277
Aws::MediaTailor::Model::VodSource::WithTags
VodSource & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: VodSource.h:252
Aws::MediaTailor::Model::VodSource::AddHttpPackageConfigurations
VodSource & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
Definition: VodSource.h:154
Aws::MediaTailor::Model::VodSource::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: VodSource.h:175
Aws::MediaTailor::Model::VodSource::SetArn
void SetArn(const Aws::String &value)
Definition: VodSource.h:57
Aws::MediaTailor::Model::VodSource::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: VodSource.h:242
Aws::MediaTailor::Model::VodSource::WithVodSourceName
VodSource & WithVodSourceName(const Aws::String &value)
Definition: VodSource.h:323
Aws::MediaTailor::Model::VodSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::VodSource::WithVodSourceName
VodSource & WithVodSourceName(const char *value)
Definition: VodSource.h:333
Aws::MediaTailor::Model::VodSource::VodSourceNameHasBeenSet
bool VodSourceNameHasBeenSet() const
Definition: VodSource.h:303
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::VodSource::WithLastModifiedTime
VodSource & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: VodSource.h:185
Aws::MediaTailor::Model::VodSource::WithVodSourceName
VodSource & WithVodSourceName(Aws::String &&value)
Definition: VodSource.h:328
Aws::MediaTailor::Model::VodSource::WithArn
VodSource & WithArn(const char *value)
Definition: VodSource.h:82
Aws::MediaTailor::Model::VodSource::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: VodSource.h:88
Aws::MediaTailor::Model::VodSource::AddTags
VodSource & AddTags(Aws::String &&key, const char *value)
Definition: VodSource.h:287
Aws::MediaTailor::Model::VodSource::VodSource
VodSource(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::VodSource::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: VodSource.h:201
Aws::MediaTailor::Model::VodSource::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: VodSource.h:93
Aws::MediaTailor::Model::VodSource::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: VodSource.h:160
Aws::MediaTailor::Model::VodSource::AddTags
VodSource & AddTags(Aws::String &&key, const Aws::String &value)
Definition: VodSource.h:267
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::VodSource::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: VodSource.h:170
Aws::MediaTailor::Model::VodSource::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: VodSource.h:165
Aws::MediaTailor::Model::VodSource::HttpPackageConfigurationsHasBeenSet
bool HttpPackageConfigurationsHasBeenSet() const
Definition: VodSource.h:124
Aws::MediaTailor::Model::VodSource::operator=
VodSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::VodSource::GetHttpPackageConfigurations
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
Definition: VodSource.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::VodSource::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: VodSource.h:98
Aws::MediaTailor::Model::VodSource::WithSourceLocationName
VodSource & WithSourceLocationName(const char *value)
Definition: VodSource.h:226
Aws::MediaTailor::Model::VodSource::AddTags
VodSource & AddTags(const char *key, const char *value)
Definition: VodSource.h:292
Aws::MediaTailor::Model::VodSource::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: VodSource.h:129
Aws::MediaTailor::Model::VodSource::GetArn
const Aws::String & GetArn() const
Definition: VodSource.h:47
AWSMap.h
Aws::MediaTailor::Model::VodSource::WithSourceLocationName
VodSource & WithSourceLocationName(Aws::String &&value)
Definition: VodSource.h:221
Aws::MediaTailor::Model::VodSource::AddTags
VodSource & AddTags(const Aws::String &key, const Aws::String &value)
Definition: VodSource.h:262
Aws::MediaTailor::Model::VodSource::WithHttpPackageConfigurations
VodSource & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: VodSource.h:139
Aws::MediaTailor::Model::VodSource::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: VodSource.h:318
Aws::MediaTailor::Model::VodSource::WithLastModifiedTime
VodSource & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: VodSource.h:180
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::VodSource::AddHttpPackageConfigurations
VodSource & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
Definition: VodSource.h:149