AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaStreamAttributesRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/FmtpRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIACONNECT_API MediaStreamAttributesRequest();
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FmtpRequest& GetFmtp() const{ return m_fmtp; }
46 inline bool FmtpHasBeenSet() const { return m_fmtpHasBeenSet; }
47 inline void SetFmtp(const FmtpRequest& value) { m_fmtpHasBeenSet = true; m_fmtp = value; }
48 inline void SetFmtp(FmtpRequest&& value) { m_fmtpHasBeenSet = true; m_fmtp = std::move(value); }
49 inline MediaStreamAttributesRequest& WithFmtp(const FmtpRequest& value) { SetFmtp(value); return *this;}
50 inline MediaStreamAttributesRequest& WithFmtp(FmtpRequest&& value) { SetFmtp(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetLang() const{ return m_lang; }
58 inline bool LangHasBeenSet() const { return m_langHasBeenSet; }
59 inline void SetLang(const Aws::String& value) { m_langHasBeenSet = true; m_lang = value; }
60 inline void SetLang(Aws::String&& value) { m_langHasBeenSet = true; m_lang = std::move(value); }
61 inline void SetLang(const char* value) { m_langHasBeenSet = true; m_lang.assign(value); }
62 inline MediaStreamAttributesRequest& WithLang(const Aws::String& value) { SetLang(value); return *this;}
63 inline MediaStreamAttributesRequest& WithLang(Aws::String&& value) { SetLang(std::move(value)); return *this;}
64 inline MediaStreamAttributesRequest& WithLang(const char* value) { SetLang(value); return *this;}
66 private:
67
68 FmtpRequest m_fmtp;
69 bool m_fmtpHasBeenSet = false;
70
71 Aws::String m_lang;
72 bool m_langHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MediaConnect
77} // namespace Aws
MediaStreamAttributesRequest & WithLang(Aws::String &&value)
MediaStreamAttributesRequest & WithFmtp(FmtpRequest &&value)
AWS_MEDIACONNECT_API MediaStreamAttributesRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MediaStreamAttributesRequest & WithFmtp(const FmtpRequest &value)
MediaStreamAttributesRequest & WithLang(const char *value)
AWS_MEDIACONNECT_API MediaStreamAttributesRequest(Aws::Utils::Json::JsonView jsonValue)
MediaStreamAttributesRequest & WithLang(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue