AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SpekeKeyProvider.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
10#include <aws/mediaconvert/model/EncryptionContractConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert {
22namespace Model {
23
33 public:
34 AWS_MEDIACONVERT_API SpekeKeyProvider() = default;
35 AWS_MEDIACONVERT_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API SpekeKeyProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
46 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
47 template <typename CertificateArnT = Aws::String>
48 void SetCertificateArn(CertificateArnT&& value) {
49 m_certificateArnHasBeenSet = true;
50 m_certificateArn = std::forward<CertificateArnT>(value);
51 }
52 template <typename CertificateArnT = Aws::String>
53 SpekeKeyProvider& WithCertificateArn(CertificateArnT&& value) {
54 SetCertificateArn(std::forward<CertificateArnT>(value));
55 return *this;
56 }
58
60
67 inline const EncryptionContractConfiguration& GetEncryptionContractConfiguration() const { return m_encryptionContractConfiguration; }
68 inline bool EncryptionContractConfigurationHasBeenSet() const { return m_encryptionContractConfigurationHasBeenSet; }
69 template <typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
70 void SetEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) {
71 m_encryptionContractConfigurationHasBeenSet = true;
72 m_encryptionContractConfiguration = std::forward<EncryptionContractConfigurationT>(value);
73 }
74 template <typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
75 SpekeKeyProvider& WithEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) {
76 SetEncryptionContractConfiguration(std::forward<EncryptionContractConfigurationT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetResourceId() const { return m_resourceId; }
87 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
88 template <typename ResourceIdT = Aws::String>
89 void SetResourceId(ResourceIdT&& value) {
90 m_resourceIdHasBeenSet = true;
91 m_resourceId = std::forward<ResourceIdT>(value);
92 }
93 template <typename ResourceIdT = Aws::String>
94 SpekeKeyProvider& WithResourceId(ResourceIdT&& value) {
95 SetResourceId(std::forward<ResourceIdT>(value));
96 return *this;
97 }
99
101
107 inline const Aws::Vector<Aws::String>& GetSystemIds() const { return m_systemIds; }
108 inline bool SystemIdsHasBeenSet() const { return m_systemIdsHasBeenSet; }
109 template <typename SystemIdsT = Aws::Vector<Aws::String>>
110 void SetSystemIds(SystemIdsT&& value) {
111 m_systemIdsHasBeenSet = true;
112 m_systemIds = std::forward<SystemIdsT>(value);
113 }
114 template <typename SystemIdsT = Aws::Vector<Aws::String>>
115 SpekeKeyProvider& WithSystemIds(SystemIdsT&& value) {
116 SetSystemIds(std::forward<SystemIdsT>(value));
117 return *this;
118 }
119 template <typename SystemIdsT = Aws::String>
120 SpekeKeyProvider& AddSystemIds(SystemIdsT&& value) {
121 m_systemIdsHasBeenSet = true;
122 m_systemIds.emplace_back(std::forward<SystemIdsT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetUrl() const { return m_url; }
133 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
134 template <typename UrlT = Aws::String>
135 void SetUrl(UrlT&& value) {
136 m_urlHasBeenSet = true;
137 m_url = std::forward<UrlT>(value);
138 }
139 template <typename UrlT = Aws::String>
140 SpekeKeyProvider& WithUrl(UrlT&& value) {
141 SetUrl(std::forward<UrlT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_certificateArn;
147
148 EncryptionContractConfiguration m_encryptionContractConfiguration;
149
150 Aws::String m_resourceId;
151
152 Aws::Vector<Aws::String> m_systemIds;
153
154 Aws::String m_url;
155 bool m_certificateArnHasBeenSet = false;
156 bool m_encryptionContractConfigurationHasBeenSet = false;
157 bool m_resourceIdHasBeenSet = false;
158 bool m_systemIdsHasBeenSet = false;
159 bool m_urlHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace MediaConvert
164} // namespace Aws
SpekeKeyProvider & WithEncryptionContractConfiguration(EncryptionContractConfigurationT &&value)
const EncryptionContractConfiguration & GetEncryptionContractConfiguration() const
SpekeKeyProvider & WithResourceId(ResourceIdT &&value)
SpekeKeyProvider & WithUrl(UrlT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCertificateArn() const
AWS_MEDIACONVERT_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue)
SpekeKeyProvider & WithCertificateArn(CertificateArnT &&value)
SpekeKeyProvider & WithSystemIds(SystemIdsT &&value)
SpekeKeyProvider & AddSystemIds(SystemIdsT &&value)
void SetCertificateArn(CertificateArnT &&value)
AWS_MEDIACONVERT_API SpekeKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionContractConfiguration(EncryptionContractConfigurationT &&value)
AWS_MEDIACONVERT_API SpekeKeyProvider()=default
const Aws::Vector< Aws::String > & GetSystemIds() const
const Aws::String & GetResourceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue