AWS SDK for C++  1.9.160
AWS SDK for C++
KinesisVideoStreamConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetPrefix() const{ return m_prefix; }
46 
50  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
51 
55  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
56 
60  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
61 
65  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
66 
70  inline KinesisVideoStreamConfig& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
71 
75  inline KinesisVideoStreamConfig& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
76 
80  inline KinesisVideoStreamConfig& WithPrefix(const char* value) { SetPrefix(value); return *this;}
81 
82 
88  inline int GetRetentionPeriodHours() const{ return m_retentionPeriodHours; }
89 
95  inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
96 
102  inline void SetRetentionPeriodHours(int value) { m_retentionPeriodHoursHasBeenSet = true; m_retentionPeriodHours = value; }
103 
109  inline KinesisVideoStreamConfig& WithRetentionPeriodHours(int value) { SetRetentionPeriodHours(value); return *this;}
110 
111 
115  inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; }
116 
120  inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
121 
125  inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; }
126 
130  inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); }
131 
135  inline KinesisVideoStreamConfig& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;}
136 
140  inline KinesisVideoStreamConfig& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;}
141 
142  private:
143 
144  Aws::String m_prefix;
145  bool m_prefixHasBeenSet;
146 
147  int m_retentionPeriodHours;
148  bool m_retentionPeriodHoursHasBeenSet;
149 
150  EncryptionConfig m_encryptionConfig;
151  bool m_encryptionConfigHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace Connect
156 } // namespace Aws
Aws::Connect::Model::KinesisVideoStreamConfig::SetPrefix
void SetPrefix(const char *value)
Definition: KinesisVideoStreamConfig.h:65
Aws::Connect::Model::KinesisVideoStreamConfig::WithEncryptionConfig
KinesisVideoStreamConfig & WithEncryptionConfig(EncryptionConfig &&value)
Definition: KinesisVideoStreamConfig.h:140
Aws::Connect::Model::KinesisVideoStreamConfig::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: KinesisVideoStreamConfig.h:55
Aws::Connect::Model::KinesisVideoStreamConfig::WithEncryptionConfig
KinesisVideoStreamConfig & WithEncryptionConfig(const EncryptionConfig &value)
Definition: KinesisVideoStreamConfig.h:135
Aws::Connect::Model::KinesisVideoStreamConfig::SetRetentionPeriodHours
void SetRetentionPeriodHours(int value)
Definition: KinesisVideoStreamConfig.h:102
Aws::Connect::Model::KinesisVideoStreamConfig::WithRetentionPeriodHours
KinesisVideoStreamConfig & WithRetentionPeriodHours(int value)
Definition: KinesisVideoStreamConfig.h:109
Aws::Connect::Model::KinesisVideoStreamConfig::RetentionPeriodHoursHasBeenSet
bool RetentionPeriodHoursHasBeenSet() const
Definition: KinesisVideoStreamConfig.h:95
Aws::Connect::Model::KinesisVideoStreamConfig::operator=
KinesisVideoStreamConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::KinesisVideoStreamConfig::EncryptionConfigHasBeenSet
bool EncryptionConfigHasBeenSet() const
Definition: KinesisVideoStreamConfig.h:120
Aws::Connect::Model::KinesisVideoStreamConfig
Definition: KinesisVideoStreamConfig.h:34
Aws::Connect::Model::KinesisVideoStreamConfig::SetEncryptionConfig
void SetEncryptionConfig(EncryptionConfig &&value)
Definition: KinesisVideoStreamConfig.h:130
Aws::Connect::Model::KinesisVideoStreamConfig::GetEncryptionConfig
const EncryptionConfig & GetEncryptionConfig() const
Definition: KinesisVideoStreamConfig.h:115
EncryptionConfig.h
Aws::Connect::Model::KinesisVideoStreamConfig::WithPrefix
KinesisVideoStreamConfig & WithPrefix(Aws::String &&value)
Definition: KinesisVideoStreamConfig.h:75
Aws::Connect::Model::KinesisVideoStreamConfig::SetEncryptionConfig
void SetEncryptionConfig(const EncryptionConfig &value)
Definition: KinesisVideoStreamConfig.h:125
Aws::Connect::Model::KinesisVideoStreamConfig::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: KinesisVideoStreamConfig.h:50
Aws::Connect::Model::KinesisVideoStreamConfig::GetPrefix
const Aws::String & GetPrefix() const
Definition: KinesisVideoStreamConfig.h:45
Aws::Connect::Model::KinesisVideoStreamConfig::GetRetentionPeriodHours
int GetRetentionPeriodHours() const
Definition: KinesisVideoStreamConfig.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Connect::Model::KinesisVideoStreamConfig::WithPrefix
KinesisVideoStreamConfig & WithPrefix(const Aws::String &value)
Definition: KinesisVideoStreamConfig.h:70
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::KinesisVideoStreamConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::KinesisVideoStreamConfig::KinesisVideoStreamConfig
KinesisVideoStreamConfig()
Aws::Connect::Model::KinesisVideoStreamConfig::WithPrefix
KinesisVideoStreamConfig & WithPrefix(const char *value)
Definition: KinesisVideoStreamConfig.h:80
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::EncryptionConfig
Definition: EncryptionConfig.h:33
Aws::Connect::Model::KinesisVideoStreamConfig::KinesisVideoStreamConfig
KinesisVideoStreamConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::KinesisVideoStreamConfig::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: KinesisVideoStreamConfig.h:60