AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
50 inline const RenditionConfigurationRenditionSelection& GetRenditionSelection() const{ return m_renditionSelection; }
51 inline bool RenditionSelectionHasBeenSet() const { return m_renditionSelectionHasBeenSet; }
52 inline void SetRenditionSelection(const RenditionConfigurationRenditionSelection& value) { m_renditionSelectionHasBeenSet = true; m_renditionSelection = value; }
53 inline void SetRenditionSelection(RenditionConfigurationRenditionSelection&& value) { m_renditionSelectionHasBeenSet = true; m_renditionSelection = std::move(value); }
57
59
68 inline const Aws::Vector<RenditionConfigurationRendition>& GetRenditions() const{ return m_renditions; }
69 inline bool RenditionsHasBeenSet() const { return m_renditionsHasBeenSet; }
70 inline void SetRenditions(const Aws::Vector<RenditionConfigurationRendition>& value) { m_renditionsHasBeenSet = true; m_renditions = value; }
71 inline void SetRenditions(Aws::Vector<RenditionConfigurationRendition>&& value) { m_renditionsHasBeenSet = true; m_renditions = std::move(value); }
74 inline RenditionConfiguration& AddRenditions(const RenditionConfigurationRendition& value) { m_renditionsHasBeenSet = true; m_renditions.push_back(value); return *this; }
75 inline RenditionConfiguration& AddRenditions(RenditionConfigurationRendition&& value) { m_renditionsHasBeenSet = true; m_renditions.push_back(std::move(value)); return *this; }
77 private:
78
80 bool m_renditionSelectionHasBeenSet = false;
81
83 bool m_renditionsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace IVS
88} // namespace Aws
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
RenditionConfiguration & WithRenditionSelection(const RenditionConfigurationRenditionSelection &value)
void SetRenditionSelection(RenditionConfigurationRenditionSelection &&value)
RenditionConfiguration & WithRenditionSelection(RenditionConfigurationRenditionSelection &&value)
AWS_IVS_API RenditionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRenditions(const Aws::Vector< RenditionConfigurationRendition > &value)
RenditionConfiguration & WithRenditions(const Aws::Vector< RenditionConfigurationRendition > &value)
const RenditionConfigurationRenditionSelection & GetRenditionSelection() const
void SetRenditions(Aws::Vector< RenditionConfigurationRendition > &&value)
AWS_IVS_API RenditionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetRenditionSelection(const RenditionConfigurationRenditionSelection &value)
RenditionConfiguration & AddRenditions(RenditionConfigurationRendition &&value)
RenditionConfiguration & WithRenditions(Aws::Vector< RenditionConfigurationRendition > &&value)
const Aws::Vector< RenditionConfigurationRendition > & GetRenditions() const
RenditionConfiguration & AddRenditions(const RenditionConfigurationRendition &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue