AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EncoderConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/Video.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 ivsrealtime
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IVSREALTIME_API EncoderConfiguration() = default;
37 AWS_IVSREALTIME_API EncoderConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 EncoderConfiguration& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 EncoderConfiguration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
71 inline const Video& GetVideo() const { return m_video; }
72 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
73 template<typename VideoT = Video>
74 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
75 template<typename VideoT = Video>
76 EncoderConfiguration& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
78
80
89 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
90 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
91 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
93 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 EncoderConfiguration& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
95 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
96 EncoderConfiguration& AddTags(TagsKeyT&& key, TagsValueT&& value) {
97 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
98 }
100 private:
101
102 Aws::String m_arn;
103 bool m_arnHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Video m_video;
109 bool m_videoHasBeenSet = false;
110
112 bool m_tagsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace ivsrealtime
117} // 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