AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackagingConfiguration.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{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaPackageVod
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MEDIAPACKAGEVOD_API PackagingConfiguration();
40 AWS_MEDIAPACKAGEVOD_API PackagingConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGEVOD_API PackagingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline PackagingConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline PackagingConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline PackagingConfiguration& WithArn(const char* value) { SetArn(value); return *this;}
58
60
61 inline const CmafPackage& GetCmafPackage() const{ return m_cmafPackage; }
62 inline bool CmafPackageHasBeenSet() const { return m_cmafPackageHasBeenSet; }
63 inline void SetCmafPackage(const CmafPackage& value) { m_cmafPackageHasBeenSet = true; m_cmafPackage = value; }
64 inline void SetCmafPackage(CmafPackage&& value) { m_cmafPackageHasBeenSet = true; m_cmafPackage = std::move(value); }
65 inline PackagingConfiguration& WithCmafPackage(const CmafPackage& value) { SetCmafPackage(value); return *this;}
66 inline PackagingConfiguration& WithCmafPackage(CmafPackage&& value) { SetCmafPackage(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
74 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
75 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
76 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
77 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
78 inline PackagingConfiguration& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
79 inline PackagingConfiguration& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
80 inline PackagingConfiguration& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
82
84
85 inline const DashPackage& GetDashPackage() const{ return m_dashPackage; }
86 inline bool DashPackageHasBeenSet() const { return m_dashPackageHasBeenSet; }
87 inline void SetDashPackage(const DashPackage& value) { m_dashPackageHasBeenSet = true; m_dashPackage = value; }
88 inline void SetDashPackage(DashPackage&& value) { m_dashPackageHasBeenSet = true; m_dashPackage = std::move(value); }
89 inline PackagingConfiguration& WithDashPackage(const DashPackage& value) { SetDashPackage(value); return *this;}
90 inline PackagingConfiguration& WithDashPackage(DashPackage&& value) { SetDashPackage(std::move(value)); return *this;}
92
94
95 inline const HlsPackage& GetHlsPackage() const{ return m_hlsPackage; }
96 inline bool HlsPackageHasBeenSet() const { return m_hlsPackageHasBeenSet; }
97 inline void SetHlsPackage(const HlsPackage& value) { m_hlsPackageHasBeenSet = true; m_hlsPackage = value; }
98 inline void SetHlsPackage(HlsPackage&& value) { m_hlsPackageHasBeenSet = true; m_hlsPackage = std::move(value); }
99 inline PackagingConfiguration& WithHlsPackage(const HlsPackage& value) { SetHlsPackage(value); return *this;}
100 inline PackagingConfiguration& WithHlsPackage(HlsPackage&& value) { SetHlsPackage(std::move(value)); return *this;}
102
104
107 inline const Aws::String& GetId() const{ return m_id; }
108 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
109 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
110 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
111 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
112 inline PackagingConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;}
113 inline PackagingConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
114 inline PackagingConfiguration& WithId(const char* value) { SetId(value); return *this;}
116
118
119 inline const MssPackage& GetMssPackage() const{ return m_mssPackage; }
120 inline bool MssPackageHasBeenSet() const { return m_mssPackageHasBeenSet; }
121 inline void SetMssPackage(const MssPackage& value) { m_mssPackageHasBeenSet = true; m_mssPackage = value; }
122 inline void SetMssPackage(MssPackage&& value) { m_mssPackageHasBeenSet = true; m_mssPackage = std::move(value); }
123 inline PackagingConfiguration& WithMssPackage(const MssPackage& value) { SetMssPackage(value); return *this;}
124 inline PackagingConfiguration& WithMssPackage(MssPackage&& value) { SetMssPackage(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetPackagingGroupId() const{ return m_packagingGroupId; }
132 inline bool PackagingGroupIdHasBeenSet() const { return m_packagingGroupIdHasBeenSet; }
133 inline void SetPackagingGroupId(const Aws::String& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = value; }
134 inline void SetPackagingGroupId(Aws::String&& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = std::move(value); }
135 inline void SetPackagingGroupId(const char* value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId.assign(value); }
136 inline PackagingConfiguration& WithPackagingGroupId(const Aws::String& value) { SetPackagingGroupId(value); return *this;}
137 inline PackagingConfiguration& WithPackagingGroupId(Aws::String&& value) { SetPackagingGroupId(std::move(value)); return *this;}
138 inline PackagingConfiguration& WithPackagingGroupId(const char* value) { SetPackagingGroupId(value); return *this;}
140
142
143 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
146 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
147 inline PackagingConfiguration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
148 inline PackagingConfiguration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
149 inline PackagingConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
150 inline PackagingConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline PackagingConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline PackagingConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
153 inline PackagingConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
154 inline PackagingConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
155 inline PackagingConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
157 private:
158
159 Aws::String m_arn;
160 bool m_arnHasBeenSet = false;
161
162 CmafPackage m_cmafPackage;
163 bool m_cmafPackageHasBeenSet = false;
164
165 Aws::String m_createdAt;
166 bool m_createdAtHasBeenSet = false;
167
168 DashPackage m_dashPackage;
169 bool m_dashPackageHasBeenSet = false;
170
171 HlsPackage m_hlsPackage;
172 bool m_hlsPackageHasBeenSet = false;
173
174 Aws::String m_id;
175 bool m_idHasBeenSet = false;
176
177 MssPackage m_mssPackage;
178 bool m_mssPackageHasBeenSet = false;
179
180 Aws::String m_packagingGroupId;
181 bool m_packagingGroupIdHasBeenSet = false;
182
184 bool m_tagsHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace MediaPackageVod
189} // namespace Aws
PackagingConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
PackagingConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PackagingConfiguration & WithId(const Aws::String &value)
PackagingConfiguration & WithPackagingGroupId(Aws::String &&value)
PackagingConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
PackagingConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PackagingConfiguration & WithCmafPackage(const CmafPackage &value)
PackagingConfiguration & WithArn(const char *value)
PackagingConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
PackagingConfiguration & WithId(Aws::String &&value)
PackagingConfiguration & WithPackagingGroupId(const Aws::String &value)
PackagingConfiguration & WithMssPackage(const MssPackage &value)
PackagingConfiguration & WithCreatedAt(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PackagingConfiguration & WithCmafPackage(CmafPackage &&value)
PackagingConfiguration & WithMssPackage(MssPackage &&value)
PackagingConfiguration & WithArn(Aws::String &&value)
PackagingConfiguration & AddTags(const char *key, Aws::String &&value)
PackagingConfiguration & AddTags(Aws::String &&key, const char *value)
PackagingConfiguration & WithId(const char *value)
PackagingConfiguration & WithCreatedAt(Aws::String &&value)
PackagingConfiguration & WithArn(const Aws::String &value)
AWS_MEDIAPACKAGEVOD_API PackagingConfiguration(Aws::Utils::Json::JsonView jsonValue)
PackagingConfiguration & AddTags(const char *key, const char *value)
PackagingConfiguration & WithCreatedAt(const Aws::String &value)
AWS_MEDIAPACKAGEVOD_API PackagingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PackagingConfiguration & WithDashPackage(const DashPackage &value)
PackagingConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
PackagingConfiguration & WithHlsPackage(HlsPackage &&value)
PackagingConfiguration & WithDashPackage(DashPackage &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PackagingConfiguration & WithPackagingGroupId(const char *value)
PackagingConfiguration & WithHlsPackage(const HlsPackage &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