AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline int GetApproximateAssetCount() const{ return m_approximateAssetCount; }
43 inline void SetApproximateAssetCount(int value) { m_approximateAssetCount = value; }
46
48
51 inline const Aws::String& GetArn() const{ return m_arn; }
52 inline void SetArn(const Aws::String& value) { m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arn.assign(value); }
55 inline UpdatePackagingGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline UpdatePackagingGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline UpdatePackagingGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
59
61
62 inline const Authorization& GetAuthorization() const{ return m_authorization; }
63 inline void SetAuthorization(const Authorization& value) { m_authorization = value; }
64 inline void SetAuthorization(Authorization&& value) { m_authorization = std::move(value); }
65 inline UpdatePackagingGroupResult& WithAuthorization(const Authorization& value) { SetAuthorization(value); return *this;}
66 inline UpdatePackagingGroupResult& WithAuthorization(Authorization&& value) { SetAuthorization(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
74 inline void SetCreatedAt(const Aws::String& value) { m_createdAt = value; }
75 inline void SetCreatedAt(Aws::String&& value) { m_createdAt = std::move(value); }
76 inline void SetCreatedAt(const char* value) { m_createdAt.assign(value); }
77 inline UpdatePackagingGroupResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
78 inline UpdatePackagingGroupResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
79 inline UpdatePackagingGroupResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
81
83
86 inline const Aws::String& GetDomainName() const{ return m_domainName; }
87 inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
88 inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
89 inline void SetDomainName(const char* value) { m_domainName.assign(value); }
90 inline UpdatePackagingGroupResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
91 inline UpdatePackagingGroupResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
92 inline UpdatePackagingGroupResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
94
96
97 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
98 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogs = value; }
99 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogs = std::move(value); }
101 inline UpdatePackagingGroupResult& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetId() const{ return m_id; }
109 inline void SetId(const Aws::String& value) { m_id = value; }
110 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
111 inline void SetId(const char* value) { m_id.assign(value); }
112 inline UpdatePackagingGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
113 inline UpdatePackagingGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
114 inline UpdatePackagingGroupResult& WithId(const char* value) { SetId(value); return *this;}
116
118
119 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
120 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
121 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
123 inline UpdatePackagingGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
124 inline UpdatePackagingGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
125 inline UpdatePackagingGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
126 inline UpdatePackagingGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
127 inline UpdatePackagingGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
128 inline UpdatePackagingGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
129 inline UpdatePackagingGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
130 inline UpdatePackagingGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
132
134
135 inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
137 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
138 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
139 inline UpdatePackagingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 inline UpdatePackagingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
141 inline UpdatePackagingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 private:
144
145 int m_approximateAssetCount;
146
147 Aws::String m_arn;
148
149 Authorization m_authorization;
150
151 Aws::String m_createdAt;
152
153 Aws::String m_domainName;
154
155 EgressAccessLogs m_egressAccessLogs;
156
157 Aws::String m_id;
158
160
161 Aws::String m_requestId;
162 };
163
164} // namespace Model
165} // namespace MediaPackageVod
166} // namespace Aws
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdatePackagingGroupResult & WithDomainName(const Aws::String &value)
UpdatePackagingGroupResult & AddTags(const char *key, const char *value)
UpdatePackagingGroupResult & WithAuthorization(Authorization &&value)
UpdatePackagingGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdatePackagingGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdatePackagingGroupResult & WithEgressAccessLogs(const EgressAccessLogs &value)
UpdatePackagingGroupResult & WithCreatedAt(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdatePackagingGroupResult & WithId(const Aws::String &value)
UpdatePackagingGroupResult & AddTags(Aws::String &&key, const char *value)
UpdatePackagingGroupResult & WithId(const char *value)
UpdatePackagingGroupResult & WithArn(const char *value)
UpdatePackagingGroupResult & WithAuthorization(const Authorization &value)
UpdatePackagingGroupResult & WithRequestId(Aws::String &&value)
UpdatePackagingGroupResult & WithDomainName(const char *value)
UpdatePackagingGroupResult & WithApproximateAssetCount(int value)
UpdatePackagingGroupResult & WithDomainName(Aws::String &&value)
UpdatePackagingGroupResult & WithId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdatePackagingGroupResult & WithCreatedAt(const char *value)
UpdatePackagingGroupResult & WithCreatedAt(const Aws::String &value)
UpdatePackagingGroupResult & WithArn(Aws::String &&value)
UpdatePackagingGroupResult & AddTags(const char *key, Aws::String &&value)
UpdatePackagingGroupResult & WithEgressAccessLogs(EgressAccessLogs &&value)
UpdatePackagingGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdatePackagingGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdatePackagingGroupResult & WithRequestId(const Aws::String &value)
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePackagingGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdatePackagingGroupResult & WithRequestId(const char *value)
UpdatePackagingGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdatePackagingGroupResult & WithArn(const 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
Aws::Utils::Json::JsonValue JsonValue