AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateEncoderConfigurationRequest.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/IvsrealtimeRequest.h>
10#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
11#include <aws/ivs-realtime/model/Video.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ivsrealtime {
17namespace Model {
18
22 public:
23 AWS_IVSREALTIME_API CreateEncoderConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateEncoderConfiguration"; }
30
31 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
56 inline const Video& GetVideo() const { return m_video; }
57 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
58 template <typename VideoT = Video>
59 void SetVideo(VideoT&& value) {
60 m_videoHasBeenSet = true;
61 m_video = std::forward<VideoT>(value);
62 }
63 template <typename VideoT = Video>
65 SetVideo(std::forward<VideoT>(value));
66 return *this;
67 }
69
71
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 void SetTags(TagsT&& value) {
84 m_tagsHasBeenSet = true;
85 m_tags = std::forward<TagsT>(value);
86 }
87 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 SetTags(std::forward<TagsT>(value));
90 return *this;
91 }
92 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
93 CreateEncoderConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
94 m_tagsHasBeenSet = true;
95 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_name;
101
102 Video m_video;
103
105 bool m_nameHasBeenSet = false;
106 bool m_videoHasBeenSet = false;
107 bool m_tagsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ivsrealtime
112} // namespace Aws
CreateEncoderConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IVSREALTIME_API CreateEncoderConfigurationRequest()=default
CreateEncoderConfigurationRequest & WithVideo(VideoT &&value)
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