AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 UpdateEncryption& WithAlgorithm(const Algorithm& value) { SetAlgorithm(value); return *this;}
52 inline UpdateEncryption& 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 UpdateEncryption& 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 UpdateEncryption& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
83 inline UpdateEncryption& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
84 inline UpdateEncryption& 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 UpdateEncryption& WithKeyType(const KeyType& value) { SetKeyType(value); return *this;}
97 inline UpdateEncryption& 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 UpdateEncryption& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
112 inline UpdateEncryption& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
113 inline UpdateEncryption& 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 UpdateEncryption& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
129 inline UpdateEncryption& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
130 inline UpdateEncryption& 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 UpdateEncryption& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
144 inline UpdateEncryption& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
145 inline UpdateEncryption& 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 UpdateEncryption& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
160 inline UpdateEncryption& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
161 inline UpdateEncryption& 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 UpdateEncryption& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
176 inline UpdateEncryption& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
177 inline UpdateEncryption& 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
UpdateEncryption & WithRegion(const Aws::String &value)
void SetConstantInitializationVector(Aws::String &&value)
UpdateEncryption & WithRoleArn(Aws::String &&value)
void SetResourceId(const Aws::String &value)
void SetConstantInitializationVector(const char *value)
UpdateEncryption & WithDeviceId(const char *value)
void SetRegion(const Aws::String &value)
UpdateEncryption & WithConstantInitializationVector(Aws::String &&value)
UpdateEncryption & WithResourceId(const Aws::String &value)
void SetAlgorithm(const Algorithm &value)
const Aws::String & GetConstantInitializationVector() const
UpdateEncryption & WithDeviceId(Aws::String &&value)
UpdateEncryption & WithConstantInitializationVector(const char *value)
UpdateEncryption & WithResourceId(const char *value)
UpdateEncryption & WithRoleArn(const char *value)
UpdateEncryption & WithKeyType(KeyType &&value)
UpdateEncryption & WithUrl(const char *value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateEncryption & WithAlgorithm(const Algorithm &value)
UpdateEncryption & WithUrl(const Aws::String &value)
UpdateEncryption & WithSecretArn(Aws::String &&value)
void SetSecretArn(const Aws::String &value)
void SetUrl(const Aws::String &value)
UpdateEncryption & WithRegion(Aws::String &&value)
UpdateEncryption & WithSecretArn(const char *value)
UpdateEncryption & WithResourceId(Aws::String &&value)
UpdateEncryption & WithAlgorithm(Algorithm &&value)
UpdateEncryption & WithRegion(const char *value)
UpdateEncryption & WithUrl(Aws::String &&value)
void SetDeviceId(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
AWS_MEDIACONNECT_API UpdateEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API UpdateEncryption(Aws::Utils::Json::JsonView jsonValue)
UpdateEncryption & WithSecretArn(const Aws::String &value)
void SetConstantInitializationVector(const Aws::String &value)
UpdateEncryption & WithRoleArn(const Aws::String &value)
UpdateEncryption & WithDeviceId(const Aws::String &value)
UpdateEncryption & WithConstantInitializationVector(const Aws::String &value)
UpdateEncryption & WithKeyType(const KeyType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue