AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaStreamOutputConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconnect/model/EncodingName.h>
10#include <aws/mediaconnect/model/EncodingParameters.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/mediaconnect/model/DestinationConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaConnect
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_MEDIACONNECT_API MediaStreamOutputConfiguration();
42 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<DestinationConfiguration>& GetDestinationConfigurations() const{ return m_destinationConfigurations; }
50 inline bool DestinationConfigurationsHasBeenSet() const { return m_destinationConfigurationsHasBeenSet; }
51 inline void SetDestinationConfigurations(const Aws::Vector<DestinationConfiguration>& value) { m_destinationConfigurationsHasBeenSet = true; m_destinationConfigurations = value; }
52 inline void SetDestinationConfigurations(Aws::Vector<DestinationConfiguration>&& value) { m_destinationConfigurationsHasBeenSet = true; m_destinationConfigurations = std::move(value); }
55 inline MediaStreamOutputConfiguration& AddDestinationConfigurations(const DestinationConfiguration& value) { m_destinationConfigurationsHasBeenSet = true; m_destinationConfigurations.push_back(value); return *this; }
56 inline MediaStreamOutputConfiguration& AddDestinationConfigurations(DestinationConfiguration&& value) { m_destinationConfigurationsHasBeenSet = true; m_destinationConfigurations.push_back(std::move(value)); return *this; }
58
60
66 inline const EncodingName& GetEncodingName() const{ return m_encodingName; }
67 inline bool EncodingNameHasBeenSet() const { return m_encodingNameHasBeenSet; }
68 inline void SetEncodingName(const EncodingName& value) { m_encodingNameHasBeenSet = true; m_encodingName = value; }
69 inline void SetEncodingName(EncodingName&& value) { m_encodingNameHasBeenSet = true; m_encodingName = std::move(value); }
70 inline MediaStreamOutputConfiguration& WithEncodingName(const EncodingName& value) { SetEncodingName(value); return *this;}
71 inline MediaStreamOutputConfiguration& WithEncodingName(EncodingName&& value) { SetEncodingName(std::move(value)); return *this;}
73
75
78 inline const EncodingParameters& GetEncodingParameters() const{ return m_encodingParameters; }
79 inline bool EncodingParametersHasBeenSet() const { return m_encodingParametersHasBeenSet; }
80 inline void SetEncodingParameters(const EncodingParameters& value) { m_encodingParametersHasBeenSet = true; m_encodingParameters = value; }
81 inline void SetEncodingParameters(EncodingParameters&& value) { m_encodingParametersHasBeenSet = true; m_encodingParameters = std::move(value); }
85
87
90 inline const Aws::String& GetMediaStreamName() const{ return m_mediaStreamName; }
91 inline bool MediaStreamNameHasBeenSet() const { return m_mediaStreamNameHasBeenSet; }
92 inline void SetMediaStreamName(const Aws::String& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = value; }
93 inline void SetMediaStreamName(Aws::String&& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = std::move(value); }
94 inline void SetMediaStreamName(const char* value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName.assign(value); }
96 inline MediaStreamOutputConfiguration& WithMediaStreamName(Aws::String&& value) { SetMediaStreamName(std::move(value)); return *this;}
97 inline MediaStreamOutputConfiguration& WithMediaStreamName(const char* value) { SetMediaStreamName(value); return *this;}
99 private:
100
101 Aws::Vector<DestinationConfiguration> m_destinationConfigurations;
102 bool m_destinationConfigurationsHasBeenSet = false;
103
104 EncodingName m_encodingName;
105 bool m_encodingNameHasBeenSet = false;
106
107 EncodingParameters m_encodingParameters;
108 bool m_encodingParametersHasBeenSet = false;
109
110 Aws::String m_mediaStreamName;
111 bool m_mediaStreamNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MediaConnect
116} // namespace Aws
const Aws::Vector< DestinationConfiguration > & GetDestinationConfigurations() const
MediaStreamOutputConfiguration & WithEncodingName(const EncodingName &value)
MediaStreamOutputConfiguration & WithDestinationConfigurations(Aws::Vector< DestinationConfiguration > &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinationConfigurations(const Aws::Vector< DestinationConfiguration > &value)
MediaStreamOutputConfiguration & WithDestinationConfigurations(const Aws::Vector< DestinationConfiguration > &value)
AWS_MEDIACONNECT_API MediaStreamOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
MediaStreamOutputConfiguration & WithEncodingName(EncodingName &&value)
MediaStreamOutputConfiguration & WithEncodingParameters(const EncodingParameters &value)
MediaStreamOutputConfiguration & WithMediaStreamName(Aws::String &&value)
MediaStreamOutputConfiguration & AddDestinationConfigurations(const DestinationConfiguration &value)
MediaStreamOutputConfiguration & WithEncodingParameters(EncodingParameters &&value)
void SetDestinationConfigurations(Aws::Vector< DestinationConfiguration > &&value)
MediaStreamOutputConfiguration & AddDestinationConfigurations(DestinationConfiguration &&value)
MediaStreamOutputConfiguration & WithMediaStreamName(const Aws::String &value)
MediaStreamOutputConfiguration & WithMediaStreamName(const char *value)
AWS_MEDIACONNECT_API MediaStreamOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue