AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SpekeKeyProvider.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconvert/model/EncryptionContractConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConvert
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_MEDIACONVERT_API SpekeKeyProvider() = default;
40 AWS_MEDIACONVERT_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API SpekeKeyProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
52 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
53 template<typename CertificateArnT = Aws::String>
54 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
55 template<typename CertificateArnT = Aws::String>
56 SpekeKeyProvider& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
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) { m_encryptionContractConfigurationHasBeenSet = true; m_encryptionContractConfiguration = std::forward<EncryptionContractConfigurationT>(value); }
71 template<typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
72 SpekeKeyProvider& WithEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) { SetEncryptionContractConfiguration(std::forward<EncryptionContractConfigurationT>(value)); return *this;}
74
76
80 inline const Aws::String& GetResourceId() const { return m_resourceId; }
81 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
82 template<typename ResourceIdT = Aws::String>
83 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
84 template<typename ResourceIdT = Aws::String>
85 SpekeKeyProvider& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
87
89
95 inline const Aws::Vector<Aws::String>& GetSystemIds() const { return m_systemIds; }
96 inline bool SystemIdsHasBeenSet() const { return m_systemIdsHasBeenSet; }
97 template<typename SystemIdsT = Aws::Vector<Aws::String>>
98 void SetSystemIds(SystemIdsT&& value) { m_systemIdsHasBeenSet = true; m_systemIds = std::forward<SystemIdsT>(value); }
99 template<typename SystemIdsT = Aws::Vector<Aws::String>>
100 SpekeKeyProvider& WithSystemIds(SystemIdsT&& value) { SetSystemIds(std::forward<SystemIdsT>(value)); return *this;}
101 template<typename SystemIdsT = Aws::String>
102 SpekeKeyProvider& AddSystemIds(SystemIdsT&& value) { m_systemIdsHasBeenSet = true; m_systemIds.emplace_back(std::forward<SystemIdsT>(value)); return *this; }
104
106
110 inline const Aws::String& GetUrl() const { return m_url; }
111 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
112 template<typename UrlT = Aws::String>
113 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
114 template<typename UrlT = Aws::String>
115 SpekeKeyProvider& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
117 private:
118
119 Aws::String m_certificateArn;
120 bool m_certificateArnHasBeenSet = false;
121
122 EncryptionContractConfiguration m_encryptionContractConfiguration;
123 bool m_encryptionContractConfigurationHasBeenSet = false;
124
125 Aws::String m_resourceId;
126 bool m_resourceIdHasBeenSet = false;
127
128 Aws::Vector<Aws::String> m_systemIds;
129 bool m_systemIdsHasBeenSet = false;
130
131 Aws::String m_url;
132 bool m_urlHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace MediaConvert
137} // 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