AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const Algorithm& GetAlgorithm() const{ return m_algorithm; }
48 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
49 inline void SetAlgorithm(const Algorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
50 inline void SetAlgorithm(Algorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); }
51 inline Encryption& WithAlgorithm(const Algorithm& value) { SetAlgorithm(value); return *this;}
52 inline Encryption& WithAlgorithm(Algorithm&& value) { SetAlgorithm(std::move(value)); return *this;}
54
56
61 inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
62 inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
63 inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
64 inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
65 inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
68 inline Encryption& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
70
72
77 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
78 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
79 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
80 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
81 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
82 inline Encryption& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
83 inline Encryption& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
84 inline Encryption& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
86
88
92 inline const KeyType& GetKeyType() const{ return m_keyType; }
93 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
94 inline void SetKeyType(const KeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
95 inline void SetKeyType(KeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); }
96 inline Encryption& WithKeyType(const KeyType& value) { SetKeyType(value); return *this;}
97 inline Encryption& WithKeyType(KeyType&& value) { SetKeyType(std::move(value)); return *this;}
99
101
106 inline const Aws::String& GetRegion() const{ return m_region; }
107 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
108 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
109 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
110 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
111 inline Encryption& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
112 inline Encryption& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
113 inline Encryption& WithRegion(const char* value) { SetRegion(value); return *this;}
115
117
123 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
124 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
125 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
126 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
127 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
128 inline Encryption& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
129 inline Encryption& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
130 inline Encryption& WithResourceId(const char* value) { SetResourceId(value); return *this;}
132
134
138 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
139 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
140 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
141 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
142 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
143 inline Encryption& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
144 inline Encryption& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
145 inline Encryption& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
147
149
154 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
155 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
156 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
157 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
158 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
159 inline Encryption& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
160 inline Encryption& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
161 inline Encryption& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
163
165
170 inline const Aws::String& GetUrl() const{ return m_url; }
171 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
172 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
173 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
174 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
175 inline Encryption& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
176 inline Encryption& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
177 inline Encryption& WithUrl(const char* value) { SetUrl(value); return *this;}
179 private:
180
181 Algorithm m_algorithm;
182 bool m_algorithmHasBeenSet = false;
183
184 Aws::String m_constantInitializationVector;
185 bool m_constantInitializationVectorHasBeenSet = false;
186
187 Aws::String m_deviceId;
188 bool m_deviceIdHasBeenSet = false;
189
190 KeyType m_keyType;
191 bool m_keyTypeHasBeenSet = false;
192
193 Aws::String m_region;
194 bool m_regionHasBeenSet = false;
195
196 Aws::String m_resourceId;
197 bool m_resourceIdHasBeenSet = false;
198
199 Aws::String m_roleArn;
200 bool m_roleArnHasBeenSet = false;
201
202 Aws::String m_secretArn;
203 bool m_secretArnHasBeenSet = false;
204
205 Aws::String m_url;
206 bool m_urlHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace MediaConnect
211} // namespace Aws
void SetConstantInitializationVector(Aws::String &&value)
Definition Encryption.h:64
void SetSecretArn(const char *value)
Definition Encryption.h:158
void SetConstantInitializationVector(const Aws::String &value)
Definition Encryption.h:63
Encryption & WithKeyType(KeyType &&value)
Definition Encryption.h:97
void SetResourceId(const Aws::String &value)
Definition Encryption.h:125
void SetDeviceId(const char *value)
Definition Encryption.h:81
Encryption & WithRegion(const char *value)
Definition Encryption.h:113
Encryption & WithResourceId(const char *value)
Definition Encryption.h:130
void SetSecretArn(Aws::String &&value)
Definition Encryption.h:157
Encryption & WithDeviceId(const char *value)
Definition Encryption.h:84
const Aws::String & GetDeviceId() const
Definition Encryption.h:77
Encryption & WithConstantInitializationVector(Aws::String &&value)
Definition Encryption.h:67
AWS_MEDIACONNECT_API Encryption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUrl(const Aws::String &value)
Definition Encryption.h:172
void SetDeviceId(const Aws::String &value)
Definition Encryption.h:79
void SetRoleArn(Aws::String &&value)
Definition Encryption.h:141
void SetKeyType(KeyType &&value)
Definition Encryption.h:95
const Aws::String & GetRegion() const
Definition Encryption.h:106
AWS_MEDIACONNECT_API Encryption(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(const char *value)
Definition Encryption.h:127
Encryption & WithResourceId(const Aws::String &value)
Definition Encryption.h:128
Encryption & WithKeyType(const KeyType &value)
Definition Encryption.h:96
Encryption & WithUrl(Aws::String &&value)
Definition Encryption.h:176
const Aws::String & GetConstantInitializationVector() const
Definition Encryption.h:61
void SetAlgorithm(const Algorithm &value)
Definition Encryption.h:49
void SetUrl(const char *value)
Definition Encryption.h:174
Encryption & WithDeviceId(const Aws::String &value)
Definition Encryption.h:82
Encryption & WithRoleArn(Aws::String &&value)
Definition Encryption.h:144
Encryption & WithAlgorithm(Algorithm &&value)
Definition Encryption.h:52
const Aws::String & GetSecretArn() const
Definition Encryption.h:154
void SetKeyType(const KeyType &value)
Definition Encryption.h:94
const Algorithm & GetAlgorithm() const
Definition Encryption.h:47
Encryption & WithUrl(const char *value)
Definition Encryption.h:177
const Aws::String & GetUrl() const
Definition Encryption.h:170
void SetResourceId(Aws::String &&value)
Definition Encryption.h:126
Encryption & WithUrl(const Aws::String &value)
Definition Encryption.h:175
Encryption & WithRoleArn(const Aws::String &value)
Definition Encryption.h:143
Encryption & WithSecretArn(const Aws::String &value)
Definition Encryption.h:159
void SetConstantInitializationVector(const char *value)
Definition Encryption.h:65
Encryption & WithRoleArn(const char *value)
Definition Encryption.h:145
void SetAlgorithm(Algorithm &&value)
Definition Encryption.h:50
void SetUrl(Aws::String &&value)
Definition Encryption.h:173
Encryption & WithDeviceId(Aws::String &&value)
Definition Encryption.h:83
Encryption & WithConstantInitializationVector(const Aws::String &value)
Definition Encryption.h:66
const Aws::String & GetResourceId() const
Definition Encryption.h:123
void SetRoleArn(const char *value)
Definition Encryption.h:142
Encryption & WithAlgorithm(const Algorithm &value)
Definition Encryption.h:51
Encryption & WithSecretArn(const char *value)
Definition Encryption.h:161
Encryption & WithRegion(Aws::String &&value)
Definition Encryption.h:112
AWS_MEDIACONNECT_API Encryption()
Encryption & WithRegion(const Aws::String &value)
Definition Encryption.h:111
void SetRegion(const char *value)
Definition Encryption.h:110
const KeyType & GetKeyType() const
Definition Encryption.h:92
bool ConstantInitializationVectorHasBeenSet() const
Definition Encryption.h:62
void SetDeviceId(Aws::String &&value)
Definition Encryption.h:80
void SetSecretArn(const Aws::String &value)
Definition Encryption.h:156
void SetRoleArn(const Aws::String &value)
Definition Encryption.h:140
void SetRegion(const Aws::String &value)
Definition Encryption.h:108
void SetRegion(Aws::String &&value)
Definition Encryption.h:109
Encryption & WithSecretArn(Aws::String &&value)
Definition Encryption.h:160
Encryption & WithConstantInitializationVector(const char *value)
Definition Encryption.h:68
Encryption & WithResourceId(Aws::String &&value)
Definition Encryption.h:129
const Aws::String & GetRoleArn() const
Definition Encryption.h:138
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