AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EncryptionMethod.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/model/CmafEncryptionMethod.h>
9#include <aws/mediapackagev2/model/IsmEncryptionMethod.h>
10#include <aws/mediapackagev2/model/TsEncryptionMethod.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mediapackagev2 {
22namespace Model {
23
30 public:
31 AWS_MEDIAPACKAGEV2_API EncryptionMethod() = default;
32 AWS_MEDIAPACKAGEV2_API EncryptionMethod(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGEV2_API EncryptionMethod& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline TsEncryptionMethod GetTsEncryptionMethod() const { return m_tsEncryptionMethod; }
41 inline bool TsEncryptionMethodHasBeenSet() const { return m_tsEncryptionMethodHasBeenSet; }
43 m_tsEncryptionMethodHasBeenSet = true;
44 m_tsEncryptionMethod = value;
45 }
48 return *this;
49 }
51
53
56 inline CmafEncryptionMethod GetCmafEncryptionMethod() const { return m_cmafEncryptionMethod; }
57 inline bool CmafEncryptionMethodHasBeenSet() const { return m_cmafEncryptionMethodHasBeenSet; }
59 m_cmafEncryptionMethodHasBeenSet = true;
60 m_cmafEncryptionMethod = value;
61 }
64 return *this;
65 }
67
69
74 inline IsmEncryptionMethod GetIsmEncryptionMethod() const { return m_ismEncryptionMethod; }
75 inline bool IsmEncryptionMethodHasBeenSet() const { return m_ismEncryptionMethodHasBeenSet; }
77 m_ismEncryptionMethodHasBeenSet = true;
78 m_ismEncryptionMethod = value;
79 }
82 return *this;
83 }
85 private:
87
89
91 bool m_tsEncryptionMethodHasBeenSet = false;
92 bool m_cmafEncryptionMethodHasBeenSet = false;
93 bool m_ismEncryptionMethodHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace mediapackagev2
98} // namespace Aws
EncryptionMethod & WithCmafEncryptionMethod(CmafEncryptionMethod value)
EncryptionMethod & WithTsEncryptionMethod(TsEncryptionMethod value)
TsEncryptionMethod GetTsEncryptionMethod() const
EncryptionMethod & WithIsmEncryptionMethod(IsmEncryptionMethod value)
void SetCmafEncryptionMethod(CmafEncryptionMethod value)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsmEncryptionMethod(IsmEncryptionMethod value)
AWS_MEDIAPACKAGEV2_API EncryptionMethod & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API EncryptionMethod(Aws::Utils::Json::JsonView jsonValue)
CmafEncryptionMethod GetCmafEncryptionMethod() const
AWS_MEDIAPACKAGEV2_API EncryptionMethod()=default
IsmEncryptionMethod GetIsmEncryptionMethod() const
void SetTsEncryptionMethod(TsEncryptionMethod value)
Aws::Utils::Json::JsonValue JsonValue