AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::Vector<AdBreakOpportunity>& GetAdBreakOpportunities() const { return m_adBreakOpportunities; }
45 template<typename AdBreakOpportunitiesT = Aws::Vector<AdBreakOpportunity>>
46 void SetAdBreakOpportunities(AdBreakOpportunitiesT&& value) { m_adBreakOpportunitiesHasBeenSet = true; m_adBreakOpportunities = std::forward<AdBreakOpportunitiesT>(value); }
47 template<typename AdBreakOpportunitiesT = Aws::Vector<AdBreakOpportunity>>
48 DescribeVodSourceResult& WithAdBreakOpportunities(AdBreakOpportunitiesT&& value) { SetAdBreakOpportunities(std::forward<AdBreakOpportunitiesT>(value)); return *this;}
49 template<typename AdBreakOpportunitiesT = AdBreakOpportunity>
50 DescribeVodSourceResult& AddAdBreakOpportunities(AdBreakOpportunitiesT&& value) { m_adBreakOpportunitiesHasBeenSet = true; m_adBreakOpportunities.emplace_back(std::forward<AdBreakOpportunitiesT>(value)); return *this; }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 DescribeVodSourceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
69 template<typename CreationTimeT = Aws::Utils::DateTime>
70 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
71 template<typename CreationTimeT = Aws::Utils::DateTime>
72 DescribeVodSourceResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
74
76
79 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const { return m_httpPackageConfigurations; }
80 template<typename HttpPackageConfigurationsT = Aws::Vector<HttpPackageConfiguration>>
81 void SetHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::forward<HttpPackageConfigurationsT>(value); }
82 template<typename HttpPackageConfigurationsT = Aws::Vector<HttpPackageConfiguration>>
83 DescribeVodSourceResult& WithHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { SetHttpPackageConfigurations(std::forward<HttpPackageConfigurationsT>(value)); return *this;}
84 template<typename HttpPackageConfigurationsT = HttpPackageConfiguration>
85 DescribeVodSourceResult& AddHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.emplace_back(std::forward<HttpPackageConfigurationsT>(value)); return *this; }
87
89
92 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
93 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
94 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
95 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
96 DescribeVodSourceResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
98
100
103 inline const Aws::String& GetSourceLocationName() const { return m_sourceLocationName; }
104 template<typename SourceLocationNameT = Aws::String>
105 void SetSourceLocationName(SourceLocationNameT&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::forward<SourceLocationNameT>(value); }
106 template<typename SourceLocationNameT = Aws::String>
107 DescribeVodSourceResult& WithSourceLocationName(SourceLocationNameT&& value) { SetSourceLocationName(std::forward<SourceLocationNameT>(value)); return *this;}
109
111
118 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
119 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
121 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 DescribeVodSourceResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
123 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
124 DescribeVodSourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
125 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
126 }
128
130
133 inline const Aws::String& GetVodSourceName() const { return m_vodSourceName; }
134 template<typename VodSourceNameT = Aws::String>
135 void SetVodSourceName(VodSourceNameT&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::forward<VodSourceNameT>(value); }
136 template<typename VodSourceNameT = Aws::String>
137 DescribeVodSourceResult& WithVodSourceName(VodSourceNameT&& value) { SetVodSourceName(std::forward<VodSourceNameT>(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template<typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
145 template<typename RequestIdT = Aws::String>
146 DescribeVodSourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
148 private:
149
150 Aws::Vector<AdBreakOpportunity> m_adBreakOpportunities;
151 bool m_adBreakOpportunitiesHasBeenSet = false;
152
153 Aws::String m_arn;
154 bool m_arnHasBeenSet = false;
155
156 Aws::Utils::DateTime m_creationTime{};
157 bool m_creationTimeHasBeenSet = false;
158
159 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
160 bool m_httpPackageConfigurationsHasBeenSet = false;
161
162 Aws::Utils::DateTime m_lastModifiedTime{};
163 bool m_lastModifiedTimeHasBeenSet = false;
164
165 Aws::String m_sourceLocationName;
166 bool m_sourceLocationNameHasBeenSet = false;
167
169 bool m_tagsHasBeenSet = false;
170
171 Aws::String m_vodSourceName;
172 bool m_vodSourceNameHasBeenSet = false;
173
174 Aws::String m_requestId;
175 bool m_requestIdHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace MediaTailor
180} // namespace Aws
DescribeVodSourceResult & WithVodSourceName(VodSourceNameT &&value)
DescribeVodSourceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIATAILOR_API DescribeVodSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVodSourceResult & WithArn(ArnT &&value)
DescribeVodSourceResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_MEDIATAILOR_API DescribeVodSourceResult()=default
DescribeVodSourceResult & AddAdBreakOpportunities(AdBreakOpportunitiesT &&value)
AWS_MEDIATAILOR_API DescribeVodSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVodSourceResult & WithHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
DescribeVodSourceResult & WithTags(TagsT &&value)
const Aws::Vector< AdBreakOpportunity > & GetAdBreakOpportunities() const
DescribeVodSourceResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeVodSourceResult & AddHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
DescribeVodSourceResult & WithSourceLocationName(SourceLocationNameT &&value)
void SetAdBreakOpportunities(AdBreakOpportunitiesT &&value)
DescribeVodSourceResult & WithAdBreakOpportunities(AdBreakOpportunitiesT &&value)
DescribeVodSourceResult & WithCreationTime(CreationTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
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