AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
56 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
57 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
58 inline SpekeKeyProvider& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
59 inline SpekeKeyProvider& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
60 inline SpekeKeyProvider& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
62
64
65 inline const EncryptionContractConfiguration& GetEncryptionContractConfiguration() const{ return m_encryptionContractConfiguration; }
66 inline bool EncryptionContractConfigurationHasBeenSet() const { return m_encryptionContractConfigurationHasBeenSet; }
67 inline void SetEncryptionContractConfiguration(const EncryptionContractConfiguration& value) { m_encryptionContractConfigurationHasBeenSet = true; m_encryptionContractConfiguration = value; }
68 inline void SetEncryptionContractConfiguration(EncryptionContractConfiguration&& value) { m_encryptionContractConfigurationHasBeenSet = true; m_encryptionContractConfiguration = std::move(value); }
72
74
77 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
78 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
79 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
80 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
81 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
82 inline SpekeKeyProvider& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
83 inline SpekeKeyProvider& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
84 inline SpekeKeyProvider& WithResourceId(const char* value) { SetResourceId(value); return *this;}
86
88
94 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
95 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
96 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
97 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
98 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
99 inline SpekeKeyProvider& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
100 inline SpekeKeyProvider& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
101 inline SpekeKeyProvider& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
103
105
108 inline const Aws::Vector<Aws::String>& GetSystemIds() const{ return m_systemIds; }
109 inline bool SystemIdsHasBeenSet() const { return m_systemIdsHasBeenSet; }
110 inline void SetSystemIds(const Aws::Vector<Aws::String>& value) { m_systemIdsHasBeenSet = true; m_systemIds = value; }
111 inline void SetSystemIds(Aws::Vector<Aws::String>&& value) { m_systemIdsHasBeenSet = true; m_systemIds = std::move(value); }
112 inline SpekeKeyProvider& WithSystemIds(const Aws::Vector<Aws::String>& value) { SetSystemIds(value); return *this;}
113 inline SpekeKeyProvider& WithSystemIds(Aws::Vector<Aws::String>&& value) { SetSystemIds(std::move(value)); return *this;}
114 inline SpekeKeyProvider& AddSystemIds(const Aws::String& value) { m_systemIdsHasBeenSet = true; m_systemIds.push_back(value); return *this; }
115 inline SpekeKeyProvider& AddSystemIds(Aws::String&& value) { m_systemIdsHasBeenSet = true; m_systemIds.push_back(std::move(value)); return *this; }
116 inline SpekeKeyProvider& AddSystemIds(const char* value) { m_systemIdsHasBeenSet = true; m_systemIds.push_back(value); return *this; }
118
120
123 inline const Aws::String& GetUrl() const{ return m_url; }
124 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
125 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
126 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
127 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
128 inline SpekeKeyProvider& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
129 inline SpekeKeyProvider& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
130 inline SpekeKeyProvider& WithUrl(const char* value) { SetUrl(value); return *this;}
132 private:
133
134 Aws::String m_certificateArn;
135 bool m_certificateArnHasBeenSet = false;
136
137 EncryptionContractConfiguration m_encryptionContractConfiguration;
138 bool m_encryptionContractConfigurationHasBeenSet = false;
139
140 Aws::String m_resourceId;
141 bool m_resourceIdHasBeenSet = false;
142
143 Aws::String m_roleArn;
144 bool m_roleArnHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_systemIds;
147 bool m_systemIdsHasBeenSet = false;
148
149 Aws::String m_url;
150 bool m_urlHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace MediaPackage
155} // namespace Aws
SpekeKeyProvider & WithCertificateArn(const Aws::String &value)
SpekeKeyProvider & WithSystemIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSystemIds() const
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSystemIds(Aws::Vector< Aws::String > &&value)
void SetEncryptionContractConfiguration(const EncryptionContractConfiguration &value)
SpekeKeyProvider & WithRoleArn(Aws::String &&value)
SpekeKeyProvider & WithEncryptionContractConfiguration(const EncryptionContractConfiguration &value)
void SetEncryptionContractConfiguration(EncryptionContractConfiguration &&value)
void SetUrl(const Aws::String &value)
SpekeKeyProvider & WithRoleArn(const char *value)
SpekeKeyProvider & WithSystemIds(Aws::Vector< Aws::String > &&value)
const EncryptionContractConfiguration & GetEncryptionContractConfiguration() const
const Aws::String & GetResourceId() const
SpekeKeyProvider & AddSystemIds(const Aws::String &value)
SpekeKeyProvider & WithUrl(const char *value)
void SetRoleArn(const Aws::String &value)
void SetResourceId(const Aws::String &value)
SpekeKeyProvider & WithRoleArn(const Aws::String &value)
SpekeKeyProvider & WithEncryptionContractConfiguration(EncryptionContractConfiguration &&value)
SpekeKeyProvider & WithCertificateArn(const char *value)
SpekeKeyProvider & WithResourceId(Aws::String &&value)
SpekeKeyProvider & AddSystemIds(const char *value)
AWS_MEDIAPACKAGE_API SpekeKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
SpekeKeyProvider & AddSystemIds(Aws::String &&value)
void SetCertificateArn(const Aws::String &value)
SpekeKeyProvider & WithCertificateArn(Aws::String &&value)
SpekeKeyProvider & WithUrl(const Aws::String &value)
SpekeKeyProvider & WithUrl(Aws::String &&value)
AWS_MEDIAPACKAGE_API SpekeKeyProvider(Aws::Utils::Json::JsonView jsonValue)
SpekeKeyProvider & WithResourceId(const char *value)
const Aws::String & GetCertificateArn() const
void SetSystemIds(const Aws::Vector< Aws::String > &value)
SpekeKeyProvider & WithResourceId(const Aws::String &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