AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
MediaStreamAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/Fmtp.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
30 public:
31 AWS_MEDIACONNECT_API MediaStreamAttributes() = default;
32 AWS_MEDIACONNECT_API MediaStreamAttributes(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Fmtp& GetFmtp() const { return m_fmtp; }
41 inline bool FmtpHasBeenSet() const { return m_fmtpHasBeenSet; }
42 template <typename FmtpT = Fmtp>
43 void SetFmtp(FmtpT&& value) {
44 m_fmtpHasBeenSet = true;
45 m_fmtp = std::forward<FmtpT>(value);
46 }
47 template <typename FmtpT = Fmtp>
49 SetFmtp(std::forward<FmtpT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetLang() const { return m_lang; }
59 inline bool LangHasBeenSet() const { return m_langHasBeenSet; }
60 template <typename LangT = Aws::String>
61 void SetLang(LangT&& value) {
62 m_langHasBeenSet = true;
63 m_lang = std::forward<LangT>(value);
64 }
65 template <typename LangT = Aws::String>
67 SetLang(std::forward<LangT>(value));
68 return *this;
69 }
71 private:
72 Fmtp m_fmtp;
73
74 Aws::String m_lang;
75 bool m_fmtpHasBeenSet = false;
76 bool m_langHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MediaConnect
81} // namespace Aws
MediaStreamAttributes & WithLang(LangT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API MediaStreamAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API MediaStreamAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaStreamAttributes & WithFmtp(FmtpT &&value)
AWS_MEDIACONNECT_API MediaStreamAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue