AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreatePackagingConfigurationRequest.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/MediaPackageVodRequest.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/core/utils/memory/stl/AWSString.h>
13#include <aws/mediapackage-vod/model/MssPackage.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19namespace MediaPackageVod
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_MEDIAPACKAGEVOD_API CreatePackagingConfigurationRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreatePackagingConfiguration"; }
40
41 AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override;
42
43
45
46 inline const CmafPackage& GetCmafPackage() const { return m_cmafPackage; }
47 inline bool CmafPackageHasBeenSet() const { return m_cmafPackageHasBeenSet; }
48 template<typename CmafPackageT = CmafPackage>
49 void SetCmafPackage(CmafPackageT&& value) { m_cmafPackageHasBeenSet = true; m_cmafPackage = std::forward<CmafPackageT>(value); }
50 template<typename CmafPackageT = CmafPackage>
51 CreatePackagingConfigurationRequest& WithCmafPackage(CmafPackageT&& value) { SetCmafPackage(std::forward<CmafPackageT>(value)); return *this;}
53
55
56 inline const DashPackage& GetDashPackage() const { return m_dashPackage; }
57 inline bool DashPackageHasBeenSet() const { return m_dashPackageHasBeenSet; }
58 template<typename DashPackageT = DashPackage>
59 void SetDashPackage(DashPackageT&& value) { m_dashPackageHasBeenSet = true; m_dashPackage = std::forward<DashPackageT>(value); }
60 template<typename DashPackageT = DashPackage>
61 CreatePackagingConfigurationRequest& WithDashPackage(DashPackageT&& value) { SetDashPackage(std::forward<DashPackageT>(value)); return *this;}
63
65
66 inline const HlsPackage& GetHlsPackage() const { return m_hlsPackage; }
67 inline bool HlsPackageHasBeenSet() const { return m_hlsPackageHasBeenSet; }
68 template<typename HlsPackageT = HlsPackage>
69 void SetHlsPackage(HlsPackageT&& value) { m_hlsPackageHasBeenSet = true; m_hlsPackage = std::forward<HlsPackageT>(value); }
70 template<typename HlsPackageT = HlsPackage>
71 CreatePackagingConfigurationRequest& WithHlsPackage(HlsPackageT&& value) { SetHlsPackage(std::forward<HlsPackageT>(value)); return *this;}
73
75
78 inline const Aws::String& GetId() const { return m_id; }
79 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
80 template<typename IdT = Aws::String>
81 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
82 template<typename IdT = Aws::String>
83 CreatePackagingConfigurationRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
85
87
88 inline const MssPackage& GetMssPackage() const { return m_mssPackage; }
89 inline bool MssPackageHasBeenSet() const { return m_mssPackageHasBeenSet; }
90 template<typename MssPackageT = MssPackage>
91 void SetMssPackage(MssPackageT&& value) { m_mssPackageHasBeenSet = true; m_mssPackage = std::forward<MssPackageT>(value); }
92 template<typename MssPackageT = MssPackage>
93 CreatePackagingConfigurationRequest& WithMssPackage(MssPackageT&& value) { SetMssPackage(std::forward<MssPackageT>(value)); return *this;}
95
97
100 inline const Aws::String& GetPackagingGroupId() const { return m_packagingGroupId; }
101 inline bool PackagingGroupIdHasBeenSet() const { return m_packagingGroupIdHasBeenSet; }
102 template<typename PackagingGroupIdT = Aws::String>
103 void SetPackagingGroupId(PackagingGroupIdT&& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = std::forward<PackagingGroupIdT>(value); }
104 template<typename PackagingGroupIdT = Aws::String>
105 CreatePackagingConfigurationRequest& WithPackagingGroupId(PackagingGroupIdT&& value) { SetPackagingGroupId(std::forward<PackagingGroupIdT>(value)); return *this;}
107
109
110 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
111 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
112 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
114 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 CreatePackagingConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
116 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
117 CreatePackagingConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
118 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
119 }
121 private:
122
123 CmafPackage m_cmafPackage;
124 bool m_cmafPackageHasBeenSet = false;
125
126 DashPackage m_dashPackage;
127 bool m_dashPackageHasBeenSet = false;
128
129 HlsPackage m_hlsPackage;
130 bool m_hlsPackageHasBeenSet = false;
131
132 Aws::String m_id;
133 bool m_idHasBeenSet = false;
134
135 MssPackage m_mssPackage;
136 bool m_mssPackageHasBeenSet = false;
137
138 Aws::String m_packagingGroupId;
139 bool m_packagingGroupIdHasBeenSet = false;
140
142 bool m_tagsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace MediaPackageVod
147} // namespace Aws
CreatePackagingConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePackagingConfigurationRequest & WithPackagingGroupId(PackagingGroupIdT &&value)
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
AWS_MEDIAPACKAGEVOD_API CreatePackagingConfigurationRequest()=default
CreatePackagingConfigurationRequest & WithCmafPackage(CmafPackageT &&value)
CreatePackagingConfigurationRequest & WithHlsPackage(HlsPackageT &&value)
CreatePackagingConfigurationRequest & WithMssPackage(MssPackageT &&value)
CreatePackagingConfigurationRequest & 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