AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaStreamOutputConfigurationRequest.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/EncodingParametersRequest.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/mediaconnect/model/DestinationConfigurationRequest.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:
42 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<DestinationConfigurationRequest>& GetDestinationConfigurations() const{ return m_destinationConfigurations; }
50 inline bool DestinationConfigurationsHasBeenSet() const { return m_destinationConfigurationsHasBeenSet; }
51 inline void SetDestinationConfigurations(const Aws::Vector<DestinationConfigurationRequest>& value) { m_destinationConfigurationsHasBeenSet = true; m_destinationConfigurations = value; }
52 inline void SetDestinationConfigurations(Aws::Vector<DestinationConfigurationRequest>&& value) { m_destinationConfigurationsHasBeenSet = true; m_destinationConfigurations = std::move(value); }
55 inline MediaStreamOutputConfigurationRequest& AddDestinationConfigurations(const DestinationConfigurationRequest& value) { m_destinationConfigurationsHasBeenSet = true; m_destinationConfigurations.push_back(value); return *this; }
56 inline MediaStreamOutputConfigurationRequest& AddDestinationConfigurations(DestinationConfigurationRequest&& 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); }
71 inline MediaStreamOutputConfigurationRequest& WithEncodingName(EncodingName&& value) { SetEncodingName(std::move(value)); return *this;}
73
75
79 inline const EncodingParametersRequest& GetEncodingParameters() const{ return m_encodingParameters; }
80 inline bool EncodingParametersHasBeenSet() const { return m_encodingParametersHasBeenSet; }
81 inline void SetEncodingParameters(const EncodingParametersRequest& value) { m_encodingParametersHasBeenSet = true; m_encodingParameters = value; }
82 inline void SetEncodingParameters(EncodingParametersRequest&& value) { m_encodingParametersHasBeenSet = true; m_encodingParameters = std::move(value); }
86
88
91 inline const Aws::String& GetMediaStreamName() const{ return m_mediaStreamName; }
92 inline bool MediaStreamNameHasBeenSet() const { return m_mediaStreamNameHasBeenSet; }
93 inline void SetMediaStreamName(const Aws::String& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = value; }
94 inline void SetMediaStreamName(Aws::String&& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = std::move(value); }
95 inline void SetMediaStreamName(const char* value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName.assign(value); }
98 inline MediaStreamOutputConfigurationRequest& WithMediaStreamName(const char* value) { SetMediaStreamName(value); return *this;}
100 private:
101
102 Aws::Vector<DestinationConfigurationRequest> m_destinationConfigurations;
103 bool m_destinationConfigurationsHasBeenSet = false;
104
105 EncodingName m_encodingName;
106 bool m_encodingNameHasBeenSet = false;
107
108 EncodingParametersRequest m_encodingParameters;
109 bool m_encodingParametersHasBeenSet = false;
110
111 Aws::String m_mediaStreamName;
112 bool m_mediaStreamNameHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace MediaConnect
117} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MediaStreamOutputConfigurationRequest & WithDestinationConfigurations(Aws::Vector< DestinationConfigurationRequest > &&value)
MediaStreamOutputConfigurationRequest & WithEncodingParameters(const EncodingParametersRequest &value)
MediaStreamOutputConfigurationRequest & WithEncodingName(EncodingName &&value)
AWS_MEDIACONNECT_API MediaStreamOutputConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
MediaStreamOutputConfigurationRequest & WithMediaStreamName(const char *value)
MediaStreamOutputConfigurationRequest & WithEncodingName(const EncodingName &value)
AWS_MEDIACONNECT_API MediaStreamOutputConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DestinationConfigurationRequest > & GetDestinationConfigurations() const
void SetDestinationConfigurations(Aws::Vector< DestinationConfigurationRequest > &&value)
MediaStreamOutputConfigurationRequest & WithMediaStreamName(Aws::String &&value)
MediaStreamOutputConfigurationRequest & WithMediaStreamName(const Aws::String &value)
void SetDestinationConfigurations(const Aws::Vector< DestinationConfigurationRequest > &value)
MediaStreamOutputConfigurationRequest & WithDestinationConfigurations(const Aws::Vector< DestinationConfigurationRequest > &value)
MediaStreamOutputConfigurationRequest & AddDestinationConfigurations(const DestinationConfigurationRequest &value)
MediaStreamOutputConfigurationRequest & WithEncodingParameters(EncodingParametersRequest &&value)
MediaStreamOutputConfigurationRequest & AddDestinationConfigurations(DestinationConfigurationRequest &&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