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/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();
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 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
54 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
55 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
56 inline SpekeKeyProvider& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
57 inline SpekeKeyProvider& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
58 inline SpekeKeyProvider& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
60
62
69 inline const EncryptionContractConfiguration& GetEncryptionContractConfiguration() const{ return m_encryptionContractConfiguration; }
70 inline bool EncryptionContractConfigurationHasBeenSet() const { return m_encryptionContractConfigurationHasBeenSet; }
71 inline void SetEncryptionContractConfiguration(const EncryptionContractConfiguration& value) { m_encryptionContractConfigurationHasBeenSet = true; m_encryptionContractConfiguration = value; }
72 inline void SetEncryptionContractConfiguration(EncryptionContractConfiguration&& value) { m_encryptionContractConfigurationHasBeenSet = true; m_encryptionContractConfiguration = std::move(value); }
76
78
82 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
83 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
84 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
85 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
86 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
87 inline SpekeKeyProvider& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
88 inline SpekeKeyProvider& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
89 inline SpekeKeyProvider& WithResourceId(const char* value) { SetResourceId(value); return *this;}
91
93
99 inline const Aws::Vector<Aws::String>& GetSystemIds() const{ return m_systemIds; }
100 inline bool SystemIdsHasBeenSet() const { return m_systemIdsHasBeenSet; }
101 inline void SetSystemIds(const Aws::Vector<Aws::String>& value) { m_systemIdsHasBeenSet = true; m_systemIds = value; }
102 inline void SetSystemIds(Aws::Vector<Aws::String>&& value) { m_systemIdsHasBeenSet = true; m_systemIds = std::move(value); }
103 inline SpekeKeyProvider& WithSystemIds(const Aws::Vector<Aws::String>& value) { SetSystemIds(value); return *this;}
104 inline SpekeKeyProvider& WithSystemIds(Aws::Vector<Aws::String>&& value) { SetSystemIds(std::move(value)); return *this;}
105 inline SpekeKeyProvider& AddSystemIds(const Aws::String& value) { m_systemIdsHasBeenSet = true; m_systemIds.push_back(value); return *this; }
106 inline SpekeKeyProvider& AddSystemIds(Aws::String&& value) { m_systemIdsHasBeenSet = true; m_systemIds.push_back(std::move(value)); return *this; }
107 inline SpekeKeyProvider& AddSystemIds(const char* value) { m_systemIdsHasBeenSet = true; m_systemIds.push_back(value); return *this; }
109
111
115 inline const Aws::String& GetUrl() const{ return m_url; }
116 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
117 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
118 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
119 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
120 inline SpekeKeyProvider& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
121 inline SpekeKeyProvider& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
122 inline SpekeKeyProvider& WithUrl(const char* value) { SetUrl(value); return *this;}
124 private:
125
126 Aws::String m_certificateArn;
127 bool m_certificateArnHasBeenSet = false;
128
129 EncryptionContractConfiguration m_encryptionContractConfiguration;
130 bool m_encryptionContractConfigurationHasBeenSet = false;
131
132 Aws::String m_resourceId;
133 bool m_resourceIdHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_systemIds;
136 bool m_systemIdsHasBeenSet = false;
137
138 Aws::String m_url;
139 bool m_urlHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace MediaConvert
144} // namespace Aws
const EncryptionContractConfiguration & GetEncryptionContractConfiguration() const
SpekeKeyProvider & AddSystemIds(const char *value)
SpekeKeyProvider & WithUrl(Aws::String &&value)
SpekeKeyProvider & WithResourceId(Aws::String &&value)
SpekeKeyProvider & WithEncryptionContractConfiguration(const EncryptionContractConfiguration &value)
SpekeKeyProvider & WithUrl(const Aws::String &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(const char *value)
void SetEncryptionContractConfiguration(EncryptionContractConfiguration &&value)
SpekeKeyProvider & AddSystemIds(const Aws::String &value)
void SetCertificateArn(const Aws::String &value)
SpekeKeyProvider & WithResourceId(const Aws::String &value)
void SetEncryptionContractConfiguration(const EncryptionContractConfiguration &value)
SpekeKeyProvider & WithCertificateArn(Aws::String &&value)
void SetSystemIds(const Aws::Vector< Aws::String > &value)
SpekeKeyProvider & WithSystemIds(Aws::Vector< Aws::String > &&value)
SpekeKeyProvider & WithEncryptionContractConfiguration(EncryptionContractConfiguration &&value)
void SetSystemIds(Aws::Vector< Aws::String > &&value)
void SetResourceId(const Aws::String &value)
AWS_MEDIACONVERT_API SpekeKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
SpekeKeyProvider & WithResourceId(const char *value)
SpekeKeyProvider & AddSystemIds(Aws::String &&value)
SpekeKeyProvider & WithSystemIds(const Aws::Vector< Aws::String > &value)
SpekeKeyProvider & WithCertificateArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSystemIds() const
SpekeKeyProvider & WithUrl(const char *value)
void SetUrl(const Aws::String &value)
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