AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
PackagingGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
10#include <aws/mediapackage-vod/model/Authorization.h>
11#include <aws/mediapackage-vod/model/EgressAccessLogs.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaPackageVod {
23namespace Model {
24
31 public:
32 AWS_MEDIAPACKAGEVOD_API PackagingGroup() = default;
33 AWS_MEDIAPACKAGEVOD_API PackagingGroup(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGEVOD_API PackagingGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline int GetApproximateAssetCount() const { return m_approximateAssetCount; }
42 inline bool ApproximateAssetCountHasBeenSet() const { return m_approximateAssetCountHasBeenSet; }
43 inline void SetApproximateAssetCount(int value) {
44 m_approximateAssetCountHasBeenSet = true;
45 m_approximateAssetCount = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
65 PackagingGroup& WithArn(ArnT&& value) {
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
73 inline const Authorization& GetAuthorization() const { return m_authorization; }
74 inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
75 template <typename AuthorizationT = Authorization>
76 void SetAuthorization(AuthorizationT&& value) {
77 m_authorizationHasBeenSet = true;
78 m_authorization = std::forward<AuthorizationT>(value);
79 }
80 template <typename AuthorizationT = Authorization>
81 PackagingGroup& WithAuthorization(AuthorizationT&& value) {
82 SetAuthorization(std::forward<AuthorizationT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
92 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
93 template <typename CreatedAtT = Aws::String>
94 void SetCreatedAt(CreatedAtT&& value) {
95 m_createdAtHasBeenSet = true;
96 m_createdAt = std::forward<CreatedAtT>(value);
97 }
98 template <typename CreatedAtT = Aws::String>
99 PackagingGroup& WithCreatedAt(CreatedAtT&& value) {
100 SetCreatedAt(std::forward<CreatedAtT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDomainName() const { return m_domainName; }
110 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
111 template <typename DomainNameT = Aws::String>
112 void SetDomainName(DomainNameT&& value) {
113 m_domainNameHasBeenSet = true;
114 m_domainName = std::forward<DomainNameT>(value);
115 }
116 template <typename DomainNameT = Aws::String>
117 PackagingGroup& WithDomainName(DomainNameT&& value) {
118 SetDomainName(std::forward<DomainNameT>(value));
119 return *this;
120 }
122
124
125 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
126 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
127 template <typename EgressAccessLogsT = EgressAccessLogs>
128 void SetEgressAccessLogs(EgressAccessLogsT&& value) {
129 m_egressAccessLogsHasBeenSet = true;
130 m_egressAccessLogs = std::forward<EgressAccessLogsT>(value);
131 }
132 template <typename EgressAccessLogsT = EgressAccessLogs>
133 PackagingGroup& WithEgressAccessLogs(EgressAccessLogsT&& value) {
134 SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::String& GetId() const { return m_id; }
144 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
145 template <typename IdT = Aws::String>
146 void SetId(IdT&& value) {
147 m_idHasBeenSet = true;
148 m_id = std::forward<IdT>(value);
149 }
150 template <typename IdT = Aws::String>
151 PackagingGroup& WithId(IdT&& value) {
152 SetId(std::forward<IdT>(value));
153 return *this;
154 }
156
158
159 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
160 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
161 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 void SetTags(TagsT&& value) {
163 m_tagsHasBeenSet = true;
164 m_tags = std::forward<TagsT>(value);
165 }
166 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 PackagingGroup& WithTags(TagsT&& value) {
168 SetTags(std::forward<TagsT>(value));
169 return *this;
170 }
171 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
172 PackagingGroup& AddTags(TagsKeyT&& key, TagsValueT&& value) {
173 m_tagsHasBeenSet = true;
174 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
175 return *this;
176 }
178 private:
179 int m_approximateAssetCount{0};
180
181 Aws::String m_arn;
182
183 Authorization m_authorization;
184
185 Aws::String m_createdAt;
186
187 Aws::String m_domainName;
188
189 EgressAccessLogs m_egressAccessLogs;
190
191 Aws::String m_id;
192
194 bool m_approximateAssetCountHasBeenSet = false;
195 bool m_arnHasBeenSet = false;
196 bool m_authorizationHasBeenSet = false;
197 bool m_createdAtHasBeenSet = false;
198 bool m_domainNameHasBeenSet = false;
199 bool m_egressAccessLogsHasBeenSet = false;
200 bool m_idHasBeenSet = false;
201 bool m_tagsHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace MediaPackageVod
206} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Authorization & GetAuthorization() const
AWS_MEDIAPACKAGEVOD_API PackagingGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
PackagingGroup & AddTags(TagsKeyT &&key, TagsValueT &&value)
PackagingGroup & WithDomainName(DomainNameT &&value)
const EgressAccessLogs & GetEgressAccessLogs() const
PackagingGroup & WithEgressAccessLogs(EgressAccessLogsT &&value)
void SetEgressAccessLogs(EgressAccessLogsT &&value)
PackagingGroup & WithApproximateAssetCount(int value)
const Aws::String & GetCreatedAt() const
PackagingGroup & WithTags(TagsT &&value)
AWS_MEDIAPACKAGEVOD_API PackagingGroup()=default
AWS_MEDIAPACKAGEVOD_API PackagingGroup(Aws::Utils::Json::JsonView jsonValue)
PackagingGroup & WithArn(ArnT &&value)
PackagingGroup & WithAuthorization(AuthorizationT &&value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthorization(AuthorizationT &&value)
PackagingGroup & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDomainName() const
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