AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DashEncryption.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/mediapackage/model/SpekeKeyProvider.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaPackage
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIAPACKAGE_API DashEncryption();
36 AWS_MEDIAPACKAGE_API DashEncryption(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGE_API DashEncryption& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetKeyRotationIntervalSeconds() const{ return m_keyRotationIntervalSeconds; }
46 inline bool KeyRotationIntervalSecondsHasBeenSet() const { return m_keyRotationIntervalSecondsHasBeenSet; }
47 inline void SetKeyRotationIntervalSeconds(int value) { m_keyRotationIntervalSecondsHasBeenSet = true; m_keyRotationIntervalSeconds = value; }
50
52
53 inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
54 inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
55 inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
56 inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
57 inline DashEncryption& WithSpekeKeyProvider(const SpekeKeyProvider& value) { SetSpekeKeyProvider(value); return *this;}
58 inline DashEncryption& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
60 private:
61
62 int m_keyRotationIntervalSeconds;
63 bool m_keyRotationIntervalSecondsHasBeenSet = false;
64
65 SpekeKeyProvider m_spekeKeyProvider;
66 bool m_spekeKeyProviderHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MediaPackage
71} // namespace Aws
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
DashEncryption & WithSpekeKeyProvider(SpekeKeyProvider &&value)
void SetSpekeKeyProvider(const SpekeKeyProvider &value)
AWS_MEDIAPACKAGE_API DashEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
const SpekeKeyProvider & GetSpekeKeyProvider() const
DashEncryption & WithSpekeKeyProvider(const SpekeKeyProvider &value)
AWS_MEDIAPACKAGE_API DashEncryption(Aws::Utils::Json::JsonView jsonValue)
DashEncryption & WithKeyRotationIntervalSeconds(int value)
void SetSpekeKeyProvider(SpekeKeyProvider &&value)
Aws::Utils::Json::JsonValue JsonValue