AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Scte.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediapackagev2/model/ScteFilter.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mediapackagev2
23{
24namespace Model
25{
26
32 class Scte
33 {
34 public:
35 AWS_MEDIAPACKAGEV2_API Scte();
36 AWS_MEDIAPACKAGEV2_API Scte(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEV2_API Scte& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<ScteFilter>& GetScteFilter() const{ return m_scteFilter; }
47 inline bool ScteFilterHasBeenSet() const { return m_scteFilterHasBeenSet; }
48 inline void SetScteFilter(const Aws::Vector<ScteFilter>& value) { m_scteFilterHasBeenSet = true; m_scteFilter = value; }
49 inline void SetScteFilter(Aws::Vector<ScteFilter>&& value) { m_scteFilterHasBeenSet = true; m_scteFilter = std::move(value); }
50 inline Scte& WithScteFilter(const Aws::Vector<ScteFilter>& value) { SetScteFilter(value); return *this;}
51 inline Scte& WithScteFilter(Aws::Vector<ScteFilter>&& value) { SetScteFilter(std::move(value)); return *this;}
52 inline Scte& AddScteFilter(const ScteFilter& value) { m_scteFilterHasBeenSet = true; m_scteFilter.push_back(value); return *this; }
53 inline Scte& AddScteFilter(ScteFilter&& value) { m_scteFilterHasBeenSet = true; m_scteFilter.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<ScteFilter> m_scteFilter;
58 bool m_scteFilterHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace mediapackagev2
63} // namespace Aws
AWS_MEDIAPACKAGEV2_API Scte()
bool ScteFilterHasBeenSet() const
Definition Scte.h:47
Scte & AddScteFilter(ScteFilter &&value)
Definition Scte.h:53
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
Scte & WithScteFilter(const Aws::Vector< ScteFilter > &value)
Definition Scte.h:50
Scte & WithScteFilter(Aws::Vector< ScteFilter > &&value)
Definition Scte.h:51
Scte & AddScteFilter(const ScteFilter &value)
Definition Scte.h:52
const Aws::Vector< ScteFilter > & GetScteFilter() const
Definition Scte.h:46
AWS_MEDIAPACKAGEV2_API Scte & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScteFilter(Aws::Vector< ScteFilter > &&value)
Definition Scte.h:49
void SetScteFilter(const Aws::Vector< ScteFilter > &value)
Definition Scte.h:48
AWS_MEDIAPACKAGEV2_API Scte(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue