AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetShallow.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/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaPackageVod
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIAPACKAGEVOD_API AssetShallow();
36 AWS_MEDIAPACKAGEVOD_API AssetShallow(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEVOD_API AssetShallow& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline AssetShallow& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline AssetShallow& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline AssetShallow& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
62 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
63 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
64 inline AssetShallow& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
65 inline AssetShallow& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
66 inline AssetShallow& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
68
70
73 inline const Aws::String& GetId() const{ return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
76 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
77 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
78 inline AssetShallow& WithId(const Aws::String& value) { SetId(value); return *this;}
79 inline AssetShallow& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 inline AssetShallow& WithId(const char* value) { SetId(value); return *this;}
82
84
87 inline const Aws::String& GetPackagingGroupId() const{ return m_packagingGroupId; }
88 inline bool PackagingGroupIdHasBeenSet() const { return m_packagingGroupIdHasBeenSet; }
89 inline void SetPackagingGroupId(const Aws::String& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = value; }
90 inline void SetPackagingGroupId(Aws::String&& value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId = std::move(value); }
91 inline void SetPackagingGroupId(const char* value) { m_packagingGroupIdHasBeenSet = true; m_packagingGroupId.assign(value); }
92 inline AssetShallow& WithPackagingGroupId(const Aws::String& value) { SetPackagingGroupId(value); return *this;}
93 inline AssetShallow& WithPackagingGroupId(Aws::String&& value) { SetPackagingGroupId(std::move(value)); return *this;}
94 inline AssetShallow& WithPackagingGroupId(const char* value) { SetPackagingGroupId(value); return *this;}
96
98
101 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
102 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
103 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
104 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
105 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
106 inline AssetShallow& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
107 inline AssetShallow& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
108 inline AssetShallow& WithResourceId(const char* value) { SetResourceId(value); return *this;}
110
112
115 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
116 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
117 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
118 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
119 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
120 inline AssetShallow& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
121 inline AssetShallow& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
122 inline AssetShallow& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
124
126
129 inline const Aws::String& GetSourceRoleArn() const{ return m_sourceRoleArn; }
130 inline bool SourceRoleArnHasBeenSet() const { return m_sourceRoleArnHasBeenSet; }
131 inline void SetSourceRoleArn(const Aws::String& value) { m_sourceRoleArnHasBeenSet = true; m_sourceRoleArn = value; }
132 inline void SetSourceRoleArn(Aws::String&& value) { m_sourceRoleArnHasBeenSet = true; m_sourceRoleArn = std::move(value); }
133 inline void SetSourceRoleArn(const char* value) { m_sourceRoleArnHasBeenSet = true; m_sourceRoleArn.assign(value); }
134 inline AssetShallow& WithSourceRoleArn(const Aws::String& value) { SetSourceRoleArn(value); return *this;}
135 inline AssetShallow& WithSourceRoleArn(Aws::String&& value) { SetSourceRoleArn(std::move(value)); return *this;}
136 inline AssetShallow& WithSourceRoleArn(const char* value) { SetSourceRoleArn(value); return *this;}
138
140
141 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
142 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
143 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
144 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
145 inline AssetShallow& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
146 inline AssetShallow& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
147 inline AssetShallow& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
148 inline AssetShallow& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
149 inline AssetShallow& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline AssetShallow& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
151 inline AssetShallow& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline AssetShallow& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
153 inline AssetShallow& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
155 private:
156
157 Aws::String m_arn;
158 bool m_arnHasBeenSet = false;
159
160 Aws::String m_createdAt;
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::String m_id;
164 bool m_idHasBeenSet = false;
165
166 Aws::String m_packagingGroupId;
167 bool m_packagingGroupIdHasBeenSet = false;
168
169 Aws::String m_resourceId;
170 bool m_resourceIdHasBeenSet = false;
171
172 Aws::String m_sourceArn;
173 bool m_sourceArnHasBeenSet = false;
174
175 Aws::String m_sourceRoleArn;
176 bool m_sourceRoleArnHasBeenSet = false;
177
179 bool m_tagsHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace MediaPackageVod
184} // namespace Aws
AssetShallow & WithSourceRoleArn(const char *value)
AssetShallow & AddTags(const Aws::String &key, const Aws::String &value)
AssetShallow & WithSourceRoleArn(const Aws::String &value)
void SetArn(const Aws::String &value)
AssetShallow & WithCreatedAt(const Aws::String &value)
void SetPackagingGroupId(Aws::String &&value)
AssetShallow & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetCreatedAt() const
AssetShallow & WithResourceId(Aws::String &&value)
const Aws::String & GetResourceId() const
void SetPackagingGroupId(const Aws::String &value)
AssetShallow & WithArn(Aws::String &&value)
void SetCreatedAt(Aws::String &&value)
AssetShallow & AddTags(const Aws::String &key, Aws::String &&value)
AssetShallow & WithId(const char *value)
AssetShallow & WithId(const Aws::String &value)
AssetShallow & WithPackagingGroupId(const Aws::String &value)
AssetShallow & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreatedAt(const Aws::String &value)
AssetShallow & WithId(Aws::String &&value)
const Aws::String & GetSourceArn() const
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
AssetShallow & WithResourceId(const char *value)
AssetShallow & AddTags(const char *key, Aws::String &&value)
AssetShallow & WithSourceArn(Aws::String &&value)
AssetShallow & WithPackagingGroupId(const char *value)
AssetShallow & WithCreatedAt(Aws::String &&value)
const Aws::String & GetArn() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AssetShallow & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AssetShallow & WithArn(const char *value)
AssetShallow & AddTags(const char *key, const char *value)
void SetResourceId(Aws::String &&value)
const Aws::String & GetPackagingGroupId() const
AWS_MEDIAPACKAGEVOD_API AssetShallow(Aws::Utils::Json::JsonView jsonValue)
void SetSourceArn(Aws::String &&value)
AssetShallow & WithCreatedAt(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSourceRoleArn(const Aws::String &value)
AssetShallow & WithSourceArn(const Aws::String &value)
const Aws::String & GetSourceRoleArn() const
void SetSourceArn(const Aws::String &value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
AssetShallow & WithResourceId(const Aws::String &value)
AssetShallow & WithSourceArn(const char *value)
AWS_MEDIAPACKAGEVOD_API AssetShallow & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetShallow & AddTags(Aws::String &&key, const Aws::String &value)
void SetSourceRoleArn(Aws::String &&value)
AssetShallow & WithPackagingGroupId(Aws::String &&value)
void SetPackagingGroupId(const char *value)
AssetShallow & WithSourceRoleArn(Aws::String &&value)
AssetShallow & WithArn(const Aws::String &value)
void SetResourceId(const Aws::String &value)
AssetShallow & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MEDIAPACKAGEVOD_API AssetShallow()
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