AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Encryption.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/Algorithm.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconnect/model/KeyType.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 MediaConnect
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIACONNECT_API Encryption() = default;
37 AWS_MEDIACONNECT_API Encryption(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONNECT_API Encryption& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline Algorithm GetAlgorithm() const { return m_algorithm; }
48 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
49 inline void SetAlgorithm(Algorithm value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
50 inline Encryption& WithAlgorithm(Algorithm value) { SetAlgorithm(value); return *this;}
52
54
59 inline const Aws::String& GetConstantInitializationVector() const { return m_constantInitializationVector; }
60 inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
61 template<typename ConstantInitializationVectorT = Aws::String>
62 void SetConstantInitializationVector(ConstantInitializationVectorT&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::forward<ConstantInitializationVectorT>(value); }
63 template<typename ConstantInitializationVectorT = Aws::String>
64 Encryption& WithConstantInitializationVector(ConstantInitializationVectorT&& value) { SetConstantInitializationVector(std::forward<ConstantInitializationVectorT>(value)); return *this;}
66
68
73 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
74 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
75 template<typename DeviceIdT = Aws::String>
76 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
77 template<typename DeviceIdT = Aws::String>
78 Encryption& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
80
82
86 inline KeyType GetKeyType() const { return m_keyType; }
87 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
88 inline void SetKeyType(KeyType value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
89 inline Encryption& WithKeyType(KeyType value) { SetKeyType(value); return *this;}
91
93
98 inline const Aws::String& GetRegion() const { return m_region; }
99 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
100 template<typename RegionT = Aws::String>
101 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
102 template<typename RegionT = Aws::String>
103 Encryption& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
105
107
113 inline const Aws::String& GetResourceId() const { return m_resourceId; }
114 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
115 template<typename ResourceIdT = Aws::String>
116 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
117 template<typename ResourceIdT = Aws::String>
118 Encryption& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
120
122
126 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
127 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
128 template<typename RoleArnT = Aws::String>
129 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
130 template<typename RoleArnT = Aws::String>
131 Encryption& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
133
135
140 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
141 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
142 template<typename SecretArnT = Aws::String>
143 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
144 template<typename SecretArnT = Aws::String>
145 Encryption& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
147
149
154 inline const Aws::String& GetUrl() const { return m_url; }
155 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
156 template<typename UrlT = Aws::String>
157 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
158 template<typename UrlT = Aws::String>
159 Encryption& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
161 private:
162
163 Algorithm m_algorithm{Algorithm::NOT_SET};
164 bool m_algorithmHasBeenSet = false;
165
166 Aws::String m_constantInitializationVector;
167 bool m_constantInitializationVectorHasBeenSet = false;
168
169 Aws::String m_deviceId;
170 bool m_deviceIdHasBeenSet = false;
171
172 KeyType m_keyType{KeyType::NOT_SET};
173 bool m_keyTypeHasBeenSet = false;
174
175 Aws::String m_region;
176 bool m_regionHasBeenSet = false;
177
178 Aws::String m_resourceId;
179 bool m_resourceIdHasBeenSet = false;
180
181 Aws::String m_roleArn;
182 bool m_roleArnHasBeenSet = false;
183
184 Aws::String m_secretArn;
185 bool m_secretArnHasBeenSet = false;
186
187 Aws::String m_url;
188 bool m_urlHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace MediaConnect
193} // namespace Aws
void SetRegion(RegionT &&value)
Definition Encryption.h:101
void SetRoleArn(RoleArnT &&value)
Definition Encryption.h:129
const Aws::String & GetDeviceId() const
Definition Encryption.h:73
AWS_MEDIACONNECT_API Encryption & operator=(Aws::Utils::Json::JsonView jsonValue)
Encryption & WithDeviceId(DeviceIdT &&value)
Definition Encryption.h:78
const Aws::String & GetRegion() const
Definition Encryption.h:98
Encryption & WithAlgorithm(Algorithm value)
Definition Encryption.h:50
AWS_MEDIACONNECT_API Encryption(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConstantInitializationVector() const
Definition Encryption.h:59
void SetResourceId(ResourceIdT &&value)
Definition Encryption.h:116
Encryption & WithUrl(UrlT &&value)
Definition Encryption.h:159
const Aws::String & GetSecretArn() const
Definition Encryption.h:140
Encryption & WithSecretArn(SecretArnT &&value)
Definition Encryption.h:145
void SetConstantInitializationVector(ConstantInitializationVectorT &&value)
Definition Encryption.h:62
Encryption & WithRegion(RegionT &&value)
Definition Encryption.h:103
const Aws::String & GetUrl() const
Definition Encryption.h:154
Encryption & WithResourceId(ResourceIdT &&value)
Definition Encryption.h:118
Encryption & WithConstantInitializationVector(ConstantInitializationVectorT &&value)
Definition Encryption.h:64
Encryption & WithKeyType(KeyType value)
Definition Encryption.h:89
Encryption & WithRoleArn(RoleArnT &&value)
Definition Encryption.h:131
const Aws::String & GetResourceId() const
Definition Encryption.h:113
bool ConstantInitializationVectorHasBeenSet() const
Definition Encryption.h:60
void SetDeviceId(DeviceIdT &&value)
Definition Encryption.h:76
void SetSecretArn(SecretArnT &&value)
Definition Encryption.h:143
void SetAlgorithm(Algorithm value)
Definition Encryption.h:49
AWS_MEDIACONNECT_API Encryption()=default
const Aws::String & GetRoleArn() const
Definition Encryption.h:126
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue