AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeSignalMessage.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediatailor/model/SegmentationDescriptor.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 MediaTailor
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_MEDIATAILOR_API TimeSignalMessage();
45 AWS_MEDIATAILOR_API TimeSignalMessage(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::Vector<SegmentationDescriptor>& GetSegmentationDescriptors() const{ return m_segmentationDescriptors; }
56 inline bool SegmentationDescriptorsHasBeenSet() const { return m_segmentationDescriptorsHasBeenSet; }
57 inline void SetSegmentationDescriptors(const Aws::Vector<SegmentationDescriptor>& value) { m_segmentationDescriptorsHasBeenSet = true; m_segmentationDescriptors = value; }
58 inline void SetSegmentationDescriptors(Aws::Vector<SegmentationDescriptor>&& value) { m_segmentationDescriptorsHasBeenSet = true; m_segmentationDescriptors = std::move(value); }
61 inline TimeSignalMessage& AddSegmentationDescriptors(const SegmentationDescriptor& value) { m_segmentationDescriptorsHasBeenSet = true; m_segmentationDescriptors.push_back(value); return *this; }
62 inline TimeSignalMessage& AddSegmentationDescriptors(SegmentationDescriptor&& value) { m_segmentationDescriptorsHasBeenSet = true; m_segmentationDescriptors.push_back(std::move(value)); return *this; }
64 private:
65
66 Aws::Vector<SegmentationDescriptor> m_segmentationDescriptors;
67 bool m_segmentationDescriptorsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace MediaTailor
72} // namespace Aws
void SetSegmentationDescriptors(Aws::Vector< SegmentationDescriptor > &&value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIATAILOR_API TimeSignalMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeSignalMessage & AddSegmentationDescriptors(SegmentationDescriptor &&value)
const Aws::Vector< SegmentationDescriptor > & GetSegmentationDescriptors() const
TimeSignalMessage & WithSegmentationDescriptors(Aws::Vector< SegmentationDescriptor > &&value)
void SetSegmentationDescriptors(const Aws::Vector< SegmentationDescriptor > &value)
TimeSignalMessage & WithSegmentationDescriptors(const Aws::Vector< SegmentationDescriptor > &value)
TimeSignalMessage & AddSegmentationDescriptors(const SegmentationDescriptor &value)
AWS_MEDIATAILOR_API TimeSignalMessage(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue