AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputSpecification.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputCodec.h>
9#include <aws/medialive/model/InputMaximumBitrate.h>
10#include <aws/medialive/model/InputResolution.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API InputSpecification();
37 AWS_MEDIALIVE_API InputSpecification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const InputCodec& GetCodec() const{ return m_codec; }
47 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
48 inline void SetCodec(const InputCodec& value) { m_codecHasBeenSet = true; m_codec = value; }
49 inline void SetCodec(InputCodec&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
50 inline InputSpecification& WithCodec(const InputCodec& value) { SetCodec(value); return *this;}
51 inline InputSpecification& WithCodec(InputCodec&& value) { SetCodec(std::move(value)); return *this;}
53
55
58 inline const InputMaximumBitrate& GetMaximumBitrate() const{ return m_maximumBitrate; }
59 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
60 inline void SetMaximumBitrate(const InputMaximumBitrate& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = value; }
61 inline void SetMaximumBitrate(InputMaximumBitrate&& value) { m_maximumBitrateHasBeenSet = true; m_maximumBitrate = std::move(value); }
62 inline InputSpecification& WithMaximumBitrate(const InputMaximumBitrate& value) { SetMaximumBitrate(value); return *this;}
63 inline InputSpecification& WithMaximumBitrate(InputMaximumBitrate&& value) { SetMaximumBitrate(std::move(value)); return *this;}
65
67
70 inline const InputResolution& GetResolution() const{ return m_resolution; }
71 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
72 inline void SetResolution(const InputResolution& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
73 inline void SetResolution(InputResolution&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
74 inline InputSpecification& WithResolution(const InputResolution& value) { SetResolution(value); return *this;}
75 inline InputSpecification& WithResolution(InputResolution&& value) { SetResolution(std::move(value)); return *this;}
77 private:
78
79 InputCodec m_codec;
80 bool m_codecHasBeenSet = false;
81
82 InputMaximumBitrate m_maximumBitrate;
83 bool m_maximumBitrateHasBeenSet = false;
84
85 InputResolution m_resolution;
86 bool m_resolutionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace MediaLive
91} // namespace Aws
InputSpecification & WithMaximumBitrate(const InputMaximumBitrate &value)
void SetResolution(const InputResolution &value)
void SetResolution(InputResolution &&value)
AWS_MEDIALIVE_API InputSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputSpecification & WithCodec(const InputCodec &value)
InputSpecification & WithResolution(InputResolution &&value)
InputSpecification & WithCodec(InputCodec &&value)
void SetMaximumBitrate(const InputMaximumBitrate &value)
const InputResolution & GetResolution() const
InputSpecification & WithMaximumBitrate(InputMaximumBitrate &&value)
void SetMaximumBitrate(InputMaximumBitrate &&value)
InputSpecification & WithResolution(const InputResolution &value)
const InputMaximumBitrate & GetMaximumBitrate() const
AWS_MEDIALIVE_API InputSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue