AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
KinesisVideoStreamConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EncryptionConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API KinesisVideoStreamConfig() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetPrefix() const { return m_prefix; }
41 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
42 template <typename PrefixT = Aws::String>
43 void SetPrefix(PrefixT&& value) {
44 m_prefixHasBeenSet = true;
45 m_prefix = std::forward<PrefixT>(value);
46 }
47 template <typename PrefixT = Aws::String>
49 SetPrefix(std::forward<PrefixT>(value));
50 return *this;
51 }
53
55
60 inline int GetRetentionPeriodHours() const { return m_retentionPeriodHours; }
61 inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
62 inline void SetRetentionPeriodHours(int value) {
63 m_retentionPeriodHoursHasBeenSet = true;
64 m_retentionPeriodHours = value;
65 }
68 return *this;
69 }
71
73
76 inline const EncryptionConfig& GetEncryptionConfig() const { return m_encryptionConfig; }
77 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
78 template <typename EncryptionConfigT = EncryptionConfig>
79 void SetEncryptionConfig(EncryptionConfigT&& value) {
80 m_encryptionConfigHasBeenSet = true;
81 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
82 }
83 template <typename EncryptionConfigT = EncryptionConfig>
84 KinesisVideoStreamConfig& WithEncryptionConfig(EncryptionConfigT&& value) {
85 SetEncryptionConfig(std::forward<EncryptionConfigT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_prefix;
91
92 int m_retentionPeriodHours{0};
93
94 EncryptionConfig m_encryptionConfig;
95 bool m_prefixHasBeenSet = false;
96 bool m_retentionPeriodHoursHasBeenSet = false;
97 bool m_encryptionConfigHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Connect
102} // 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