AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssetResult.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/mediapackage-vod/model/EgressEndpoint.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 CreateAssetResult();
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline CreateAssetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline CreateAssetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline CreateAssetResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
56 inline void SetCreatedAt(const Aws::String& value) { m_createdAt = value; }
57 inline void SetCreatedAt(Aws::String&& value) { m_createdAt = std::move(value); }
58 inline void SetCreatedAt(const char* value) { m_createdAt.assign(value); }
59 inline CreateAssetResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
60 inline CreateAssetResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
61 inline CreateAssetResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
63
65
68 inline const Aws::Vector<EgressEndpoint>& GetEgressEndpoints() const{ return m_egressEndpoints; }
69 inline void SetEgressEndpoints(const Aws::Vector<EgressEndpoint>& value) { m_egressEndpoints = value; }
70 inline void SetEgressEndpoints(Aws::Vector<EgressEndpoint>&& value) { m_egressEndpoints = std::move(value); }
72 inline CreateAssetResult& WithEgressEndpoints(Aws::Vector<EgressEndpoint>&& value) { SetEgressEndpoints(std::move(value)); return *this;}
73 inline CreateAssetResult& AddEgressEndpoints(const EgressEndpoint& value) { m_egressEndpoints.push_back(value); return *this; }
74 inline CreateAssetResult& AddEgressEndpoints(EgressEndpoint&& value) { m_egressEndpoints.push_back(std::move(value)); return *this; }
76
78
81 inline const Aws::String& GetId() const{ return m_id; }
82 inline void SetId(const Aws::String& value) { m_id = value; }
83 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
84 inline void SetId(const char* value) { m_id.assign(value); }
85 inline CreateAssetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
86 inline CreateAssetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
87 inline CreateAssetResult& WithId(const char* value) { SetId(value); return *this;}
89
91
94 inline const Aws::String& GetPackagingGroupId() const{ return m_packagingGroupId; }
95 inline void SetPackagingGroupId(const Aws::String& value) { m_packagingGroupId = value; }
96 inline void SetPackagingGroupId(Aws::String&& value) { m_packagingGroupId = std::move(value); }
97 inline void SetPackagingGroupId(const char* value) { m_packagingGroupId.assign(value); }
98 inline CreateAssetResult& WithPackagingGroupId(const Aws::String& value) { SetPackagingGroupId(value); return *this;}
99 inline CreateAssetResult& WithPackagingGroupId(Aws::String&& value) { SetPackagingGroupId(std::move(value)); return *this;}
100 inline CreateAssetResult& WithPackagingGroupId(const char* value) { SetPackagingGroupId(value); return *this;}
102
104
107 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
108 inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
109 inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
110 inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
111 inline CreateAssetResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
112 inline CreateAssetResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
113 inline CreateAssetResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
115
117
120 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
121 inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; }
122 inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); }
123 inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); }
124 inline CreateAssetResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
125 inline CreateAssetResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
126 inline CreateAssetResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
128
130
133 inline const Aws::String& GetSourceRoleArn() const{ return m_sourceRoleArn; }
134 inline void SetSourceRoleArn(const Aws::String& value) { m_sourceRoleArn = value; }
135 inline void SetSourceRoleArn(Aws::String&& value) { m_sourceRoleArn = std::move(value); }
136 inline void SetSourceRoleArn(const char* value) { m_sourceRoleArn.assign(value); }
137 inline CreateAssetResult& WithSourceRoleArn(const Aws::String& value) { SetSourceRoleArn(value); return *this;}
138 inline CreateAssetResult& WithSourceRoleArn(Aws::String&& value) { SetSourceRoleArn(std::move(value)); return *this;}
139 inline CreateAssetResult& WithSourceRoleArn(const char* value) { SetSourceRoleArn(value); return *this;}
141
143
144 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
145 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
146 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
147 inline CreateAssetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
148 inline CreateAssetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
149 inline CreateAssetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
150 inline CreateAssetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
151 inline CreateAssetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
152 inline CreateAssetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
153 inline CreateAssetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
154 inline CreateAssetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
155 inline CreateAssetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
157
159
160 inline const Aws::String& GetRequestId() const{ return m_requestId; }
161 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
162 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
163 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
164 inline CreateAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
165 inline CreateAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
166 inline CreateAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
168 private:
169
170 Aws::String m_arn;
171
172 Aws::String m_createdAt;
173
174 Aws::Vector<EgressEndpoint> m_egressEndpoints;
175
176 Aws::String m_id;
177
178 Aws::String m_packagingGroupId;
179
180 Aws::String m_resourceId;
181
182 Aws::String m_sourceArn;
183
184 Aws::String m_sourceRoleArn;
185
187
188 Aws::String m_requestId;
189 };
190
191} // namespace Model
192} // namespace MediaPackageVod
193} // namespace Aws
void SetSourceRoleArn(const Aws::String &value)
CreateAssetResult & WithSourceRoleArn(Aws::String &&value)
CreateAssetResult & AddTags(Aws::String &&key, const char *value)
CreateAssetResult & WithPackagingGroupId(Aws::String &&value)
CreateAssetResult & WithArn(const Aws::String &value)
CreateAssetResult & AddEgressEndpoints(EgressEndpoint &&value)
const Aws::Vector< EgressEndpoint > & GetEgressEndpoints() const
CreateAssetResult & WithId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAssetResult & WithRequestId(const char *value)
CreateAssetResult & WithSourceArn(Aws::String &&value)
CreateAssetResult & WithArn(Aws::String &&value)
CreateAssetResult & WithRequestId(Aws::String &&value)
CreateAssetResult & AddEgressEndpoints(const EgressEndpoint &value)
CreateAssetResult & WithPackagingGroupId(const Aws::String &value)
CreateAssetResult & WithArn(const char *value)
CreateAssetResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateAssetResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateAssetResult & WithRequestId(const Aws::String &value)
CreateAssetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAssetResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateAssetResult & WithCreatedAt(Aws::String &&value)
void SetEgressEndpoints(Aws::Vector< EgressEndpoint > &&value)
CreateAssetResult & WithResourceId(const Aws::String &value)
CreateAssetResult & WithEgressEndpoints(const Aws::Vector< EgressEndpoint > &value)
CreateAssetResult & WithId(const Aws::String &value)
CreateAssetResult & WithSourceRoleArn(const Aws::String &value)
CreateAssetResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssetResult & WithSourceRoleArn(const char *value)
CreateAssetResult & WithResourceId(Aws::String &&value)
CreateAssetResult & WithCreatedAt(const Aws::String &value)
AWS_MEDIAPACKAGEVOD_API CreateAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetResult & WithSourceArn(const Aws::String &value)
CreateAssetResult & AddTags(const char *key, const char *value)
CreateAssetResult & AddTags(const char *key, Aws::String &&value)
CreateAssetResult & WithPackagingGroupId(const char *value)
CreateAssetResult & WithEgressEndpoints(Aws::Vector< EgressEndpoint > &&value)
CreateAssetResult & WithCreatedAt(const char *value)
AWS_MEDIAPACKAGEVOD_API CreateAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetPackagingGroupId(const Aws::String &value)
CreateAssetResult & WithId(Aws::String &&value)
void SetEgressEndpoints(const Aws::Vector< EgressEndpoint > &value)
CreateAssetResult & WithResourceId(const char *value)
CreateAssetResult & WithSourceArn(const char *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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue