AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaStreamSourceConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/EncodingName.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconnect/model/InputConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConnect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MEDIACONNECT_API MediaStreamSourceConfiguration();
41 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const EncodingName& GetEncodingName() const{ return m_encodingName; }
52 inline bool EncodingNameHasBeenSet() const { return m_encodingNameHasBeenSet; }
53 inline void SetEncodingName(const EncodingName& value) { m_encodingNameHasBeenSet = true; m_encodingName = value; }
54 inline void SetEncodingName(EncodingName&& value) { m_encodingNameHasBeenSet = true; m_encodingName = std::move(value); }
55 inline MediaStreamSourceConfiguration& WithEncodingName(const EncodingName& value) { SetEncodingName(value); return *this;}
56 inline MediaStreamSourceConfiguration& WithEncodingName(EncodingName&& value) { SetEncodingName(std::move(value)); return *this;}
58
60
63 inline const Aws::Vector<InputConfiguration>& GetInputConfigurations() const{ return m_inputConfigurations; }
64 inline bool InputConfigurationsHasBeenSet() const { return m_inputConfigurationsHasBeenSet; }
65 inline void SetInputConfigurations(const Aws::Vector<InputConfiguration>& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = value; }
66 inline void SetInputConfigurations(Aws::Vector<InputConfiguration>&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = std::move(value); }
69 inline MediaStreamSourceConfiguration& AddInputConfigurations(const InputConfiguration& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(value); return *this; }
70 inline MediaStreamSourceConfiguration& AddInputConfigurations(InputConfiguration&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(std::move(value)); return *this; }
72
74
77 inline const Aws::String& GetMediaStreamName() const{ return m_mediaStreamName; }
78 inline bool MediaStreamNameHasBeenSet() const { return m_mediaStreamNameHasBeenSet; }
79 inline void SetMediaStreamName(const Aws::String& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = value; }
80 inline void SetMediaStreamName(Aws::String&& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = std::move(value); }
81 inline void SetMediaStreamName(const char* value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName.assign(value); }
83 inline MediaStreamSourceConfiguration& WithMediaStreamName(Aws::String&& value) { SetMediaStreamName(std::move(value)); return *this;}
84 inline MediaStreamSourceConfiguration& WithMediaStreamName(const char* value) { SetMediaStreamName(value); return *this;}
86 private:
87
88 EncodingName m_encodingName;
89 bool m_encodingNameHasBeenSet = false;
90
91 Aws::Vector<InputConfiguration> m_inputConfigurations;
92 bool m_inputConfigurationsHasBeenSet = false;
93
94 Aws::String m_mediaStreamName;
95 bool m_mediaStreamNameHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace MediaConnect
100} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MediaStreamSourceConfiguration & AddInputConfigurations(InputConfiguration &&value)
AWS_MEDIACONNECT_API MediaStreamSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
MediaStreamSourceConfiguration & WithInputConfigurations(const Aws::Vector< InputConfiguration > &value)
MediaStreamSourceConfiguration & WithEncodingName(EncodingName &&value)
void SetInputConfigurations(const Aws::Vector< InputConfiguration > &value)
MediaStreamSourceConfiguration & WithMediaStreamName(Aws::String &&value)
const Aws::Vector< InputConfiguration > & GetInputConfigurations() const
MediaStreamSourceConfiguration & WithMediaStreamName(const char *value)
MediaStreamSourceConfiguration & AddInputConfigurations(const InputConfiguration &value)
MediaStreamSourceConfiguration & WithInputConfigurations(Aws::Vector< InputConfiguration > &&value)
void SetInputConfigurations(Aws::Vector< InputConfiguration > &&value)
AWS_MEDIACONNECT_API MediaStreamSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaStreamSourceConfiguration & WithEncodingName(const EncodingName &value)
MediaStreamSourceConfiguration & WithMediaStreamName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue