AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
60 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
62 inline PackagingGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline PackagingGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline PackagingGroup& WithArn(const char* value) { SetArn(value); return *this;}
66
68
69 inline const Authorization& GetAuthorization() const{ return m_authorization; }
70 inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
71 inline void SetAuthorization(const Authorization& value) { m_authorizationHasBeenSet = true; m_authorization = value; }
72 inline void SetAuthorization(Authorization&& value) { m_authorizationHasBeenSet = true; m_authorization = std::move(value); }
73 inline PackagingGroup& WithAuthorization(const Authorization& value) { SetAuthorization(value); return *this;}
74 inline PackagingGroup& WithAuthorization(Authorization&& value) { SetAuthorization(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
82 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
83 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
84 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
85 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
86 inline PackagingGroup& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
87 inline PackagingGroup& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
88 inline PackagingGroup& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
90
92
95 inline const Aws::String& GetDomainName() const{ return m_domainName; }
96 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
97 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
98 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
99 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
100 inline PackagingGroup& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
101 inline PackagingGroup& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
102 inline PackagingGroup& WithDomainName(const char* value) { SetDomainName(value); return *this;}
104
106
107 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
108 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
109 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = value; }
110 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::move(value); }
111 inline PackagingGroup& WithEgressAccessLogs(const EgressAccessLogs& value) { SetEgressAccessLogs(value); return *this;}
112 inline PackagingGroup& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
114
116
119 inline const Aws::String& GetId() const{ return m_id; }
120 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
121 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
122 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
123 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
124 inline PackagingGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
125 inline PackagingGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
126 inline PackagingGroup& WithId(const char* value) { SetId(value); return *this;}
128
130
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
134 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
135 inline PackagingGroup& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
136 inline PackagingGroup& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
137 inline PackagingGroup& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
138 inline PackagingGroup& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline PackagingGroup& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
140 inline PackagingGroup& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
141 inline PackagingGroup& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
142 inline PackagingGroup& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
143 inline PackagingGroup& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
145 private:
146
147 int m_approximateAssetCount;
148 bool m_approximateAssetCountHasBeenSet = false;
149
150 Aws::String m_arn;
151 bool m_arnHasBeenSet = false;
152
153 Authorization m_authorization;
154 bool m_authorizationHasBeenSet = false;
155
156 Aws::String m_createdAt;
157 bool m_createdAtHasBeenSet = false;
158
159 Aws::String m_domainName;
160 bool m_domainNameHasBeenSet = false;
161
162 EgressAccessLogs m_egressAccessLogs;
163 bool m_egressAccessLogsHasBeenSet = false;
164
165 Aws::String m_id;
166 bool m_idHasBeenSet = false;
167
169 bool m_tagsHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace MediaPackageVod
174} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAuthorization(const Authorization &value)
void SetCreatedAt(const Aws::String &value)
const Authorization & GetAuthorization() const
PackagingGroup & WithArn(const char *value)
void SetEgressAccessLogs(const EgressAccessLogs &value)
AWS_MEDIAPACKAGEVOD_API PackagingGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
PackagingGroup & WithAuthorization(Authorization &&value)
PackagingGroup & WithCreatedAt(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PackagingGroup & WithCreatedAt(const Aws::String &value)
PackagingGroup & WithId(const Aws::String &value)
const EgressAccessLogs & GetEgressAccessLogs() const
PackagingGroup & AddTags(const char *key, const char *value)
PackagingGroup & WithApproximateAssetCount(int value)
PackagingGroup & WithEgressAccessLogs(EgressAccessLogs &&value)
PackagingGroup & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetCreatedAt() const
void SetArn(const Aws::String &value)
PackagingGroup & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PackagingGroup & AddTags(const Aws::String &key, Aws::String &&value)
PackagingGroup & WithDomainName(const char *value)
PackagingGroup & WithId(const char *value)
void SetDomainName(const Aws::String &value)
PackagingGroup & WithEgressAccessLogs(const EgressAccessLogs &value)
AWS_MEDIAPACKAGEVOD_API PackagingGroup(Aws::Utils::Json::JsonView jsonValue)
PackagingGroup & WithDomainName(const Aws::String &value)
PackagingGroup & WithArn(const Aws::String &value)
PackagingGroup & WithDomainName(Aws::String &&value)
PackagingGroup & WithAuthorization(const Authorization &value)
PackagingGroup & AddTags(Aws::String &&key, const char *value)
PackagingGroup & AddTags(Aws::String &&key, Aws::String &&value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PackagingGroup & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MEDIAPACKAGEVOD_API PackagingGroup()
PackagingGroup & WithCreatedAt(const char *value)
PackagingGroup & AddTags(Aws::String &&key, const Aws::String &value)
void SetId(const Aws::String &value)
PackagingGroup & WithArn(Aws::String &&value)
PackagingGroup & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetDomainName() const
void SetEgressAccessLogs(EgressAccessLogs &&value)
PackagingGroup & WithId(Aws::String &&value)
void SetAuthorization(Authorization &&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