AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEncoderConfigurationRequest.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/ivs-realtime/IvsrealtimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivs-realtime/model/Video.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ivsrealtime
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IVSREALTIME_API CreateEncoderConfigurationRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateEncoderConfiguration"; }
33
34 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline CreateEncoderConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline CreateEncoderConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline CreateEncoderConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
56 inline const Video& GetVideo() const{ return m_video; }
57 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
58 inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
59 inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
60 inline CreateEncoderConfigurationRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
61 inline CreateEncoderConfigurationRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
63
65
74 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
77 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
79 inline CreateEncoderConfigurationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
80 inline CreateEncoderConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
81 inline CreateEncoderConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
82 inline CreateEncoderConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
83 inline CreateEncoderConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
84 inline CreateEncoderConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreateEncoderConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
86 inline CreateEncoderConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Video m_video;
94 bool m_videoHasBeenSet = false;
95
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ivsrealtime
102} // namespace Aws
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
CreateEncoderConfigurationRequest & AddTags(Aws::String &&key, const char *value)
CreateEncoderConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateEncoderConfigurationRequest & AddTags(const char *key, const char *value)
CreateEncoderConfigurationRequest & WithVideo(const Video &value)
CreateEncoderConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEncoderConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateEncoderConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateEncoderConfigurationRequest & WithName(const Aws::String &value)
CreateEncoderConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEncoderConfigurationRequest & WithName(const char *value)
CreateEncoderConfigurationRequest & WithName(Aws::String &&value)
CreateEncoderConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreateEncoderConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, 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