AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateVodSourceResult.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/mediatailor/model/HttpPackageConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaTailor
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MEDIATAILOR_API CreateVodSourceResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 CreateVodSourceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
55 template<typename CreationTimeT = Aws::Utils::DateTime>
56 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
57 template<typename CreationTimeT = Aws::Utils::DateTime>
58 CreateVodSourceResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
60
62
65 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const { return m_httpPackageConfigurations; }
66 template<typename HttpPackageConfigurationsT = Aws::Vector<HttpPackageConfiguration>>
67 void SetHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::forward<HttpPackageConfigurationsT>(value); }
68 template<typename HttpPackageConfigurationsT = Aws::Vector<HttpPackageConfiguration>>
69 CreateVodSourceResult& WithHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { SetHttpPackageConfigurations(std::forward<HttpPackageConfigurationsT>(value)); return *this;}
70 template<typename HttpPackageConfigurationsT = HttpPackageConfiguration>
71 CreateVodSourceResult& AddHttpPackageConfigurations(HttpPackageConfigurationsT&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.emplace_back(std::forward<HttpPackageConfigurationsT>(value)); return *this; }
73
75
78 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
79 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
80 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
81 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
82 CreateVodSourceResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
84
86
89 inline const Aws::String& GetSourceLocationName() const { return m_sourceLocationName; }
90 template<typename SourceLocationNameT = Aws::String>
91 void SetSourceLocationName(SourceLocationNameT&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::forward<SourceLocationNameT>(value); }
92 template<typename SourceLocationNameT = Aws::String>
93 CreateVodSourceResult& WithSourceLocationName(SourceLocationNameT&& value) { SetSourceLocationName(std::forward<SourceLocationNameT>(value)); return *this;}
95
97
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
105 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
107 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 CreateVodSourceResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
109 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
110 CreateVodSourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
111 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
112 }
114
116
119 inline const Aws::String& GetVodSourceName() const { return m_vodSourceName; }
120 template<typename VodSourceNameT = Aws::String>
121 void SetVodSourceName(VodSourceNameT&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::forward<VodSourceNameT>(value); }
122 template<typename VodSourceNameT = Aws::String>
123 CreateVodSourceResult& WithVodSourceName(VodSourceNameT&& value) { SetVodSourceName(std::forward<VodSourceNameT>(value)); return *this;}
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
129 template<typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
131 template<typename RequestIdT = Aws::String>
132 CreateVodSourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
134 private:
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 Aws::Utils::DateTime m_creationTime{};
140 bool m_creationTimeHasBeenSet = false;
141
142 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
143 bool m_httpPackageConfigurationsHasBeenSet = false;
144
145 Aws::Utils::DateTime m_lastModifiedTime{};
146 bool m_lastModifiedTimeHasBeenSet = false;
147
148 Aws::String m_sourceLocationName;
149 bool m_sourceLocationNameHasBeenSet = false;
150
152 bool m_tagsHasBeenSet = false;
153
154 Aws::String m_vodSourceName;
155 bool m_vodSourceNameHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace MediaTailor
163} // namespace Aws
CreateVodSourceResult & WithHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
AWS_MEDIATAILOR_API CreateVodSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVodSourceResult & AddHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
CreateVodSourceResult & WithLastModifiedTime(LastModifiedTimeT &&value)
CreateVodSourceResult & WithSourceLocationName(SourceLocationNameT &&value)
void SetSourceLocationName(SourceLocationNameT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_MEDIATAILOR_API CreateVodSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVodSourceResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetHttpPackageConfigurations(HttpPackageConfigurationsT &&value)
AWS_MEDIATAILOR_API CreateVodSourceResult()=default
CreateVodSourceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
CreateVodSourceResult & WithVodSourceName(VodSourceNameT &&value)
CreateVodSourceResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
CreateVodSourceResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVodSourceResult & WithArn(ArnT &&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