AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVodSourceResult.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/mediatailor/model/AdBreakOpportunity.h>
13#include <aws/mediatailor/model/HttpPackageConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MediaTailor
29{
30namespace Model
31{
33 {
34 public:
35 AWS_MEDIATAILOR_API DescribeVodSourceResult();
38
39
41
44 inline const Aws::Vector<AdBreakOpportunity>& GetAdBreakOpportunities() const{ return m_adBreakOpportunities; }
45 inline void SetAdBreakOpportunities(const Aws::Vector<AdBreakOpportunity>& value) { m_adBreakOpportunities = value; }
46 inline void SetAdBreakOpportunities(Aws::Vector<AdBreakOpportunity>&& value) { m_adBreakOpportunities = std::move(value); }
49 inline DescribeVodSourceResult& AddAdBreakOpportunities(const AdBreakOpportunity& value) { m_adBreakOpportunities.push_back(value); return *this; }
50 inline DescribeVodSourceResult& AddAdBreakOpportunities(AdBreakOpportunity&& value) { m_adBreakOpportunities.push_back(std::move(value)); return *this; }
52
54
57 inline const Aws::String& GetArn() const{ return m_arn; }
58 inline void SetArn(const Aws::String& value) { m_arn = value; }
59 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
60 inline void SetArn(const char* value) { m_arn.assign(value); }
61 inline DescribeVodSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline DescribeVodSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline DescribeVodSourceResult& WithArn(const char* value) { SetArn(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
71 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
72 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
74 inline DescribeVodSourceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
76
78
81 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
82 inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurations = value; }
83 inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurations = std::move(value); }
86 inline DescribeVodSourceResult& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurations.push_back(value); return *this; }
87 inline DescribeVodSourceResult& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
89
91
94 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
95 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
96 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
98 inline DescribeVodSourceResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
106 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
107 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
108 inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
110 inline DescribeVodSourceResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
111 inline DescribeVodSourceResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
113
115
122 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
123 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
124 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
125 inline DescribeVodSourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
126 inline DescribeVodSourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
127 inline DescribeVodSourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
128 inline DescribeVodSourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
129 inline DescribeVodSourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
130 inline DescribeVodSourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
131 inline DescribeVodSourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
132 inline DescribeVodSourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
133 inline DescribeVodSourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
135
137
140 inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
141 inline void SetVodSourceName(const Aws::String& value) { m_vodSourceName = value; }
142 inline void SetVodSourceName(Aws::String&& value) { m_vodSourceName = std::move(value); }
143 inline void SetVodSourceName(const char* value) { m_vodSourceName.assign(value); }
144 inline DescribeVodSourceResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
145 inline DescribeVodSourceResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
146 inline DescribeVodSourceResult& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const{ return m_requestId; }
152 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
153 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
154 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
155 inline DescribeVodSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
156 inline DescribeVodSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
157 inline DescribeVodSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
159 private:
160
161 Aws::Vector<AdBreakOpportunity> m_adBreakOpportunities;
162
163 Aws::String m_arn;
164
165 Aws::Utils::DateTime m_creationTime;
166
167 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
168
169 Aws::Utils::DateTime m_lastModifiedTime;
170
171 Aws::String m_sourceLocationName;
172
174
175 Aws::String m_vodSourceName;
176
177 Aws::String m_requestId;
178 };
179
180} // namespace Model
181} // namespace MediaTailor
182} // namespace Aws
DescribeVodSourceResult & WithVodSourceName(Aws::String &&value)
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeVodSourceResult & AddAdBreakOpportunities(AdBreakOpportunity &&value)
DescribeVodSourceResult & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
DescribeVodSourceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MEDIATAILOR_API DescribeVodSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVodSourceResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeVodSourceResult & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
DescribeVodSourceResult & WithArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeVodSourceResult & WithArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeVodSourceResult & WithSourceLocationName(const char *value)
DescribeVodSourceResult & WithAdBreakOpportunities(const Aws::Vector< AdBreakOpportunity > &value)
DescribeVodSourceResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeVodSourceResult & WithSourceLocationName(const Aws::String &value)
void SetAdBreakOpportunities(Aws::Vector< AdBreakOpportunity > &&value)
AWS_MEDIATAILOR_API DescribeVodSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVodSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeVodSourceResult & WithRequestId(Aws::String &&value)
void SetAdBreakOpportunities(const Aws::Vector< AdBreakOpportunity > &value)
const Aws::Vector< AdBreakOpportunity > & GetAdBreakOpportunities() const
DescribeVodSourceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeVodSourceResult & WithRequestId(const Aws::String &value)
DescribeVodSourceResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeVodSourceResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeVodSourceResult & AddTags(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
DescribeVodSourceResult & WithVodSourceName(const Aws::String &value)
DescribeVodSourceResult & WithSourceLocationName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeVodSourceResult & AddTags(Aws::String &&key, const char *value)
DescribeVodSourceResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeVodSourceResult & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeVodSourceResult & WithArn(const Aws::String &value)
DescribeVodSourceResult & WithVodSourceName(const char *value)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
DescribeVodSourceResult & AddTags(const char *key, const char *value)
DescribeVodSourceResult & AddAdBreakOpportunities(const AdBreakOpportunity &value)
DescribeVodSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeVodSourceResult & WithAdBreakOpportunities(Aws::Vector< AdBreakOpportunity > &&value)
DescribeVodSourceResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeVodSourceResult & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
DescribeVodSourceResult & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue