AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RenditionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ivs/IVS_EXPORTS.h>
9#include <aws/ivs/model/RenditionConfigurationRendition.h>
10#include <aws/ivs/model/RenditionConfigurationRenditionSelection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IVS {
22namespace Model {
23
31 public:
32 AWS_IVS_API RenditionConfiguration() = default;
36
38
44 inline RenditionConfigurationRenditionSelection GetRenditionSelection() const { return m_renditionSelection; }
45 inline bool RenditionSelectionHasBeenSet() const { return m_renditionSelectionHasBeenSet; }
47 m_renditionSelectionHasBeenSet = true;
48 m_renditionSelection = value;
49 }
52 return *this;
53 }
55
57
66 inline const Aws::Vector<RenditionConfigurationRendition>& GetRenditions() const { return m_renditions; }
67 inline bool RenditionsHasBeenSet() const { return m_renditionsHasBeenSet; }
68 template <typename RenditionsT = Aws::Vector<RenditionConfigurationRendition>>
69 void SetRenditions(RenditionsT&& value) {
70 m_renditionsHasBeenSet = true;
71 m_renditions = std::forward<RenditionsT>(value);
72 }
73 template <typename RenditionsT = Aws::Vector<RenditionConfigurationRendition>>
74 RenditionConfiguration& WithRenditions(RenditionsT&& value) {
75 SetRenditions(std::forward<RenditionsT>(value));
76 return *this;
77 }
79 m_renditionsHasBeenSet = true;
80 m_renditions.push_back(value);
81 return *this;
82 }
84 private:
86
88 bool m_renditionSelectionHasBeenSet = false;
89 bool m_renditionsHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace IVS
94} // namespace Aws
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
RenditionConfiguration & WithRenditionSelection(RenditionConfigurationRenditionSelection value)
AWS_IVS_API RenditionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RenditionConfiguration & WithRenditions(RenditionsT &&value)
AWS_IVS_API RenditionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetRenditionSelection(RenditionConfigurationRenditionSelection value)
AWS_IVS_API RenditionConfiguration()=default
RenditionConfigurationRenditionSelection GetRenditionSelection() const
const Aws::Vector< RenditionConfigurationRendition > & GetRenditions() const
RenditionConfiguration & AddRenditions(RenditionConfigurationRendition value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue