AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCmafPackage(const CmafPackage& value) { m_cmafPackageHasBeenSet = true; m_cmafPackage = value; }
49 inline void SetCmafPackage(CmafPackage&& value) { m_cmafPackageHasBeenSet = true; m_cmafPackage = std::move(value); }
51 inline CreatePackagingConfigurationRequest& WithCmafPackage(CmafPackage&& value) { SetCmafPackage(std::move(value)); return *this;}
53
55
56 inline const DashPackage& GetDashPackage() const{ return m_dashPackage; }
57 inline bool DashPackageHasBeenSet() const { return m_dashPackageHasBeenSet; }
58 inline void SetDashPackage(const DashPackage& value) { m_dashPackageHasBeenSet = true; m_dashPackage = value; }
59 inline void SetDashPackage(DashPackage&& value) { m_dashPackageHasBeenSet = true; m_dashPackage = std::move(value); }
61 inline CreatePackagingConfigurationRequest& WithDashPackage(DashPackage&& value) { SetDashPackage(std::move(value)); return *this;}
63
65
66 inline const HlsPackage& GetHlsPackage() const{ return m_hlsPackage; }
67 inline bool HlsPackageHasBeenSet() const { return m_hlsPackageHasBeenSet; }
68 inline void SetHlsPackage(const HlsPackage& value) { m_hlsPackageHasBeenSet = true; m_hlsPackage = value; }
69 inline void SetHlsPackage(HlsPackage&& value) { m_hlsPackageHasBeenSet = true; m_hlsPackage = std::move(value); }
70 inline CreatePackagingConfigurationRequest& WithHlsPackage(const HlsPackage& value) { SetHlsPackage(value); return *this;}
71 inline CreatePackagingConfigurationRequest& WithHlsPackage(HlsPackage&& value) { SetHlsPackage(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetId() const{ return m_id; }
79 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
80 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
81 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
82 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
83 inline CreatePackagingConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
84 inline CreatePackagingConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
85 inline CreatePackagingConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
87
89
90 inline const MssPackage& GetMssPackage() const{ return m_mssPackage; }
91 inline bool MssPackageHasBeenSet() const { return m_mssPackageHasBeenSet; }
92 inline void SetMssPackage(const MssPackage& value) { m_mssPackageHasBeenSet = true; m_mssPackage = value; }
93 inline void SetMssPackage(MssPackage&& value) { m_mssPackageHasBeenSet = true; m_mssPackage = std::move(value); }
94 inline CreatePackagingConfigurationRequest& WithMssPackage(const MssPackage& value) { SetMssPackage(value); return *this;}
95 inline CreatePackagingConfigurationRequest& WithMssPackage(MssPackage&& value) { SetMssPackage(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetPackagingGroupId() const{ return m_packagingGroupId; }
103 inline bool PackagingGroupIdHasBeenSet() const { return m_packagingGroupIdHasBeenSet; }
104 inline void SetPackagingGroupId(const Aws::String& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = value; }
105 inline void SetPackagingGroupId(Aws::String&& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = std::move(value); }
106 inline void SetPackagingGroupId(const char* value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId.assign(value); }
109 inline CreatePackagingConfigurationRequest& WithPackagingGroupId(const char* value) { SetPackagingGroupId(value); return *this;}
111
113
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline CreatePackagingConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline CreatePackagingConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline CreatePackagingConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline CreatePackagingConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline CreatePackagingConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline CreatePackagingConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline CreatePackagingConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128 private:
129
130 CmafPackage m_cmafPackage;
131 bool m_cmafPackageHasBeenSet = false;
132
133 DashPackage m_dashPackage;
134 bool m_dashPackageHasBeenSet = false;
135
136 HlsPackage m_hlsPackage;
137 bool m_hlsPackageHasBeenSet = false;
138
139 Aws::String m_id;
140 bool m_idHasBeenSet = false;
141
142 MssPackage m_mssPackage;
143 bool m_mssPackageHasBeenSet = false;
144
145 Aws::String m_packagingGroupId;
146 bool m_packagingGroupIdHasBeenSet = false;
147
149 bool m_tagsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace MediaPackageVod
154} // namespace Aws
CreatePackagingConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePackagingConfigurationRequest & WithPackagingGroupId(const char *value)
CreatePackagingConfigurationRequest & WithDashPackage(DashPackage &&value)
CreatePackagingConfigurationRequest & WithCmafPackage(CmafPackage &&value)
CreatePackagingConfigurationRequest & WithMssPackage(MssPackage &&value)
CreatePackagingConfigurationRequest & WithId(Aws::String &&value)
CreatePackagingConfigurationRequest & WithPackagingGroupId(const Aws::String &value)
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
CreatePackagingConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreatePackagingConfigurationRequest & WithPackagingGroupId(Aws::String &&value)
CreatePackagingConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreatePackagingConfigurationRequest & AddTags(Aws::String &&key, const char *value)
CreatePackagingConfigurationRequest & WithHlsPackage(HlsPackage &&value)
CreatePackagingConfigurationRequest & WithHlsPackage(const HlsPackage &value)
CreatePackagingConfigurationRequest & WithMssPackage(const MssPackage &value)
CreatePackagingConfigurationRequest & WithId(const Aws::String &value)
CreatePackagingConfigurationRequest & WithCmafPackage(const CmafPackage &value)
CreatePackagingConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePackagingConfigurationRequest & WithDashPackage(const DashPackage &value)
CreatePackagingConfigurationRequest & AddTags(const char *key, const char *value)
CreatePackagingConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePackagingConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreatePackagingConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &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