AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LayoutConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/ivs-realtime/model/GridConfiguration.h>
9#include <aws/ivs-realtime/model/PipConfiguration.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 ivsrealtime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IVSREALTIME_API LayoutConfiguration() = default;
37 AWS_IVSREALTIME_API LayoutConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const GridConfiguration& GetGrid() const { return m_grid; }
47 inline bool GridHasBeenSet() const { return m_gridHasBeenSet; }
48 template<typename GridT = GridConfiguration>
49 void SetGrid(GridT&& value) { m_gridHasBeenSet = true; m_grid = std::forward<GridT>(value); }
50 template<typename GridT = GridConfiguration>
51 LayoutConfiguration& WithGrid(GridT&& value) { SetGrid(std::forward<GridT>(value)); return *this;}
53
55
58 inline const PipConfiguration& GetPip() const { return m_pip; }
59 inline bool PipHasBeenSet() const { return m_pipHasBeenSet; }
60 template<typename PipT = PipConfiguration>
61 void SetPip(PipT&& value) { m_pipHasBeenSet = true; m_pip = std::forward<PipT>(value); }
62 template<typename PipT = PipConfiguration>
63 LayoutConfiguration& WithPip(PipT&& value) { SetPip(std::forward<PipT>(value)); return *this;}
65 private:
66
67 GridConfiguration m_grid;
68 bool m_gridHasBeenSet = false;
69
70 PipConfiguration m_pip;
71 bool m_pipHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ivsrealtime
76} // namespace Aws
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
LayoutConfiguration & WithPip(PipT &&value)
AWS_IVSREALTIME_API LayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API LayoutConfiguration()=default
AWS_IVSREALTIME_API LayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const GridConfiguration & GetGrid() const
LayoutConfiguration & WithGrid(GridT &&value)
Aws::Utils::Json::JsonValue JsonValue