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/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/model/EncryptionContractConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MediaPackageVod
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider() = default;
39 AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGEVOD_API SpekeKeyProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const EncryptionContractConfiguration& GetEncryptionContractConfiguration() const { return m_encryptionContractConfiguration; }
47 inline bool EncryptionContractConfigurationHasBeenSet() const { return m_encryptionContractConfigurationHasBeenSet; }
48 template<typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
49 void SetEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) { m_encryptionContractConfigurationHasBeenSet = true; m_encryptionContractConfiguration = std::forward<EncryptionContractConfigurationT>(value); }
50 template<typename EncryptionContractConfigurationT = EncryptionContractConfiguration>
51 SpekeKeyProvider& WithEncryptionContractConfiguration(EncryptionContractConfigurationT&& value) { SetEncryptionContractConfiguration(std::forward<EncryptionContractConfigurationT>(value)); return *this;}
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) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
65 template<typename RoleArnT = Aws::String>
66 SpekeKeyProvider& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetSystemIds() const { return m_systemIds; }
74 inline bool SystemIdsHasBeenSet() const { return m_systemIdsHasBeenSet; }
75 template<typename SystemIdsT = Aws::Vector<Aws::String>>
76 void SetSystemIds(SystemIdsT&& value) { m_systemIdsHasBeenSet = true; m_systemIds = std::forward<SystemIdsT>(value); }
77 template<typename SystemIdsT = Aws::Vector<Aws::String>>
78 SpekeKeyProvider& WithSystemIds(SystemIdsT&& value) { SetSystemIds(std::forward<SystemIdsT>(value)); return *this;}
79 template<typename SystemIdsT = Aws::String>
80 SpekeKeyProvider& AddSystemIds(SystemIdsT&& value) { m_systemIdsHasBeenSet = true; m_systemIds.emplace_back(std::forward<SystemIdsT>(value)); return *this; }
82
84
87 inline const Aws::String& GetUrl() const { return m_url; }
88 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
89 template<typename UrlT = Aws::String>
90 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
91 template<typename UrlT = Aws::String>
92 SpekeKeyProvider& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
94 private:
95
96 EncryptionContractConfiguration m_encryptionContractConfiguration;
97 bool m_encryptionContractConfigurationHasBeenSet = false;
98
99 Aws::String m_roleArn;
100 bool m_roleArnHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_systemIds;
103 bool m_systemIdsHasBeenSet = false;
104
105 Aws::String m_url;
106 bool m_urlHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace MediaPackageVod
111} // 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