AWS SDK for C++

AWS SDK for C++ Version 1.11.756

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/mediapackage-vod/MediaPackageVod_EXPORTS.h>
10#include <aws/mediapackage-vod/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 MediaPackageVod {
22namespace Model {
23
32 public:
33 AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider() = default;
34 AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const EncryptionContractConfiguration& GetEncryptionContractConfiguration() const { return m_encryptionContractConfiguration; }
41 inline bool EncryptionContractConfigurationHasBeenSet() const { return m_encryptionContractConfigurationHasBeenSet; }
42 template <typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
43 void SetEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) {
44 m_encryptionContractConfigurationHasBeenSet = true;
45 m_encryptionContractConfiguration = std::forward<EncryptionContractConfigurationT>(value);
46 }
47 template <typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
48 SpekeKeyProvider& WithEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) {
49 SetEncryptionContractConfiguration(std::forward<EncryptionContractConfigurationT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
62 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
63 template <typename RoleArnT = Aws::String>
64 void SetRoleArn(RoleArnT&& value) {
65 m_roleArnHasBeenSet = true;
66 m_roleArn = std::forward<RoleArnT>(value);
67 }
68 template <typename RoleArnT = Aws::String>
69 SpekeKeyProvider& WithRoleArn(RoleArnT&& value) {
70 SetRoleArn(std::forward<RoleArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Vector<Aws::String>& GetSystemIds() const { return m_systemIds; }
80 inline bool SystemIdsHasBeenSet() const { return m_systemIdsHasBeenSet; }
81 template <typename SystemIdsT = Aws::Vector<Aws::String>>
82 void SetSystemIds(SystemIdsT&& value) {
83 m_systemIdsHasBeenSet = true;
84 m_systemIds = std::forward<SystemIdsT>(value);
85 }
86 template <typename SystemIdsT = Aws::Vector<Aws::String>>
87 SpekeKeyProvider& WithSystemIds(SystemIdsT&& value) {
88 SetSystemIds(std::forward<SystemIdsT>(value));
89 return *this;
90 }
91 template <typename SystemIdsT = Aws::String>
92 SpekeKeyProvider& AddSystemIds(SystemIdsT&& value) {
93 m_systemIdsHasBeenSet = true;
94 m_systemIds.emplace_back(std::forward<SystemIdsT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetUrl() const { return m_url; }
104 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
105 template <typename UrlT = Aws::String>
106 void SetUrl(UrlT&& value) {
107 m_urlHasBeenSet = true;
108 m_url = std::forward<UrlT>(value);
109 }
110 template <typename UrlT = Aws::String>
111 SpekeKeyProvider& WithUrl(UrlT&& value) {
112 SetUrl(std::forward<UrlT>(value));
113 return *this;
114 }
116 private:
117 EncryptionContractConfiguration m_encryptionContractConfiguration;
118
119 Aws::String m_roleArn;
120
121 Aws::Vector<Aws::String> m_systemIds;
122
123 Aws::String m_url;
124 bool m_encryptionContractConfigurationHasBeenSet = false;
125 bool m_roleArnHasBeenSet = false;
126 bool m_systemIdsHasBeenSet = false;
127 bool m_urlHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace MediaPackageVod
132} // namespace Aws
SpekeKeyProvider & AddSystemIds(SystemIdsT &&value)
SpekeKeyProvider & WithEncryptionContractConfiguration(EncryptionContractConfigurationT &&value)
SpekeKeyProvider & WithRoleArn(RoleArnT &&value)
AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
SpekeKeyProvider & WithUrl(UrlT &&value)
AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider()=default
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
const EncryptionContractConfiguration & GetEncryptionContractConfiguration() const
AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSystemIds() const
SpekeKeyProvider & WithSystemIds(SystemIdsT &&value)
void SetEncryptionContractConfiguration(EncryptionContractConfigurationT &&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