AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PackagingGroup.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/Authorization.h>
10#include <aws/mediapackage-vod/model/EgressAccessLogs.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaPackageVod
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MEDIAPACKAGEVOD_API PackagingGroup() = default;
38 AWS_MEDIAPACKAGEVOD_API PackagingGroup(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEVOD_API PackagingGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetApproximateAssetCount() const { return m_approximateAssetCount; }
48 inline bool ApproximateAssetCountHasBeenSet() const { return m_approximateAssetCountHasBeenSet; }
49 inline void SetApproximateAssetCount(int value) { m_approximateAssetCountHasBeenSet = true; m_approximateAssetCount = value; }
50 inline PackagingGroup& WithApproximateAssetCount(int value) { SetApproximateAssetCount(value); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 PackagingGroup& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
67 inline const Authorization& GetAuthorization() const { return m_authorization; }
68 inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
69 template<typename AuthorizationT = Authorization>
70 void SetAuthorization(AuthorizationT&& value) { m_authorizationHasBeenSet = true; m_authorization = std::forward<AuthorizationT>(value); }
71 template<typename AuthorizationT = Authorization>
72 PackagingGroup& WithAuthorization(AuthorizationT&& value) { SetAuthorization(std::forward<AuthorizationT>(value)); return *this;}
74
76
79 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
80 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
81 template<typename CreatedAtT = Aws::String>
82 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
83 template<typename CreatedAtT = Aws::String>
84 PackagingGroup& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
86
88
91 inline const Aws::String& GetDomainName() const { return m_domainName; }
92 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
93 template<typename DomainNameT = Aws::String>
94 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
95 template<typename DomainNameT = Aws::String>
96 PackagingGroup& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
98
100
101 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
102 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
103 template<typename EgressAccessLogsT = EgressAccessLogs>
104 void SetEgressAccessLogs(EgressAccessLogsT&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::forward<EgressAccessLogsT>(value); }
105 template<typename EgressAccessLogsT = EgressAccessLogs>
106 PackagingGroup& WithEgressAccessLogs(EgressAccessLogsT&& value) { SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value)); return *this;}
108
110
113 inline const Aws::String& GetId() const { return m_id; }
114 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
115 template<typename IdT = Aws::String>
116 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
117 template<typename IdT = Aws::String>
118 PackagingGroup& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
120
122
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
125 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 PackagingGroup& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
129 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
130 PackagingGroup& AddTags(TagsKeyT&& key, TagsValueT&& value) {
131 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
132 }
134 private:
135
136 int m_approximateAssetCount{0};
137 bool m_approximateAssetCountHasBeenSet = false;
138
139 Aws::String m_arn;
140 bool m_arnHasBeenSet = false;
141
142 Authorization m_authorization;
143 bool m_authorizationHasBeenSet = false;
144
145 Aws::String m_createdAt;
146 bool m_createdAtHasBeenSet = false;
147
148 Aws::String m_domainName;
149 bool m_domainNameHasBeenSet = false;
150
151 EgressAccessLogs m_egressAccessLogs;
152 bool m_egressAccessLogsHasBeenSet = false;
153
154 Aws::String m_id;
155 bool m_idHasBeenSet = false;
156
158 bool m_tagsHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace MediaPackageVod
163} // 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