AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
49 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
50 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
51 inline KinesisVideoStreamConfig& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
52 inline KinesisVideoStreamConfig& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
53 inline KinesisVideoStreamConfig& WithPrefix(const char* value) { SetPrefix(value); return *this;}
55
57
62 inline int GetRetentionPeriodHours() const{ return m_retentionPeriodHours; }
63 inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
64 inline void SetRetentionPeriodHours(int value) { m_retentionPeriodHoursHasBeenSet = true; m_retentionPeriodHours = value; }
67
69
72 inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; }
73 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
74 inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; }
75 inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); }
77 inline KinesisVideoStreamConfig& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_prefix;
82 bool m_prefixHasBeenSet = false;
83
84 int m_retentionPeriodHours;
85 bool m_retentionPeriodHoursHasBeenSet = false;
86
87 EncryptionConfig m_encryptionConfig;
88 bool m_encryptionConfigHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
KinesisVideoStreamConfig & WithEncryptionConfig(const EncryptionConfig &value)
KinesisVideoStreamConfig & WithRetentionPeriodHours(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionConfig(const EncryptionConfig &value)
AWS_CONNECT_API KinesisVideoStreamConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisVideoStreamConfig & WithEncryptionConfig(EncryptionConfig &&value)
KinesisVideoStreamConfig & WithPrefix(const Aws::String &value)
KinesisVideoStreamConfig & WithPrefix(const char *value)
AWS_CONNECT_API KinesisVideoStreamConfig(Aws::Utils::Json::JsonView jsonValue)
KinesisVideoStreamConfig & WithPrefix(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue