AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaStreamSourceConfigurationRequest.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/InputConfigurationRequest.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:
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); }
56 inline MediaStreamSourceConfigurationRequest& WithEncodingName(EncodingName&& value) { SetEncodingName(std::move(value)); return *this;}
58
60
63 inline const Aws::Vector<InputConfigurationRequest>& GetInputConfigurations() const{ return m_inputConfigurations; }
64 inline bool InputConfigurationsHasBeenSet() const { return m_inputConfigurationsHasBeenSet; }
65 inline void SetInputConfigurations(const Aws::Vector<InputConfigurationRequest>& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = value; }
66 inline void SetInputConfigurations(Aws::Vector<InputConfigurationRequest>&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = std::move(value); }
69 inline MediaStreamSourceConfigurationRequest& AddInputConfigurations(const InputConfigurationRequest& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(value); return *this; }
70 inline MediaStreamSourceConfigurationRequest& AddInputConfigurations(InputConfigurationRequest&& 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); }
84 inline MediaStreamSourceConfigurationRequest& WithMediaStreamName(const char* value) { SetMediaStreamName(value); return *this;}
86 private:
87
88 EncodingName m_encodingName;
89 bool m_encodingNameHasBeenSet = false;
90
91 Aws::Vector<InputConfigurationRequest> 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
MediaStreamSourceConfigurationRequest & WithMediaStreamName(const Aws::String &value)
MediaStreamSourceConfigurationRequest & AddInputConfigurations(const InputConfigurationRequest &value)
MediaStreamSourceConfigurationRequest & WithInputConfigurations(const Aws::Vector< InputConfigurationRequest > &value)
const Aws::Vector< InputConfigurationRequest > & GetInputConfigurations() const
MediaStreamSourceConfigurationRequest & WithEncodingName(EncodingName &&value)
MediaStreamSourceConfigurationRequest & WithMediaStreamName(const char *value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputConfigurations(const Aws::Vector< InputConfigurationRequest > &value)
MediaStreamSourceConfigurationRequest & WithInputConfigurations(Aws::Vector< InputConfigurationRequest > &&value)
MediaStreamSourceConfigurationRequest & WithMediaStreamName(Aws::String &&value)
AWS_MEDIACONNECT_API MediaStreamSourceConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API MediaStreamSourceConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
MediaStreamSourceConfigurationRequest & AddInputConfigurations(InputConfigurationRequest &&value)
MediaStreamSourceConfigurationRequest & WithEncodingName(const EncodingName &value)
void SetInputConfigurations(Aws::Vector< InputConfigurationRequest > &&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