AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransportMediaInfo.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/TransportStreamProgram.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
34 {
35 public:
36 AWS_MEDIACONNECT_API TransportMediaInfo();
37 AWS_MEDIACONNECT_API TransportMediaInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<TransportStreamProgram>& GetPrograms() const{ return m_programs; }
47 inline bool ProgramsHasBeenSet() const { return m_programsHasBeenSet; }
48 inline void SetPrograms(const Aws::Vector<TransportStreamProgram>& value) { m_programsHasBeenSet = true; m_programs = value; }
49 inline void SetPrograms(Aws::Vector<TransportStreamProgram>&& value) { m_programsHasBeenSet = true; m_programs = std::move(value); }
51 inline TransportMediaInfo& WithPrograms(Aws::Vector<TransportStreamProgram>&& value) { SetPrograms(std::move(value)); return *this;}
52 inline TransportMediaInfo& AddPrograms(const TransportStreamProgram& value) { m_programsHasBeenSet = true; m_programs.push_back(value); return *this; }
53 inline TransportMediaInfo& AddPrograms(TransportStreamProgram&& value) { m_programsHasBeenSet = true; m_programs.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_programsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace MediaConnect
63} // namespace Aws
const Aws::Vector< TransportStreamProgram > & GetPrograms() const
TransportMediaInfo & WithPrograms(const Aws::Vector< TransportStreamProgram > &value)
void SetPrograms(const Aws::Vector< TransportStreamProgram > &value)
TransportMediaInfo & WithPrograms(Aws::Vector< TransportStreamProgram > &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrograms(Aws::Vector< TransportStreamProgram > &&value)
AWS_MEDIACONNECT_API TransportMediaInfo(Aws::Utils::Json::JsonView jsonValue)
TransportMediaInfo & AddPrograms(const TransportStreamProgram &value)
AWS_MEDIACONNECT_API TransportMediaInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
TransportMediaInfo & AddPrograms(TransportStreamProgram &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue