AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreatePackagingConfigurationResult.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage-vod/model/CmafPackage.h>
10#include <aws/mediapackage-vod/model/DashPackage.h>
11#include <aws/mediapackage-vod/model/HlsPackage.h>
12#include <aws/mediapackage-vod/model/MssPackage.h>
13#include <aws/core/utils/memory/stl/AWSMap.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 MediaPackageVod
29{
30namespace Model
31{
33 {
34 public:
35 AWS_MEDIAPACKAGEVOD_API CreatePackagingConfigurationResult() = default;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 CreatePackagingConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
53 inline const CmafPackage& GetCmafPackage() const { return m_cmafPackage; }
54 template<typename CmafPackageT = CmafPackage>
55 void SetCmafPackage(CmafPackageT&& value) { m_cmafPackageHasBeenSet = true; m_cmafPackage = std::forward<CmafPackageT>(value); }
56 template<typename CmafPackageT = CmafPackage>
57 CreatePackagingConfigurationResult& WithCmafPackage(CmafPackageT&& value) { SetCmafPackage(std::forward<CmafPackageT>(value)); return *this;}
59
61
64 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
65 template<typename CreatedAtT = Aws::String>
66 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
67 template<typename CreatedAtT = Aws::String>
68 CreatePackagingConfigurationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
70
72
73 inline const DashPackage& GetDashPackage() const { return m_dashPackage; }
74 template<typename DashPackageT = DashPackage>
75 void SetDashPackage(DashPackageT&& value) { m_dashPackageHasBeenSet = true; m_dashPackage = std::forward<DashPackageT>(value); }
76 template<typename DashPackageT = DashPackage>
77 CreatePackagingConfigurationResult& WithDashPackage(DashPackageT&& value) { SetDashPackage(std::forward<DashPackageT>(value)); return *this;}
79
81
82 inline const HlsPackage& GetHlsPackage() const { return m_hlsPackage; }
83 template<typename HlsPackageT = HlsPackage>
84 void SetHlsPackage(HlsPackageT&& value) { m_hlsPackageHasBeenSet = true; m_hlsPackage = std::forward<HlsPackageT>(value); }
85 template<typename HlsPackageT = HlsPackage>
86 CreatePackagingConfigurationResult& WithHlsPackage(HlsPackageT&& value) { SetHlsPackage(std::forward<HlsPackageT>(value)); return *this;}
88
90
93 inline const Aws::String& GetId() const { return m_id; }
94 template<typename IdT = Aws::String>
95 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
96 template<typename IdT = Aws::String>
97 CreatePackagingConfigurationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
99
101
102 inline const MssPackage& GetMssPackage() const { return m_mssPackage; }
103 template<typename MssPackageT = MssPackage>
104 void SetMssPackage(MssPackageT&& value) { m_mssPackageHasBeenSet = true; m_mssPackage = std::forward<MssPackageT>(value); }
105 template<typename MssPackageT = MssPackage>
106 CreatePackagingConfigurationResult& WithMssPackage(MssPackageT&& value) { SetMssPackage(std::forward<MssPackageT>(value)); return *this;}
108
110
113 inline const Aws::String& GetPackagingGroupId() const { return m_packagingGroupId; }
114 template<typename PackagingGroupIdT = Aws::String>
115 void SetPackagingGroupId(PackagingGroupIdT&& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = std::forward<PackagingGroupIdT>(value); }
116 template<typename PackagingGroupIdT = Aws::String>
117 CreatePackagingConfigurationResult& WithPackagingGroupId(PackagingGroupIdT&& value) { SetPackagingGroupId(std::forward<PackagingGroupIdT>(value)); return *this;}
119
121
122 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
123 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
125 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 CreatePackagingConfigurationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
127 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
128 CreatePackagingConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
129 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
130 }
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template<typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
138 template<typename RequestIdT = Aws::String>
139 CreatePackagingConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
141 private:
142
143 Aws::String m_arn;
144 bool m_arnHasBeenSet = false;
145
146 CmafPackage m_cmafPackage;
147 bool m_cmafPackageHasBeenSet = false;
148
149 Aws::String m_createdAt;
150 bool m_createdAtHasBeenSet = false;
151
152 DashPackage m_dashPackage;
153 bool m_dashPackageHasBeenSet = false;
154
155 HlsPackage m_hlsPackage;
156 bool m_hlsPackageHasBeenSet = false;
157
158 Aws::String m_id;
159 bool m_idHasBeenSet = false;
160
161 MssPackage m_mssPackage;
162 bool m_mssPackageHasBeenSet = false;
163
164 Aws::String m_packagingGroupId;
165 bool m_packagingGroupIdHasBeenSet = false;
166
168 bool m_tagsHasBeenSet = false;
169
170 Aws::String m_requestId;
171 bool m_requestIdHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace MediaPackageVod
176} // namespace Aws
AWS_MEDIAPACKAGEVOD_API CreatePackagingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePackagingConfigurationResult & WithCreatedAt(CreatedAtT &&value)
CreatePackagingConfigurationResult & WithRequestId(RequestIdT &&value)
CreatePackagingConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePackagingConfigurationResult & WithPackagingGroupId(PackagingGroupIdT &&value)
AWS_MEDIAPACKAGEVOD_API CreatePackagingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePackagingConfigurationResult & WithHlsPackage(HlsPackageT &&value)
CreatePackagingConfigurationResult & WithMssPackage(MssPackageT &&value)
CreatePackagingConfigurationResult & WithCmafPackage(CmafPackageT &&value)
AWS_MEDIAPACKAGEVOD_API CreatePackagingConfigurationResult()=default
CreatePackagingConfigurationResult & WithDashPackage(DashPackageT &&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
Aws::Utils::Json::JsonValue JsonValue