AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletionConfig.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/LocalSizeConfig.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
33 {
34 public:
35 AWS_KINESISVIDEO_API DeletionConfig();
36 AWS_KINESISVIDEO_API DeletionConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISVIDEO_API DeletionConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline int GetEdgeRetentionInHours() const{ return m_edgeRetentionInHours; }
48 inline bool EdgeRetentionInHoursHasBeenSet() const { return m_edgeRetentionInHoursHasBeenSet; }
49 inline void SetEdgeRetentionInHours(int value) { m_edgeRetentionInHoursHasBeenSet = true; m_edgeRetentionInHours = value; }
50 inline DeletionConfig& WithEdgeRetentionInHours(int value) { SetEdgeRetentionInHours(value); return *this;}
52
54
58 inline const LocalSizeConfig& GetLocalSizeConfig() const{ return m_localSizeConfig; }
59 inline bool LocalSizeConfigHasBeenSet() const { return m_localSizeConfigHasBeenSet; }
60 inline void SetLocalSizeConfig(const LocalSizeConfig& value) { m_localSizeConfigHasBeenSet = true; m_localSizeConfig = value; }
61 inline void SetLocalSizeConfig(LocalSizeConfig&& value) { m_localSizeConfigHasBeenSet = true; m_localSizeConfig = std::move(value); }
62 inline DeletionConfig& WithLocalSizeConfig(const LocalSizeConfig& value) { SetLocalSizeConfig(value); return *this;}
63 inline DeletionConfig& WithLocalSizeConfig(LocalSizeConfig&& value) { SetLocalSizeConfig(std::move(value)); return *this;}
65
67
78 inline bool GetDeleteAfterUpload() const{ return m_deleteAfterUpload; }
79 inline bool DeleteAfterUploadHasBeenSet() const { return m_deleteAfterUploadHasBeenSet; }
80 inline void SetDeleteAfterUpload(bool value) { m_deleteAfterUploadHasBeenSet = true; m_deleteAfterUpload = value; }
81 inline DeletionConfig& WithDeleteAfterUpload(bool value) { SetDeleteAfterUpload(value); return *this;}
83 private:
84
85 int m_edgeRetentionInHours;
86 bool m_edgeRetentionInHoursHasBeenSet = false;
87
88 LocalSizeConfig m_localSizeConfig;
89 bool m_localSizeConfigHasBeenSet = false;
90
91 bool m_deleteAfterUpload;
92 bool m_deleteAfterUploadHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace KinesisVideo
97} // namespace Aws
const LocalSizeConfig & GetLocalSizeConfig() const
DeletionConfig & WithLocalSizeConfig(const LocalSizeConfig &value)
void SetLocalSizeConfig(LocalSizeConfig &&value)
AWS_KINESISVIDEO_API DeletionConfig(Aws::Utils::Json::JsonView jsonValue)
DeletionConfig & WithDeleteAfterUpload(bool value)
void SetLocalSizeConfig(const LocalSizeConfig &value)
AWS_KINESISVIDEO_API DeletionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeletionConfig & WithEdgeRetentionInHours(int value)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
DeletionConfig & WithLocalSizeConfig(LocalSizeConfig &&value)
Aws::Utils::Json::JsonValue JsonValue