AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ivsrealtime {
21namespace Model {
22
30 public:
31 AWS_IVSREALTIME_API LayoutConfiguration() = default;
32 AWS_IVSREALTIME_API LayoutConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const GridConfiguration& GetGrid() const { return m_grid; }
41 inline bool GridHasBeenSet() const { return m_gridHasBeenSet; }
42 template <typename GridT = GridConfiguration>
43 void SetGrid(GridT&& value) {
44 m_gridHasBeenSet = true;
45 m_grid = std::forward<GridT>(value);
46 }
47 template <typename GridT = GridConfiguration>
48 LayoutConfiguration& WithGrid(GridT&& value) {
49 SetGrid(std::forward<GridT>(value));
50 return *this;
51 }
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) {
62 m_pipHasBeenSet = true;
63 m_pip = std::forward<PipT>(value);
64 }
65 template <typename PipT = PipConfiguration>
67 SetPip(std::forward<PipT>(value));
68 return *this;
69 }
71 private:
72 GridConfiguration m_grid;
73
74 PipConfiguration m_pip;
75 bool m_gridHasBeenSet = false;
76 bool m_pipHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ivsrealtime
81} // 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