AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHubDeviceArn(const Aws::String& value) { m_hubDeviceArnHasBeenSet = true; m_hubDeviceArn = value; }
52 inline void SetHubDeviceArn(Aws::String&& value) { m_hubDeviceArnHasBeenSet = true; m_hubDeviceArn = std::move(value); }
53 inline void SetHubDeviceArn(const char* value) { m_hubDeviceArnHasBeenSet = true; m_hubDeviceArn.assign(value); }
54 inline EdgeConfig& WithHubDeviceArn(const Aws::String& value) { SetHubDeviceArn(value); return *this;}
55 inline EdgeConfig& WithHubDeviceArn(Aws::String&& value) { SetHubDeviceArn(std::move(value)); return *this;}
56 inline EdgeConfig& WithHubDeviceArn(const char* value) { SetHubDeviceArn(value); return *this;}
58
60
65 inline const RecorderConfig& GetRecorderConfig() const{ return m_recorderConfig; }
66 inline bool RecorderConfigHasBeenSet() const { return m_recorderConfigHasBeenSet; }
67 inline void SetRecorderConfig(const RecorderConfig& value) { m_recorderConfigHasBeenSet = true; m_recorderConfig = value; }
68 inline void SetRecorderConfig(RecorderConfig&& value) { m_recorderConfigHasBeenSet = true; m_recorderConfig = std::move(value); }
69 inline EdgeConfig& WithRecorderConfig(const RecorderConfig& value) { SetRecorderConfig(value); return *this;}
70 inline EdgeConfig& WithRecorderConfig(RecorderConfig&& value) { SetRecorderConfig(std::move(value)); return *this;}
72
74
79 inline const UploaderConfig& GetUploaderConfig() const{ return m_uploaderConfig; }
80 inline bool UploaderConfigHasBeenSet() const { return m_uploaderConfigHasBeenSet; }
81 inline void SetUploaderConfig(const UploaderConfig& value) { m_uploaderConfigHasBeenSet = true; m_uploaderConfig = value; }
82 inline void SetUploaderConfig(UploaderConfig&& value) { m_uploaderConfigHasBeenSet = true; m_uploaderConfig = std::move(value); }
83 inline EdgeConfig& WithUploaderConfig(const UploaderConfig& value) { SetUploaderConfig(value); return *this;}
84 inline EdgeConfig& WithUploaderConfig(UploaderConfig&& value) { SetUploaderConfig(std::move(value)); return *this;}
86
88
93 inline const DeletionConfig& GetDeletionConfig() const{ return m_deletionConfig; }
94 inline bool DeletionConfigHasBeenSet() const { return m_deletionConfigHasBeenSet; }
95 inline void SetDeletionConfig(const DeletionConfig& value) { m_deletionConfigHasBeenSet = true; m_deletionConfig = value; }
96 inline void SetDeletionConfig(DeletionConfig&& value) { m_deletionConfigHasBeenSet = true; m_deletionConfig = std::move(value); }
97 inline EdgeConfig& WithDeletionConfig(const DeletionConfig& value) { SetDeletionConfig(value); return *this;}
98 inline EdgeConfig& WithDeletionConfig(DeletionConfig&& value) { SetDeletionConfig(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_hubDeviceArn;
103 bool m_hubDeviceArnHasBeenSet = false;
104
105 RecorderConfig m_recorderConfig;
106 bool m_recorderConfigHasBeenSet = false;
107
108 UploaderConfig m_uploaderConfig;
109 bool m_uploaderConfigHasBeenSet = false;
110
111 DeletionConfig m_deletionConfig;
112 bool m_deletionConfigHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace KinesisVideo
117} // namespace Aws
void SetUploaderConfig(UploaderConfig &&value)
Definition EdgeConfig.h:82
void SetDeletionConfig(DeletionConfig &&value)
Definition EdgeConfig.h:96
void SetHubDeviceArn(const Aws::String &value)
Definition EdgeConfig.h:51
EdgeConfig & WithHubDeviceArn(const Aws::String &value)
Definition EdgeConfig.h:54
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
EdgeConfig & WithRecorderConfig(const RecorderConfig &value)
Definition EdgeConfig.h:69
EdgeConfig & WithHubDeviceArn(Aws::String &&value)
Definition EdgeConfig.h:55
AWS_KINESISVIDEO_API EdgeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeletionConfig(const DeletionConfig &value)
Definition EdgeConfig.h:95
const RecorderConfig & GetRecorderConfig() const
Definition EdgeConfig.h:65
EdgeConfig & WithUploaderConfig(const UploaderConfig &value)
Definition EdgeConfig.h:83
void SetHubDeviceArn(const char *value)
Definition EdgeConfig.h:53
EdgeConfig & WithDeletionConfig(const DeletionConfig &value)
Definition EdgeConfig.h:97
void SetHubDeviceArn(Aws::String &&value)
Definition EdgeConfig.h:52
void SetRecorderConfig(const RecorderConfig &value)
Definition EdgeConfig.h:67
EdgeConfig & WithRecorderConfig(RecorderConfig &&value)
Definition EdgeConfig.h:70
void SetRecorderConfig(RecorderConfig &&value)
Definition EdgeConfig.h:68
void SetUploaderConfig(const UploaderConfig &value)
Definition EdgeConfig.h:81
EdgeConfig & WithDeletionConfig(DeletionConfig &&value)
Definition EdgeConfig.h:98
EdgeConfig & WithUploaderConfig(UploaderConfig &&value)
Definition EdgeConfig.h:84
AWS_KINESISVIDEO_API EdgeConfig()
const Aws::String & GetHubDeviceArn() const
Definition EdgeConfig.h:49
const DeletionConfig & GetDeletionConfig() const
Definition EdgeConfig.h:93
AWS_KINESISVIDEO_API EdgeConfig(Aws::Utils::Json::JsonView jsonValue)
const UploaderConfig & GetUploaderConfig() const
Definition EdgeConfig.h:79
EdgeConfig & WithHubDeviceArn(const char *value)
Definition EdgeConfig.h:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue