AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KinesisVideoStreamConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/EncryptionConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API KinesisVideoStreamConfig() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPrefix() const { return m_prefix; }
47 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
48 template<typename PrefixT = Aws::String>
49 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
50 template<typename PrefixT = Aws::String>
51 KinesisVideoStreamConfig& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
53
55
60 inline int GetRetentionPeriodHours() const { return m_retentionPeriodHours; }
61 inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
62 inline void SetRetentionPeriodHours(int value) { m_retentionPeriodHoursHasBeenSet = true; m_retentionPeriodHours = value; }
65
67
70 inline const EncryptionConfig& GetEncryptionConfig() const { return m_encryptionConfig; }
71 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
72 template<typename EncryptionConfigT = EncryptionConfig>
73 void SetEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::forward<EncryptionConfigT>(value); }
74 template<typename EncryptionConfigT = EncryptionConfig>
75 KinesisVideoStreamConfig& WithEncryptionConfig(EncryptionConfigT&& value) { SetEncryptionConfig(std::forward<EncryptionConfigT>(value)); return *this;}
77 private:
78
79 Aws::String m_prefix;
80 bool m_prefixHasBeenSet = false;
81
82 int m_retentionPeriodHours{0};
83 bool m_retentionPeriodHoursHasBeenSet = false;
84
85 EncryptionConfig m_encryptionConfig;
86 bool m_encryptionConfigHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
KinesisVideoStreamConfig & WithPrefix(PrefixT &&value)
KinesisVideoStreamConfig & WithRetentionPeriodHours(int value)
KinesisVideoStreamConfig & WithEncryptionConfig(EncryptionConfigT &&value)
AWS_CONNECT_API KinesisVideoStreamConfig()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API KinesisVideoStreamConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API KinesisVideoStreamConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue