AWS SDK for C++  1.9.104
AWS SDK for C++
CreateVodSourceResult.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 CreateVodSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 
67  inline CreateVodSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 
72  inline CreateVodSourceResult& 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 CreateVodSourceResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 
98  inline CreateVodSourceResult& 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 CreateVodSourceResult& WithHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { SetHttpPackageConfigurations(value); return *this;}
120 
124  inline CreateVodSourceResult& WithHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { SetHttpPackageConfigurations(std::move(value)); return *this;}
125 
129  inline CreateVodSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; }
130 
134  inline CreateVodSourceResult& 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 CreateVodSourceResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
156 
160  inline CreateVodSourceResult& 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 CreateVodSourceResult& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
187 
191  inline CreateVodSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
192 
196  inline CreateVodSourceResult& 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 CreateVodSourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
218 
222  inline CreateVodSourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
223 
227  inline CreateVodSourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
228 
232  inline CreateVodSourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
233 
237  inline CreateVodSourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
238 
242  inline CreateVodSourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
243 
247  inline CreateVodSourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
248 
252  inline CreateVodSourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
253 
257  inline CreateVodSourceResult& 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 CreateVodSourceResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
284 
288  inline CreateVodSourceResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
289 
293  inline CreateVodSourceResult& 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::CreateVodSourceResult::operator=
CreateVodSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::CreateVodSourceResult::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: CreateVodSourceResult.h:273
Aws::MediaTailor::Model::CreateVodSourceResult::WithVodSourceName
CreateVodSourceResult & WithVodSourceName(const char *value)
Definition: CreateVodSourceResult.h:293
Aws::MediaTailor::Model::CreateVodSourceResult::AddHttpPackageConfigurations
CreateVodSourceResult & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
Definition: CreateVodSourceResult.h:134
Aws::MediaTailor::Model::CreateVodSourceResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CreateVodSourceResult.h:150
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::CreateVodSourceResult::WithArn
CreateVodSourceResult & WithArn(Aws::String &&value)
Definition: CreateVodSourceResult.h:67
Aws::MediaTailor::Model::CreateVodSourceResult::WithSourceLocationName
CreateVodSourceResult & WithSourceLocationName(const Aws::String &value)
Definition: CreateVodSourceResult.h:186
Aws::MediaTailor::Model::CreateVodSourceResult::WithHttpPackageConfigurations
CreateVodSourceResult & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: CreateVodSourceResult.h:119
Aws::MediaTailor::Model::CreateVodSourceResult::GetHttpPackageConfigurations
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
Definition: CreateVodSourceResult.h:104
HttpPackageConfiguration.h
DateTime.h
Aws::MediaTailor::Model::CreateVodSourceResult::GetArn
const Aws::String & GetArn() const
Definition: CreateVodSourceResult.h:42
Aws::MediaTailor::Model::CreateVodSourceResult::AddTags
CreateVodSourceResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateVodSourceResult.h:227
Aws::MediaTailor::Model::CreateVodSourceResult::WithHttpPackageConfigurations
CreateVodSourceResult & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: CreateVodSourceResult.h:124
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::CreateVodSourceResult::WithTags
CreateVodSourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateVodSourceResult.h:222
Aws::MediaTailor::Model::CreateVodSourceResult::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: CreateVodSourceResult.h:268
Aws::MediaTailor::Model::HttpPackageConfiguration
Definition: HttpPackageConfiguration.h:34
AWSVector.h
Aws::MediaTailor::Model::CreateVodSourceResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateVodSourceResult.h:47
Aws::MediaTailor::Model::CreateVodSourceResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateVodSourceResult.h:83
Aws::MediaTailor::Model::CreateVodSourceResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: CreateVodSourceResult.h:140
Aws::MediaTailor::Model::CreateVodSourceResult::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: CreateVodSourceResult.h:114
Aws::MediaTailor::Model::CreateVodSourceResult::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: CreateVodSourceResult.h:109
Aws::MediaTailor::Model::CreateVodSourceResult::AddHttpPackageConfigurations
CreateVodSourceResult & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
Definition: CreateVodSourceResult.h:129
Aws::MediaTailor::Model::CreateVodSourceResult::AddTags
CreateVodSourceResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateVodSourceResult.h:237
Aws::MediaTailor::Model::CreateVodSourceResult::WithArn
CreateVodSourceResult & WithArn(const char *value)
Definition: CreateVodSourceResult.h:72
Aws::MediaTailor::Model::CreateVodSourceResult::WithArn
CreateVodSourceResult & WithArn(const Aws::String &value)
Definition: CreateVodSourceResult.h:62
Aws::MediaTailor::Model::CreateVodSourceResult::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: CreateVodSourceResult.h:176
Aws::MediaTailor::Model::CreateVodSourceResult::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: CreateVodSourceResult.h:171
Aws::MediaTailor::Model::CreateVodSourceResult::WithLastModifiedTime
CreateVodSourceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CreateVodSourceResult.h:160
Aws::MediaTailor::Model::CreateVodSourceResult::WithTags
CreateVodSourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateVodSourceResult.h:217
Aws::MediaTailor::Model::CreateVodSourceResult::AddTags
CreateVodSourceResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateVodSourceResult.h:252
Aws::MediaTailor::Model::CreateVodSourceResult::WithSourceLocationName
CreateVodSourceResult & WithSourceLocationName(Aws::String &&value)
Definition: CreateVodSourceResult.h:191
AWSString.h
Aws::MediaTailor::Model::CreateVodSourceResult::CreateVodSourceResult
CreateVodSourceResult()
Aws::MediaTailor::Model::CreateVodSourceResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateVodSourceResult.h:212
Aws::MediaTailor::Model::CreateVodSourceResult::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: CreateVodSourceResult.h:278
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::CreateVodSourceResult::WithSourceLocationName
CreateVodSourceResult & WithSourceLocationName(const char *value)
Definition: CreateVodSourceResult.h:196
Aws::MediaTailor::Model::CreateVodSourceResult::AddTags
CreateVodSourceResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateVodSourceResult.h:232
Aws::MediaTailor::Model::CreateVodSourceResult
Definition: CreateVodSourceResult.h:32
Aws::MediaTailor::Model::CreateVodSourceResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateVodSourceResult.h:52
Aws::MediaTailor::Model::CreateVodSourceResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateVodSourceResult.h:202
Aws::MediaTailor::Model::CreateVodSourceResult::AddTags
CreateVodSourceResult & AddTags(const char *key, const char *value)
Definition: CreateVodSourceResult.h:257
Aws::MediaTailor::Model::CreateVodSourceResult::WithVodSourceName
CreateVodSourceResult & WithVodSourceName(const Aws::String &value)
Definition: CreateVodSourceResult.h:283
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::CreateVodSourceResult::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: CreateVodSourceResult.h:166
Aws::MediaTailor::Model::CreateVodSourceResult::WithCreationTime
CreateVodSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateVodSourceResult.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::CreateVodSourceResult::AddTags
CreateVodSourceResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateVodSourceResult.h:247
Aws::MediaTailor::Model::CreateVodSourceResult::WithCreationTime
CreateVodSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateVodSourceResult.h:93
Aws::MediaTailor::Model::CreateVodSourceResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateVodSourceResult.h:207
Aws::MediaTailor::Model::CreateVodSourceResult::CreateVodSourceResult
CreateVodSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::CreateVodSourceResult::SetArn
void SetArn(const char *value)
Definition: CreateVodSourceResult.h:57
Aws::MediaTailor::Model::CreateVodSourceResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: CreateVodSourceResult.h:78
Aws::MediaTailor::Model::CreateVodSourceResult::WithVodSourceName
CreateVodSourceResult & WithVodSourceName(Aws::String &&value)
Definition: CreateVodSourceResult.h:288
AWSMap.h
Aws::MediaTailor::Model::CreateVodSourceResult::AddTags
CreateVodSourceResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateVodSourceResult.h:242
Aws::MediaTailor::Model::CreateVodSourceResult::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: CreateVodSourceResult.h:181
Aws::MediaTailor::Model::CreateVodSourceResult::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: CreateVodSourceResult.h:263
Aws::MediaTailor::Model::CreateVodSourceResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CreateVodSourceResult.h:145
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::CreateVodSourceResult::WithLastModifiedTime
CreateVodSourceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CreateVodSourceResult.h:155
Aws::MediaTailor::Model::CreateVodSourceResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateVodSourceResult.h:88