AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CompositionThumbnailConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
9#include <aws/ivs-realtime/model/ThumbnailStorageType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ivsrealtime {
21namespace Model {
22
30 public:
31 AWS_IVSREALTIME_API CompositionThumbnailConfiguration() = default;
34 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline int GetTargetIntervalSeconds() const { return m_targetIntervalSeconds; }
41 inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; }
42 inline void SetTargetIntervalSeconds(int value) {
43 m_targetIntervalSecondsHasBeenSet = true;
44 m_targetIntervalSeconds = value;
45 }
48 return *this;
49 }
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) {
67 m_storageHasBeenSet = true;
68 m_storage = std::forward<StorageT>(value);
69 }
70 template <typename StorageT = Aws::Vector<ThumbnailStorageType>>
72 SetStorage(std::forward<StorageT>(value));
73 return *this;
74 }
76 m_storageHasBeenSet = true;
77 m_storage.push_back(value);
78 return *this;
79 }
81 private:
82 int m_targetIntervalSeconds{0};
83
85 bool m_targetIntervalSecondsHasBeenSet = false;
86 bool m_storageHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace ivsrealtime
91} // 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