AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutomatedAbrRule.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/model/MinBottomRenditionSize.h>
10#include <aws/mediaconvert/model/MinTopRenditionSize.h>
11#include <aws/mediaconvert/model/RuleType.h>
12#include <aws/mediaconvert/model/AllowedRenditionSize.h>
13#include <aws/mediaconvert/model/ForceIncludeRenditionSize.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaConvert
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_MEDIACONVERT_API AutomatedAbrRule();
41 AWS_MEDIACONVERT_API AutomatedAbrRule(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONVERT_API AutomatedAbrRule& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<AllowedRenditionSize>& GetAllowedRenditions() const{ return m_allowedRenditions; }
52 inline bool AllowedRenditionsHasBeenSet() const { return m_allowedRenditionsHasBeenSet; }
53 inline void SetAllowedRenditions(const Aws::Vector<AllowedRenditionSize>& value) { m_allowedRenditionsHasBeenSet = true; m_allowedRenditions = value; }
54 inline void SetAllowedRenditions(Aws::Vector<AllowedRenditionSize>&& value) { m_allowedRenditionsHasBeenSet = true; m_allowedRenditions = std::move(value); }
57 inline AutomatedAbrRule& AddAllowedRenditions(const AllowedRenditionSize& value) { m_allowedRenditionsHasBeenSet = true; m_allowedRenditions.push_back(value); return *this; }
58 inline AutomatedAbrRule& AddAllowedRenditions(AllowedRenditionSize&& value) { m_allowedRenditionsHasBeenSet = true; m_allowedRenditions.push_back(std::move(value)); return *this; }
60
62
66 inline const Aws::Vector<ForceIncludeRenditionSize>& GetForceIncludeRenditions() const{ return m_forceIncludeRenditions; }
67 inline bool ForceIncludeRenditionsHasBeenSet() const { return m_forceIncludeRenditionsHasBeenSet; }
68 inline void SetForceIncludeRenditions(const Aws::Vector<ForceIncludeRenditionSize>& value) { m_forceIncludeRenditionsHasBeenSet = true; m_forceIncludeRenditions = value; }
69 inline void SetForceIncludeRenditions(Aws::Vector<ForceIncludeRenditionSize>&& value) { m_forceIncludeRenditionsHasBeenSet = true; m_forceIncludeRenditions = std::move(value); }
72 inline AutomatedAbrRule& AddForceIncludeRenditions(const ForceIncludeRenditionSize& value) { m_forceIncludeRenditionsHasBeenSet = true; m_forceIncludeRenditions.push_back(value); return *this; }
73 inline AutomatedAbrRule& AddForceIncludeRenditions(ForceIncludeRenditionSize&& value) { m_forceIncludeRenditionsHasBeenSet = true; m_forceIncludeRenditions.push_back(std::move(value)); return *this; }
75
77
86 inline const MinBottomRenditionSize& GetMinBottomRenditionSize() const{ return m_minBottomRenditionSize; }
87 inline bool MinBottomRenditionSizeHasBeenSet() const { return m_minBottomRenditionSizeHasBeenSet; }
88 inline void SetMinBottomRenditionSize(const MinBottomRenditionSize& value) { m_minBottomRenditionSizeHasBeenSet = true; m_minBottomRenditionSize = value; }
89 inline void SetMinBottomRenditionSize(MinBottomRenditionSize&& value) { m_minBottomRenditionSizeHasBeenSet = true; m_minBottomRenditionSize = std::move(value); }
93
95
104 inline const MinTopRenditionSize& GetMinTopRenditionSize() const{ return m_minTopRenditionSize; }
105 inline bool MinTopRenditionSizeHasBeenSet() const { return m_minTopRenditionSizeHasBeenSet; }
106 inline void SetMinTopRenditionSize(const MinTopRenditionSize& value) { m_minTopRenditionSizeHasBeenSet = true; m_minTopRenditionSize = value; }
107 inline void SetMinTopRenditionSize(MinTopRenditionSize&& value) { m_minTopRenditionSizeHasBeenSet = true; m_minTopRenditionSize = std::move(value); }
109 inline AutomatedAbrRule& WithMinTopRenditionSize(MinTopRenditionSize&& value) { SetMinTopRenditionSize(std::move(value)); return *this;}
111
113
147 inline const RuleType& GetType() const{ return m_type; }
148 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
149 inline void SetType(const RuleType& value) { m_typeHasBeenSet = true; m_type = value; }
150 inline void SetType(RuleType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
151 inline AutomatedAbrRule& WithType(const RuleType& value) { SetType(value); return *this;}
152 inline AutomatedAbrRule& WithType(RuleType&& value) { SetType(std::move(value)); return *this;}
154 private:
155
156 Aws::Vector<AllowedRenditionSize> m_allowedRenditions;
157 bool m_allowedRenditionsHasBeenSet = false;
158
159 Aws::Vector<ForceIncludeRenditionSize> m_forceIncludeRenditions;
160 bool m_forceIncludeRenditionsHasBeenSet = false;
161
162 MinBottomRenditionSize m_minBottomRenditionSize;
163 bool m_minBottomRenditionSizeHasBeenSet = false;
164
165 MinTopRenditionSize m_minTopRenditionSize;
166 bool m_minTopRenditionSizeHasBeenSet = false;
167
168 RuleType m_type;
169 bool m_typeHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace MediaConvert
174} // namespace Aws
void SetAllowedRenditions(const Aws::Vector< AllowedRenditionSize > &value)
AutomatedAbrRule & WithMinTopRenditionSize(const MinTopRenditionSize &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ForceIncludeRenditionSize > & GetForceIncludeRenditions() const
void SetMinBottomRenditionSize(MinBottomRenditionSize &&value)
void SetMinTopRenditionSize(const MinTopRenditionSize &value)
AWS_MEDIACONVERT_API AutomatedAbrRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedAbrRule & WithType(const RuleType &value)
AutomatedAbrRule & AddForceIncludeRenditions(const ForceIncludeRenditionSize &value)
const MinTopRenditionSize & GetMinTopRenditionSize() const
AutomatedAbrRule & WithAllowedRenditions(const Aws::Vector< AllowedRenditionSize > &value)
AutomatedAbrRule & AddAllowedRenditions(AllowedRenditionSize &&value)
void SetForceIncludeRenditions(const Aws::Vector< ForceIncludeRenditionSize > &value)
const MinBottomRenditionSize & GetMinBottomRenditionSize() const
AutomatedAbrRule & WithType(RuleType &&value)
AutomatedAbrRule & WithMinTopRenditionSize(MinTopRenditionSize &&value)
void SetMinBottomRenditionSize(const MinBottomRenditionSize &value)
const Aws::Vector< AllowedRenditionSize > & GetAllowedRenditions() const
AutomatedAbrRule & WithForceIncludeRenditions(const Aws::Vector< ForceIncludeRenditionSize > &value)
AutomatedAbrRule & WithMinBottomRenditionSize(const MinBottomRenditionSize &value)
AutomatedAbrRule & WithAllowedRenditions(Aws::Vector< AllowedRenditionSize > &&value)
AutomatedAbrRule & WithMinBottomRenditionSize(MinBottomRenditionSize &&value)
void SetMinTopRenditionSize(MinTopRenditionSize &&value)
AutomatedAbrRule & AddAllowedRenditions(const AllowedRenditionSize &value)
AWS_MEDIACONVERT_API AutomatedAbrRule(Aws::Utils::Json::JsonView jsonValue)
void SetForceIncludeRenditions(Aws::Vector< ForceIncludeRenditionSize > &&value)
AutomatedAbrRule & WithForceIncludeRenditions(Aws::Vector< ForceIncludeRenditionSize > &&value)
AutomatedAbrRule & AddForceIncludeRenditions(ForceIncludeRenditionSize &&value)
void SetAllowedRenditions(Aws::Vector< AllowedRenditionSize > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue