AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Artwork.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/Encryption.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 ElasticTranscoder
23{
24namespace Model
25{
26
38 class Artwork
39 {
40 public:
41 AWS_ELASTICTRANSCODER_API Artwork() = default;
42 AWS_ELASTICTRANSCODER_API Artwork(Aws::Utils::Json::JsonView jsonValue);
43 AWS_ELASTICTRANSCODER_API Artwork& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
56 inline const Aws::String& GetInputKey() const { return m_inputKey; }
57 inline bool InputKeyHasBeenSet() const { return m_inputKeyHasBeenSet; }
58 template<typename InputKeyT = Aws::String>
59 void SetInputKey(InputKeyT&& value) { m_inputKeyHasBeenSet = true; m_inputKey = std::forward<InputKeyT>(value); }
60 template<typename InputKeyT = Aws::String>
61 Artwork& WithInputKey(InputKeyT&& value) { SetInputKey(std::forward<InputKeyT>(value)); return *this;}
63
65
71 inline const Aws::String& GetMaxWidth() const { return m_maxWidth; }
72 inline bool MaxWidthHasBeenSet() const { return m_maxWidthHasBeenSet; }
73 template<typename MaxWidthT = Aws::String>
74 void SetMaxWidth(MaxWidthT&& value) { m_maxWidthHasBeenSet = true; m_maxWidth = std::forward<MaxWidthT>(value); }
75 template<typename MaxWidthT = Aws::String>
76 Artwork& WithMaxWidth(MaxWidthT&& value) { SetMaxWidth(std::forward<MaxWidthT>(value)); return *this;}
78
80
86 inline const Aws::String& GetMaxHeight() const { return m_maxHeight; }
87 inline bool MaxHeightHasBeenSet() const { return m_maxHeightHasBeenSet; }
88 template<typename MaxHeightT = Aws::String>
89 void SetMaxHeight(MaxHeightT&& value) { m_maxHeightHasBeenSet = true; m_maxHeight = std::forward<MaxHeightT>(value); }
90 template<typename MaxHeightT = Aws::String>
91 Artwork& WithMaxHeight(MaxHeightT&& value) { SetMaxHeight(std::forward<MaxHeightT>(value)); return *this;}
93
95
122 inline const Aws::String& GetSizingPolicy() const { return m_sizingPolicy; }
123 inline bool SizingPolicyHasBeenSet() const { return m_sizingPolicyHasBeenSet; }
124 template<typename SizingPolicyT = Aws::String>
125 void SetSizingPolicy(SizingPolicyT&& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = std::forward<SizingPolicyT>(value); }
126 template<typename SizingPolicyT = Aws::String>
127 Artwork& WithSizingPolicy(SizingPolicyT&& value) { SetSizingPolicy(std::forward<SizingPolicyT>(value)); return *this;}
129
131
138 inline const Aws::String& GetPaddingPolicy() const { return m_paddingPolicy; }
139 inline bool PaddingPolicyHasBeenSet() const { return m_paddingPolicyHasBeenSet; }
140 template<typename PaddingPolicyT = Aws::String>
141 void SetPaddingPolicy(PaddingPolicyT&& value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy = std::forward<PaddingPolicyT>(value); }
142 template<typename PaddingPolicyT = Aws::String>
143 Artwork& WithPaddingPolicy(PaddingPolicyT&& value) { SetPaddingPolicy(std::forward<PaddingPolicyT>(value)); return *this;}
145
147
151 inline const Aws::String& GetAlbumArtFormat() const { return m_albumArtFormat; }
152 inline bool AlbumArtFormatHasBeenSet() const { return m_albumArtFormatHasBeenSet; }
153 template<typename AlbumArtFormatT = Aws::String>
154 void SetAlbumArtFormat(AlbumArtFormatT&& value) { m_albumArtFormatHasBeenSet = true; m_albumArtFormat = std::forward<AlbumArtFormatT>(value); }
155 template<typename AlbumArtFormatT = Aws::String>
156 Artwork& WithAlbumArtFormat(AlbumArtFormatT&& value) { SetAlbumArtFormat(std::forward<AlbumArtFormatT>(value)); return *this;}
158
160
164 inline const Encryption& GetEncryption() const { return m_encryption; }
165 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
166 template<typename EncryptionT = Encryption>
167 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
168 template<typename EncryptionT = Encryption>
169 Artwork& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
171 private:
172
173 Aws::String m_inputKey;
174 bool m_inputKeyHasBeenSet = false;
175
176 Aws::String m_maxWidth;
177 bool m_maxWidthHasBeenSet = false;
178
179 Aws::String m_maxHeight;
180 bool m_maxHeightHasBeenSet = false;
181
182 Aws::String m_sizingPolicy;
183 bool m_sizingPolicyHasBeenSet = false;
184
185 Aws::String m_paddingPolicy;
186 bool m_paddingPolicyHasBeenSet = false;
187
188 Aws::String m_albumArtFormat;
189 bool m_albumArtFormatHasBeenSet = false;
190
191 Encryption m_encryption;
192 bool m_encryptionHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace ElasticTranscoder
197} // namespace Aws
void SetSizingPolicy(SizingPolicyT &&value)
Definition Artwork.h:125
void SetPaddingPolicy(PaddingPolicyT &&value)
Definition Artwork.h:141
const Aws::String & GetSizingPolicy() const
Definition Artwork.h:122
const Aws::String & GetAlbumArtFormat() const
Definition Artwork.h:151
void SetInputKey(InputKeyT &&value)
Definition Artwork.h:59
Artwork & WithMaxWidth(MaxWidthT &&value)
Definition Artwork.h:76
const Aws::String & GetPaddingPolicy() const
Definition Artwork.h:138
Artwork & WithEncryption(EncryptionT &&value)
Definition Artwork.h:169
Artwork & WithSizingPolicy(SizingPolicyT &&value)
Definition Artwork.h:127
void SetMaxHeight(MaxHeightT &&value)
Definition Artwork.h:89
const Aws::String & GetMaxHeight() const
Definition Artwork.h:86
const Aws::String & GetInputKey() const
Definition Artwork.h:56
void SetEncryption(EncryptionT &&value)
Definition Artwork.h:167
Artwork & WithInputKey(InputKeyT &&value)
Definition Artwork.h:61
Artwork & WithPaddingPolicy(PaddingPolicyT &&value)
Definition Artwork.h:143
void SetMaxWidth(MaxWidthT &&value)
Definition Artwork.h:74
void SetAlbumArtFormat(AlbumArtFormatT &&value)
Definition Artwork.h:154
AWS_ELASTICTRANSCODER_API Artwork()=default
AWS_ELASTICTRANSCODER_API Artwork & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Artwork & WithMaxHeight(MaxHeightT &&value)
Definition Artwork.h:91
const Encryption & GetEncryption() const
Definition Artwork.h:164
const Aws::String & GetMaxWidth() const
Definition Artwork.h:71
Artwork & WithAlbumArtFormat(AlbumArtFormatT &&value)
Definition Artwork.h:156
AWS_ELASTICTRANSCODER_API Artwork(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue