AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SpekeKeyProvider.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage/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 MediaPackage
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MEDIAPACKAGE_API SpekeKeyProvider() = default;
39 AWS_MEDIAPACKAGE_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGE_API SpekeKeyProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
53 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
54 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
55 template<typename CertificateArnT = Aws::String>
56 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
57 template<typename CertificateArnT = Aws::String>
58 SpekeKeyProvider& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
60
62
63 inline const EncryptionContractConfiguration& GetEncryptionContractConfiguration() const { return m_encryptionContractConfiguration; }
64 inline bool EncryptionContractConfigurationHasBeenSet() const { return m_encryptionContractConfigurationHasBeenSet; }
65 template<typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
66 void SetEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) { m_encryptionContractConfigurationHasBeenSet = true; m_encryptionContractConfiguration = std::forward<EncryptionContractConfigurationT>(value); }
67 template<typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
68 SpekeKeyProvider& WithEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) { SetEncryptionContractConfiguration(std::forward<EncryptionContractConfigurationT>(value)); return *this;}
70
72
75 inline const Aws::String& GetResourceId() const { return m_resourceId; }
76 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
77 template<typename ResourceIdT = Aws::String>
78 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
79 template<typename ResourceIdT = Aws::String>
80 SpekeKeyProvider& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
82
84
90 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
91 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
92 template<typename RoleArnT = Aws::String>
93 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
94 template<typename RoleArnT = Aws::String>
95 SpekeKeyProvider& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
97
99
102 inline const Aws::Vector<Aws::String>& GetSystemIds() const { return m_systemIds; }
103 inline bool SystemIdsHasBeenSet() const { return m_systemIdsHasBeenSet; }
104 template<typename SystemIdsT = Aws::Vector<Aws::String>>
105 void SetSystemIds(SystemIdsT&& value) { m_systemIdsHasBeenSet = true; m_systemIds = std::forward<SystemIdsT>(value); }
106 template<typename SystemIdsT = Aws::Vector<Aws::String>>
107 SpekeKeyProvider& WithSystemIds(SystemIdsT&& value) { SetSystemIds(std::forward<SystemIdsT>(value)); return *this;}
108 template<typename SystemIdsT = Aws::String>
109 SpekeKeyProvider& AddSystemIds(SystemIdsT&& value) { m_systemIdsHasBeenSet = true; m_systemIds.emplace_back(std::forward<SystemIdsT>(value)); return *this; }
111
113
116 inline const Aws::String& GetUrl() const { return m_url; }
117 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
118 template<typename UrlT = Aws::String>
119 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
120 template<typename UrlT = Aws::String>
121 SpekeKeyProvider& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
123 private:
124
125 Aws::String m_certificateArn;
126 bool m_certificateArnHasBeenSet = false;
127
128 EncryptionContractConfiguration m_encryptionContractConfiguration;
129 bool m_encryptionContractConfigurationHasBeenSet = false;
130
131 Aws::String m_resourceId;
132 bool m_resourceIdHasBeenSet = false;
133
134 Aws::String m_roleArn;
135 bool m_roleArnHasBeenSet = false;
136
137 Aws::Vector<Aws::String> m_systemIds;
138 bool m_systemIdsHasBeenSet = false;
139
140 Aws::String m_url;
141 bool m_urlHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace MediaPackage
146} // namespace Aws
SpekeKeyProvider & WithUrl(UrlT &&value)
const Aws::Vector< Aws::String > & GetSystemIds() const
SpekeKeyProvider & WithResourceId(ResourceIdT &&value)
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
SpekeKeyProvider & AddSystemIds(SystemIdsT &&value)
SpekeKeyProvider & WithCertificateArn(CertificateArnT &&value)
AWS_MEDIAPACKAGE_API SpekeKeyProvider()=default
SpekeKeyProvider & WithEncryptionContractConfiguration(EncryptionContractConfigurationT &&value)
void SetCertificateArn(CertificateArnT &&value)
const EncryptionContractConfiguration & GetEncryptionContractConfiguration() const
const Aws::String & GetResourceId() const
void SetEncryptionContractConfiguration(EncryptionContractConfigurationT &&value)
SpekeKeyProvider & WithRoleArn(RoleArnT &&value)
AWS_MEDIAPACKAGE_API SpekeKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGE_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificateArn() const
SpekeKeyProvider & WithSystemIds(SystemIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue