AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CompositionThumbnailConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ivs-realtime/model/ThumbnailStorageType.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 ivsrealtime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IVSREALTIME_API CompositionThumbnailConfiguration() = default;
39 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetTargetIntervalSeconds() const { return m_targetIntervalSeconds; }
47 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
48 inline void SetTargetIntervalSeconds(int value) { m_targetIntervalSecondsHasBeenSet = true; m_targetIntervalSeconds = value; }
51
53
63 inline const Aws::Vector<ThumbnailStorageType>& GetStorage() const { return m_storage; }
64 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
65 template<typename StorageT = Aws::Vector<ThumbnailStorageType>>
66 void SetStorage(StorageT&& value) { m_storageHasBeenSet = true; m_storage = std::forward<StorageT>(value); }
67 template<typename StorageT = Aws::Vector<ThumbnailStorageType>>
68 CompositionThumbnailConfiguration& WithStorage(StorageT&& value) { SetStorage(std::forward<StorageT>(value)); return *this;}
69 inline CompositionThumbnailConfiguration& AddStorage(ThumbnailStorageType value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; }
71 private:
72
73 int m_targetIntervalSeconds{0};
74 bool m_targetIntervalSecondsHasBeenSet = false;
75
77 bool m_storageHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ivsrealtime
82} // namespace Aws
CompositionThumbnailConfiguration & WithTargetIntervalSeconds(int value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
CompositionThumbnailConfiguration & AddStorage(ThumbnailStorageType value)
AWS_IVSREALTIME_API CompositionThumbnailConfiguration(Aws::Utils::Json::JsonView jsonValue)
CompositionThumbnailConfiguration & WithStorage(StorageT &&value)
AWS_IVSREALTIME_API CompositionThumbnailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ThumbnailStorageType > & GetStorage() const
AWS_IVSREALTIME_API CompositionThumbnailConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue