AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RenditionConfiguration.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/model/RenditionConfigurationRenditionSelection.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivs/model/RenditionConfigurationRendition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IVS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IVS_API RenditionConfiguration() = default;
41
42
44
50 inline RenditionConfigurationRenditionSelection GetRenditionSelection() const { return m_renditionSelection; }
51 inline bool RenditionSelectionHasBeenSet() const { return m_renditionSelectionHasBeenSet; }
52 inline void SetRenditionSelection(RenditionConfigurationRenditionSelection value) { m_renditionSelectionHasBeenSet = true; m_renditionSelection = value; }
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) { m_renditionsHasBeenSet = true; m_renditions = std::forward<RenditionsT>(value); }
70 template<typename RenditionsT = Aws::Vector<RenditionConfigurationRendition>>
71 RenditionConfiguration& WithRenditions(RenditionsT&& value) { SetRenditions(std::forward<RenditionsT>(value)); return *this;}
72 inline RenditionConfiguration& AddRenditions(RenditionConfigurationRendition value) { m_renditionsHasBeenSet = true; m_renditions.push_back(value); return *this; }
74 private:
75
77 bool m_renditionSelectionHasBeenSet = false;
78
80 bool m_renditionsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace IVS
85} // 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