AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocalSizeConfig.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/StrategyOnFullSize.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KinesisVideo
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_KINESISVIDEO_API LocalSizeConfig();
39 AWS_KINESISVIDEO_API LocalSizeConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISVIDEO_API LocalSizeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline int GetMaxLocalMediaSizeInMB() const{ return m_maxLocalMediaSizeInMB; }
50 inline bool MaxLocalMediaSizeInMBHasBeenSet() const { return m_maxLocalMediaSizeInMBHasBeenSet; }
51 inline void SetMaxLocalMediaSizeInMB(int value) { m_maxLocalMediaSizeInMBHasBeenSet = true; m_maxLocalMediaSizeInMB = value; }
52 inline LocalSizeConfig& WithMaxLocalMediaSizeInMB(int value) { SetMaxLocalMediaSizeInMB(value); return *this;}
54
56
60 inline const StrategyOnFullSize& GetStrategyOnFullSize() const{ return m_strategyOnFullSize; }
61 inline bool StrategyOnFullSizeHasBeenSet() const { return m_strategyOnFullSizeHasBeenSet; }
62 inline void SetStrategyOnFullSize(const StrategyOnFullSize& value) { m_strategyOnFullSizeHasBeenSet = true; m_strategyOnFullSize = value; }
63 inline void SetStrategyOnFullSize(StrategyOnFullSize&& value) { m_strategyOnFullSizeHasBeenSet = true; m_strategyOnFullSize = std::move(value); }
65 inline LocalSizeConfig& WithStrategyOnFullSize(StrategyOnFullSize&& value) { SetStrategyOnFullSize(std::move(value)); return *this;}
67 private:
68
69 int m_maxLocalMediaSizeInMB;
70 bool m_maxLocalMediaSizeInMBHasBeenSet = false;
71
72 StrategyOnFullSize m_strategyOnFullSize;
73 bool m_strategyOnFullSizeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace KinesisVideo
78} // namespace Aws
LocalSizeConfig & WithStrategyOnFullSize(StrategyOnFullSize &&value)
void SetStrategyOnFullSize(StrategyOnFullSize &&value)
const StrategyOnFullSize & GetStrategyOnFullSize() const
AWS_KINESISVIDEO_API LocalSizeConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API LocalSizeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStrategyOnFullSize(const StrategyOnFullSize &value)
LocalSizeConfig & WithStrategyOnFullSize(const StrategyOnFullSize &value)
LocalSizeConfig & WithMaxLocalMediaSizeInMB(int value)
Aws::Utils::Json::JsonValue JsonValue