AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdatePackagingGroupResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MediaPackageVod
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult() = default;
36
37
39
42 inline int GetApproximateAssetCount() const { return m_approximateAssetCount; }
43 inline void SetApproximateAssetCount(int value) { m_approximateAssetCountHasBeenSet = true; m_approximateAssetCount = value; }
46
48
51 inline const Aws::String& GetArn() const { return m_arn; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 UpdatePackagingGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57
59
60 inline const Authorization& GetAuthorization() const { return m_authorization; }
61 template<typename AuthorizationT = Authorization>
62 void SetAuthorization(AuthorizationT&& value) { m_authorizationHasBeenSet = true; m_authorization = std::forward<AuthorizationT>(value); }
63 template<typename AuthorizationT = Authorization>
64 UpdatePackagingGroupResult& WithAuthorization(AuthorizationT&& value) { SetAuthorization(std::forward<AuthorizationT>(value)); return *this;}
66
68
71 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
72 template<typename CreatedAtT = Aws::String>
73 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
74 template<typename CreatedAtT = Aws::String>
75 UpdatePackagingGroupResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDomainName() const { return m_domainName; }
83 template<typename DomainNameT = Aws::String>
84 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
85 template<typename DomainNameT = Aws::String>
86 UpdatePackagingGroupResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
88
90
91 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
92 template<typename EgressAccessLogsT = EgressAccessLogs>
93 void SetEgressAccessLogs(EgressAccessLogsT&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::forward<EgressAccessLogsT>(value); }
94 template<typename EgressAccessLogsT = EgressAccessLogs>
95 UpdatePackagingGroupResult& WithEgressAccessLogs(EgressAccessLogsT&& value) { SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value)); return *this;}
97
99
102 inline const Aws::String& GetId() const { return m_id; }
103 template<typename IdT = Aws::String>
104 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
105 template<typename IdT = Aws::String>
106 UpdatePackagingGroupResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
108
110
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
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 UpdatePackagingGroupResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
116 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
117 UpdatePackagingGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
118 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
119 }
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template<typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
127 template<typename RequestIdT = Aws::String>
128 UpdatePackagingGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
130 private:
131
132 int m_approximateAssetCount{0};
133 bool m_approximateAssetCountHasBeenSet = false;
134
135 Aws::String m_arn;
136 bool m_arnHasBeenSet = false;
137
138 Authorization m_authorization;
139 bool m_authorizationHasBeenSet = false;
140
141 Aws::String m_createdAt;
142 bool m_createdAtHasBeenSet = false;
143
144 Aws::String m_domainName;
145 bool m_domainNameHasBeenSet = false;
146
147 EgressAccessLogs m_egressAccessLogs;
148 bool m_egressAccessLogsHasBeenSet = false;
149
150 Aws::String m_id;
151 bool m_idHasBeenSet = false;
152
154 bool m_tagsHasBeenSet = false;
155
156 Aws::String m_requestId;
157 bool m_requestIdHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace MediaPackageVod
162} // namespace Aws
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePackagingGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdatePackagingGroupResult & WithApproximateAssetCount(int value)
UpdatePackagingGroupResult & WithCreatedAt(CreatedAtT &&value)
UpdatePackagingGroupResult & WithEgressAccessLogs(EgressAccessLogsT &&value)
UpdatePackagingGroupResult & WithDomainName(DomainNameT &&value)
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePackagingGroupResult & WithRequestId(RequestIdT &&value)
UpdatePackagingGroupResult & WithAuthorization(AuthorizationT &&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