AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncodingParametersRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/EncoderProfile.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConnect
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MEDIACONNECT_API EncodingParametersRequest();
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline double GetCompressionFactor() const{ return m_compressionFactor; }
51 inline bool CompressionFactorHasBeenSet() const { return m_compressionFactorHasBeenSet; }
52 inline void SetCompressionFactor(double value) { m_compressionFactorHasBeenSet = true; m_compressionFactor = value; }
53 inline EncodingParametersRequest& WithCompressionFactor(double value) { SetCompressionFactor(value); return *this;}
55
57
62 inline const EncoderProfile& GetEncoderProfile() const{ return m_encoderProfile; }
63 inline bool EncoderProfileHasBeenSet() const { return m_encoderProfileHasBeenSet; }
64 inline void SetEncoderProfile(const EncoderProfile& value) { m_encoderProfileHasBeenSet = true; m_encoderProfile = value; }
65 inline void SetEncoderProfile(EncoderProfile&& value) { m_encoderProfileHasBeenSet = true; m_encoderProfile = std::move(value); }
67 inline EncodingParametersRequest& WithEncoderProfile(EncoderProfile&& value) { SetEncoderProfile(std::move(value)); return *this;}
69 private:
70
71 double m_compressionFactor;
72 bool m_compressionFactorHasBeenSet = false;
73
74 EncoderProfile m_encoderProfile;
75 bool m_encoderProfileHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace MediaConnect
80} // namespace Aws
EncodingParametersRequest & WithCompressionFactor(double value)
AWS_MEDIACONNECT_API EncodingParametersRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API EncodingParametersRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
EncodingParametersRequest & WithEncoderProfile(const EncoderProfile &value)
EncodingParametersRequest & WithEncoderProfile(EncoderProfile &&value)
Aws::Utils::Json::JsonValue JsonValue