AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EdgeConfig.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisvideo/model/RecorderConfig.h>
10#include <aws/kinesisvideo/model/UploaderConfig.h>
11#include <aws/kinesisvideo/model/DeletionConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KinesisVideo
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_KINESISVIDEO_API EdgeConfig() = default;
40 AWS_KINESISVIDEO_API EdgeConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISVIDEO_API EdgeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetHubDeviceArn() const { return m_hubDeviceArn; }
50 inline bool HubDeviceArnHasBeenSet() const { return m_hubDeviceArnHasBeenSet; }
51 template<typename HubDeviceArnT = Aws::String>
52 void SetHubDeviceArn(HubDeviceArnT&& value) { m_hubDeviceArnHasBeenSet = true; m_hubDeviceArn = std::forward<HubDeviceArnT>(value); }
53 template<typename HubDeviceArnT = Aws::String>
54 EdgeConfig& WithHubDeviceArn(HubDeviceArnT&& value) { SetHubDeviceArn(std::forward<HubDeviceArnT>(value)); return *this;}
56
58
63 inline const RecorderConfig& GetRecorderConfig() const { return m_recorderConfig; }
64 inline bool RecorderConfigHasBeenSet() const { return m_recorderConfigHasBeenSet; }
65 template<typename RecorderConfigT = RecorderConfig>
66 void SetRecorderConfig(RecorderConfigT&& value) { m_recorderConfigHasBeenSet = true; m_recorderConfig = std::forward<RecorderConfigT>(value); }
67 template<typename RecorderConfigT = RecorderConfig>
68 EdgeConfig& WithRecorderConfig(RecorderConfigT&& value) { SetRecorderConfig(std::forward<RecorderConfigT>(value)); return *this;}
70
72
77 inline const UploaderConfig& GetUploaderConfig() const { return m_uploaderConfig; }
78 inline bool UploaderConfigHasBeenSet() const { return m_uploaderConfigHasBeenSet; }
79 template<typename UploaderConfigT = UploaderConfig>
80 void SetUploaderConfig(UploaderConfigT&& value) { m_uploaderConfigHasBeenSet = true; m_uploaderConfig = std::forward<UploaderConfigT>(value); }
81 template<typename UploaderConfigT = UploaderConfig>
82 EdgeConfig& WithUploaderConfig(UploaderConfigT&& value) { SetUploaderConfig(std::forward<UploaderConfigT>(value)); return *this;}
84
86
91 inline const DeletionConfig& GetDeletionConfig() const { return m_deletionConfig; }
92 inline bool DeletionConfigHasBeenSet() const { return m_deletionConfigHasBeenSet; }
93 template<typename DeletionConfigT = DeletionConfig>
94 void SetDeletionConfig(DeletionConfigT&& value) { m_deletionConfigHasBeenSet = true; m_deletionConfig = std::forward<DeletionConfigT>(value); }
95 template<typename DeletionConfigT = DeletionConfig>
96 EdgeConfig& WithDeletionConfig(DeletionConfigT&& value) { SetDeletionConfig(std::forward<DeletionConfigT>(value)); return *this;}
98 private:
99
100 Aws::String m_hubDeviceArn;
101 bool m_hubDeviceArnHasBeenSet = false;
102
103 RecorderConfig m_recorderConfig;
104 bool m_recorderConfigHasBeenSet = false;
105
106 UploaderConfig m_uploaderConfig;
107 bool m_uploaderConfigHasBeenSet = false;
108
109 DeletionConfig m_deletionConfig;
110 bool m_deletionConfigHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace KinesisVideo
115} // namespace Aws
void SetDeletionConfig(DeletionConfigT &&value)
Definition EdgeConfig.h:94
AWS_KINESISVIDEO_API EdgeConfig()=default
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API EdgeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const RecorderConfig & GetRecorderConfig() const
Definition EdgeConfig.h:63
EdgeConfig & WithHubDeviceArn(HubDeviceArnT &&value)
Definition EdgeConfig.h:54
EdgeConfig & WithUploaderConfig(UploaderConfigT &&value)
Definition EdgeConfig.h:82
void SetHubDeviceArn(HubDeviceArnT &&value)
Definition EdgeConfig.h:52
void SetUploaderConfig(UploaderConfigT &&value)
Definition EdgeConfig.h:80
const Aws::String & GetHubDeviceArn() const
Definition EdgeConfig.h:49
const DeletionConfig & GetDeletionConfig() const
Definition EdgeConfig.h:91
AWS_KINESISVIDEO_API EdgeConfig(Aws::Utils::Json::JsonView jsonValue)
void SetRecorderConfig(RecorderConfigT &&value)
Definition EdgeConfig.h:66
const UploaderConfig & GetUploaderConfig() const
Definition EdgeConfig.h:77
EdgeConfig & WithRecorderConfig(RecorderConfigT &&value)
Definition EdgeConfig.h:68
EdgeConfig & WithDeletionConfig(DeletionConfigT &&value)
Definition EdgeConfig.h:96
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue