AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobAlbumArt.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elastictranscoder/model/Artwork.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ElasticTranscoder
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICTRANSCODER_API JobAlbumArt();
38 AWS_ELASTICTRANSCODER_API JobAlbumArt(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API JobAlbumArt& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
55 inline const Aws::String& GetMergePolicy() const{ return m_mergePolicy; }
56 inline bool MergePolicyHasBeenSet() const { return m_mergePolicyHasBeenSet; }
57 inline void SetMergePolicy(const Aws::String& value) { m_mergePolicyHasBeenSet = true; m_mergePolicy = value; }
58 inline void SetMergePolicy(Aws::String&& value) { m_mergePolicyHasBeenSet = true; m_mergePolicy = std::move(value); }
59 inline void SetMergePolicy(const char* value) { m_mergePolicyHasBeenSet = true; m_mergePolicy.assign(value); }
60 inline JobAlbumArt& WithMergePolicy(const Aws::String& value) { SetMergePolicy(value); return *this;}
61 inline JobAlbumArt& WithMergePolicy(Aws::String&& value) { SetMergePolicy(std::move(value)); return *this;}
62 inline JobAlbumArt& WithMergePolicy(const char* value) { SetMergePolicy(value); return *this;}
64
66
71 inline const Aws::Vector<Artwork>& GetArtwork() const{ return m_artwork; }
72 inline bool ArtworkHasBeenSet() const { return m_artworkHasBeenSet; }
73 inline void SetArtwork(const Aws::Vector<Artwork>& value) { m_artworkHasBeenSet = true; m_artwork = value; }
74 inline void SetArtwork(Aws::Vector<Artwork>&& value) { m_artworkHasBeenSet = true; m_artwork = std::move(value); }
75 inline JobAlbumArt& WithArtwork(const Aws::Vector<Artwork>& value) { SetArtwork(value); return *this;}
76 inline JobAlbumArt& WithArtwork(Aws::Vector<Artwork>&& value) { SetArtwork(std::move(value)); return *this;}
77 inline JobAlbumArt& AddArtwork(const Artwork& value) { m_artworkHasBeenSet = true; m_artwork.push_back(value); return *this; }
78 inline JobAlbumArt& AddArtwork(Artwork&& value) { m_artworkHasBeenSet = true; m_artwork.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_mergePolicy;
83 bool m_mergePolicyHasBeenSet = false;
84
85 Aws::Vector<Artwork> m_artwork;
86 bool m_artworkHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ElasticTranscoder
91} // namespace Aws
AWS_ELASTICTRANSCODER_API JobAlbumArt(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMergePolicy() const
Definition JobAlbumArt.h:55
JobAlbumArt & AddArtwork(Artwork &&value)
Definition JobAlbumArt.h:78
void SetArtwork(const Aws::Vector< Artwork > &value)
Definition JobAlbumArt.h:73
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMergePolicy(Aws::String &&value)
Definition JobAlbumArt.h:58
void SetMergePolicy(const Aws::String &value)
Definition JobAlbumArt.h:57
JobAlbumArt & AddArtwork(const Artwork &value)
Definition JobAlbumArt.h:77
JobAlbumArt & WithMergePolicy(const Aws::String &value)
Definition JobAlbumArt.h:60
void SetArtwork(Aws::Vector< Artwork > &&value)
Definition JobAlbumArt.h:74
JobAlbumArt & WithArtwork(const Aws::Vector< Artwork > &value)
Definition JobAlbumArt.h:75
JobAlbumArt & WithArtwork(Aws::Vector< Artwork > &&value)
Definition JobAlbumArt.h:76
JobAlbumArt & WithMergePolicy(const char *value)
Definition JobAlbumArt.h:62
const Aws::Vector< Artwork > & GetArtwork() const
Definition JobAlbumArt.h:71
AWS_ELASTICTRANSCODER_API JobAlbumArt()
JobAlbumArt & WithMergePolicy(Aws::String &&value)
Definition JobAlbumArt.h:61
AWS_ELASTICTRANSCODER_API JobAlbumArt & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue