AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline EncoderConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline EncoderConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline EncoderConfiguration& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline EncoderConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline EncoderConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline EncoderConfiguration& WithName(const char* value) { SetName(value); return *this;}
69
71
75 inline const Video& GetVideo() const{ return m_video; }
76 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
77 inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
78 inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
79 inline EncoderConfiguration& WithVideo(const Video& value) { SetVideo(value); return *this;}
80 inline EncoderConfiguration& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
82
84
93 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
96 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
97 inline EncoderConfiguration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
98 inline EncoderConfiguration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
99 inline EncoderConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
100 inline EncoderConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
101 inline EncoderConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
102 inline EncoderConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
103 inline EncoderConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
104 inline EncoderConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
105 inline EncoderConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
107 private:
108
109 Aws::String m_arn;
110 bool m_arnHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Video m_video;
116 bool m_videoHasBeenSet = false;
117
119 bool m_tagsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ivsrealtime
124} // namespace Aws
EncoderConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
EncoderConfiguration & WithName(const char *value)
AWS_IVSREALTIME_API EncoderConfiguration(Aws::Utils::Json::JsonView jsonValue)
EncoderConfiguration & WithVideo(Video &&value)
EncoderConfiguration & WithVideo(const Video &value)
EncoderConfiguration & WithArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IVSREALTIME_API EncoderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncoderConfiguration & WithArn(const char *value)
EncoderConfiguration & WithName(Aws::String &&value)
EncoderConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
EncoderConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
EncoderConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
EncoderConfiguration & WithName(const Aws::String &value)
EncoderConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EncoderConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
EncoderConfiguration & AddTags(const char *key, Aws::String &&value)
EncoderConfiguration & AddTags(Aws::String &&key, const char *value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
EncoderConfiguration & AddTags(const char *key, const char *value)
EncoderConfiguration & WithArn(Aws::String &&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
Aws::Utils::Json::JsonValue JsonValue