AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EncoderConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
10#include <aws/ivs-realtime/model/Video.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ivsrealtime {
22namespace Model {
23
30 public:
31 AWS_IVSREALTIME_API EncoderConfiguration() = default;
32 AWS_IVSREALTIME_API EncoderConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline const Video& GetVideo() const { return m_video; }
78 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
79 template <typename VideoT = Video>
80 void SetVideo(VideoT&& value) {
81 m_videoHasBeenSet = true;
82 m_video = std::forward<VideoT>(value);
83 }
84 template <typename VideoT = Video>
86 SetVideo(std::forward<VideoT>(value));
87 return *this;
88 }
90
92
101 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) {
105 m_tagsHasBeenSet = true;
106 m_tags = std::forward<TagsT>(value);
107 }
108 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 SetTags(std::forward<TagsT>(value));
111 return *this;
112 }
113 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
114 EncoderConfiguration& AddTags(TagsKeyT&& key, TagsValueT&& value) {
115 m_tagsHasBeenSet = true;
116 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_arn;
122
123 Aws::String m_name;
124
125 Video m_video;
126
128 bool m_arnHasBeenSet = false;
129 bool m_nameHasBeenSet = false;
130 bool m_videoHasBeenSet = false;
131 bool m_tagsHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace ivsrealtime
136} // namespace Aws
EncoderConfiguration & AddTags(TagsKeyT &&key, TagsValueT &&value)
EncoderConfiguration & WithArn(ArnT &&value)
EncoderConfiguration & WithTags(TagsT &&value)
AWS_IVSREALTIME_API EncoderConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API EncoderConfiguration()=default
AWS_IVSREALTIME_API EncoderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncoderConfiguration & WithVideo(VideoT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EncoderConfiguration & WithName(NameT &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
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