AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncryptionMethod.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/model/TsEncryptionMethod.h>
9#include <aws/mediapackagev2/model/CmafEncryptionMethod.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 mediapackagev2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIAPACKAGEV2_API EncryptionMethod();
36 AWS_MEDIAPACKAGEV2_API EncryptionMethod(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEV2_API EncryptionMethod& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const TsEncryptionMethod& GetTsEncryptionMethod() const{ return m_tsEncryptionMethod; }
46 inline bool TsEncryptionMethodHasBeenSet() const { return m_tsEncryptionMethodHasBeenSet; }
47 inline void SetTsEncryptionMethod(const TsEncryptionMethod& value) { m_tsEncryptionMethodHasBeenSet = true; m_tsEncryptionMethod = value; }
48 inline void SetTsEncryptionMethod(TsEncryptionMethod&& value) { m_tsEncryptionMethodHasBeenSet = true; m_tsEncryptionMethod = std::move(value); }
50 inline EncryptionMethod& WithTsEncryptionMethod(TsEncryptionMethod&& value) { SetTsEncryptionMethod(std::move(value)); return *this;}
52
54
57 inline const CmafEncryptionMethod& GetCmafEncryptionMethod() const{ return m_cmafEncryptionMethod; }
58 inline bool CmafEncryptionMethodHasBeenSet() const { return m_cmafEncryptionMethodHasBeenSet; }
59 inline void SetCmafEncryptionMethod(const CmafEncryptionMethod& value) { m_cmafEncryptionMethodHasBeenSet = true; m_cmafEncryptionMethod = value; }
60 inline void SetCmafEncryptionMethod(CmafEncryptionMethod&& value) { m_cmafEncryptionMethodHasBeenSet = true; m_cmafEncryptionMethod = std::move(value); }
64 private:
65
66 TsEncryptionMethod m_tsEncryptionMethod;
67 bool m_tsEncryptionMethodHasBeenSet = false;
68
69 CmafEncryptionMethod m_cmafEncryptionMethod;
70 bool m_cmafEncryptionMethodHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace mediapackagev2
75} // namespace Aws
EncryptionMethod & WithTsEncryptionMethod(TsEncryptionMethod &&value)
const CmafEncryptionMethod & GetCmafEncryptionMethod() const
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCmafEncryptionMethod(const CmafEncryptionMethod &value)
EncryptionMethod & WithCmafEncryptionMethod(CmafEncryptionMethod &&value)
const TsEncryptionMethod & GetTsEncryptionMethod() const
AWS_MEDIAPACKAGEV2_API EncryptionMethod & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API EncryptionMethod(Aws::Utils::Json::JsonView jsonValue)
EncryptionMethod & WithCmafEncryptionMethod(const CmafEncryptionMethod &value)
EncryptionMethod & WithTsEncryptionMethod(const TsEncryptionMethod &value)
void SetTsEncryptionMethod(TsEncryptionMethod &&value)
void SetTsEncryptionMethod(const TsEncryptionMethod &value)
void SetCmafEncryptionMethod(CmafEncryptionMethod &&value)
Aws::Utils::Json::JsonValue JsonValue