AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateEncryption.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 UpdateEncryption() = default;
37 AWS_MEDIACONNECT_API UpdateEncryption(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONNECT_API UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& 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
UpdateEncryption & WithResourceId(ResourceIdT &&value)
UpdateEncryption & WithDeviceId(DeviceIdT &&value)
const Aws::String & GetConstantInitializationVector() const
UpdateEncryption & WithConstantInitializationVector(ConstantInitializationVectorT &&value)
UpdateEncryption & WithRoleArn(RoleArnT &&value)
UpdateEncryption & WithSecretArn(SecretArnT &&value)
AWS_MEDIACONNECT_API UpdateEncryption()=default
UpdateEncryption & WithKeyType(KeyType value)
void SetConstantInitializationVector(ConstantInitializationVectorT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateEncryption & WithUrl(UrlT &&value)
AWS_MEDIACONNECT_API UpdateEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API UpdateEncryption(Aws::Utils::Json::JsonView jsonValue)
UpdateEncryption & WithAlgorithm(Algorithm value)
UpdateEncryption & WithRegion(RegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue