AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
EdgeConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
9#include <aws/kinesisvideo/model/DeletionConfig.h>
10#include <aws/kinesisvideo/model/RecorderConfig.h>
11#include <aws/kinesisvideo/model/UploaderConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisVideo {
23namespace Model {
24
33 public:
34 AWS_KINESISVIDEO_API EdgeConfig() = default;
35 AWS_KINESISVIDEO_API EdgeConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KINESISVIDEO_API EdgeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetHubDeviceArn() const { return m_hubDeviceArn; }
44 inline bool HubDeviceArnHasBeenSet() const { return m_hubDeviceArnHasBeenSet; }
45 template <typename HubDeviceArnT = Aws::String>
46 void SetHubDeviceArn(HubDeviceArnT&& value) {
47 m_hubDeviceArnHasBeenSet = true;
48 m_hubDeviceArn = std::forward<HubDeviceArnT>(value);
49 }
50 template <typename HubDeviceArnT = Aws::String>
51 EdgeConfig& WithHubDeviceArn(HubDeviceArnT&& value) {
52 SetHubDeviceArn(std::forward<HubDeviceArnT>(value));
53 return *this;
54 }
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) {
67 m_recorderConfigHasBeenSet = true;
68 m_recorderConfig = std::forward<RecorderConfigT>(value);
69 }
70 template <typename RecorderConfigT = RecorderConfig>
71 EdgeConfig& WithRecorderConfig(RecorderConfigT&& value) {
72 SetRecorderConfig(std::forward<RecorderConfigT>(value));
73 return *this;
74 }
76
78
83 inline const UploaderConfig& GetUploaderConfig() const { return m_uploaderConfig; }
84 inline bool UploaderConfigHasBeenSet() const { return m_uploaderConfigHasBeenSet; }
85 template <typename UploaderConfigT = UploaderConfig>
86 void SetUploaderConfig(UploaderConfigT&& value) {
87 m_uploaderConfigHasBeenSet = true;
88 m_uploaderConfig = std::forward<UploaderConfigT>(value);
89 }
90 template <typename UploaderConfigT = UploaderConfig>
91 EdgeConfig& WithUploaderConfig(UploaderConfigT&& value) {
92 SetUploaderConfig(std::forward<UploaderConfigT>(value));
93 return *this;
94 }
96
98
103 inline const DeletionConfig& GetDeletionConfig() const { return m_deletionConfig; }
104 inline bool DeletionConfigHasBeenSet() const { return m_deletionConfigHasBeenSet; }
105 template <typename DeletionConfigT = DeletionConfig>
106 void SetDeletionConfig(DeletionConfigT&& value) {
107 m_deletionConfigHasBeenSet = true;
108 m_deletionConfig = std::forward<DeletionConfigT>(value);
109 }
110 template <typename DeletionConfigT = DeletionConfig>
111 EdgeConfig& WithDeletionConfig(DeletionConfigT&& value) {
112 SetDeletionConfig(std::forward<DeletionConfigT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_hubDeviceArn;
118
119 RecorderConfig m_recorderConfig;
120
121 UploaderConfig m_uploaderConfig;
122
123 DeletionConfig m_deletionConfig;
124 bool m_hubDeviceArnHasBeenSet = false;
125 bool m_recorderConfigHasBeenSet = false;
126 bool m_uploaderConfigHasBeenSet = false;
127 bool m_deletionConfigHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace KinesisVideo
132} // namespace Aws
void SetDeletionConfig(DeletionConfigT &&value)
Definition EdgeConfig.h:106
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:51
EdgeConfig & WithUploaderConfig(UploaderConfigT &&value)
Definition EdgeConfig.h:91
void SetHubDeviceArn(HubDeviceArnT &&value)
Definition EdgeConfig.h:46
void SetUploaderConfig(UploaderConfigT &&value)
Definition EdgeConfig.h:86
const Aws::String & GetHubDeviceArn() const
Definition EdgeConfig.h:43
const DeletionConfig & GetDeletionConfig() const
Definition EdgeConfig.h:103
AWS_KINESISVIDEO_API EdgeConfig(Aws::Utils::Json::JsonView jsonValue)
void SetRecorderConfig(RecorderConfigT &&value)
Definition EdgeConfig.h:66
const UploaderConfig & GetUploaderConfig() const
Definition EdgeConfig.h:83
EdgeConfig & WithRecorderConfig(RecorderConfigT &&value)
Definition EdgeConfig.h:71
EdgeConfig & WithDeletionConfig(DeletionConfigT &&value)
Definition EdgeConfig.h:111
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue