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/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackagev2/model/EncryptionMethod.h>
10#include <aws/mediapackagev2/model/SpekeKeyProvider.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 mediapackagev2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIAPACKAGEV2_API Encryption();
37 AWS_MEDIAPACKAGEV2_API Encryption(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEV2_API Encryption& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
49 inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
50 inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
51 inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
52 inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
55 inline Encryption& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
57
59
62 inline const EncryptionMethod& GetEncryptionMethod() const{ return m_encryptionMethod; }
63 inline bool EncryptionMethodHasBeenSet() const { return m_encryptionMethodHasBeenSet; }
64 inline void SetEncryptionMethod(const EncryptionMethod& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = value; }
65 inline void SetEncryptionMethod(EncryptionMethod&& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = std::move(value); }
66 inline Encryption& WithEncryptionMethod(const EncryptionMethod& value) { SetEncryptionMethod(value); return *this;}
67 inline Encryption& WithEncryptionMethod(EncryptionMethod&& value) { SetEncryptionMethod(std::move(value)); return *this;}
69
71
81 inline int GetKeyRotationIntervalSeconds() const{ return m_keyRotationIntervalSeconds; }
82 inline bool KeyRotationIntervalSecondsHasBeenSet() const { return m_keyRotationIntervalSecondsHasBeenSet; }
83 inline void SetKeyRotationIntervalSeconds(int value) { m_keyRotationIntervalSecondsHasBeenSet = true; m_keyRotationIntervalSeconds = value; }
86
88
91 inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
92 inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
93 inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
94 inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
95 inline Encryption& WithSpekeKeyProvider(const SpekeKeyProvider& value) { SetSpekeKeyProvider(value); return *this;}
96 inline Encryption& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_constantInitializationVector;
101 bool m_constantInitializationVectorHasBeenSet = false;
102
103 EncryptionMethod m_encryptionMethod;
104 bool m_encryptionMethodHasBeenSet = false;
105
106 int m_keyRotationIntervalSeconds;
107 bool m_keyRotationIntervalSecondsHasBeenSet = false;
108
109 SpekeKeyProvider m_spekeKeyProvider;
110 bool m_spekeKeyProviderHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace mediapackagev2
115} // namespace Aws
void SetKeyRotationIntervalSeconds(int value)
Definition Encryption.h:83
void SetEncryptionMethod(EncryptionMethod &&value)
Definition Encryption.h:65
bool ConstantInitializationVectorHasBeenSet() const
Definition Encryption.h:49
Encryption & WithKeyRotationIntervalSeconds(int value)
Definition Encryption.h:84
void SetSpekeKeyProvider(const SpekeKeyProvider &value)
Definition Encryption.h:93
Encryption & WithConstantInitializationVector(const char *value)
Definition Encryption.h:55
AWS_MEDIAPACKAGEV2_API Encryption & operator=(Aws::Utils::Json::JsonView jsonValue)
const SpekeKeyProvider & GetSpekeKeyProvider() const
Definition Encryption.h:91
Encryption & WithConstantInitializationVector(Aws::String &&value)
Definition Encryption.h:54
void SetSpekeKeyProvider(SpekeKeyProvider &&value)
Definition Encryption.h:94
Encryption & WithEncryptionMethod(const EncryptionMethod &value)
Definition Encryption.h:66
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConstantInitializationVector(Aws::String &&value)
Definition Encryption.h:51
void SetConstantInitializationVector(const Aws::String &value)
Definition Encryption.h:50
const EncryptionMethod & GetEncryptionMethod() const
Definition Encryption.h:62
void SetConstantInitializationVector(const char *value)
Definition Encryption.h:52
AWS_MEDIAPACKAGEV2_API Encryption(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConstantInitializationVector() const
Definition Encryption.h:48
Encryption & WithConstantInitializationVector(const Aws::String &value)
Definition Encryption.h:53
AWS_MEDIAPACKAGEV2_API Encryption()
Encryption & WithSpekeKeyProvider(const SpekeKeyProvider &value)
Definition Encryption.h:95
void SetEncryptionMethod(const EncryptionMethod &value)
Definition Encryption.h:64
Encryption & WithEncryptionMethod(EncryptionMethod &&value)
Definition Encryption.h:67
Encryption & WithSpekeKeyProvider(SpekeKeyProvider &&value)
Definition Encryption.h:96
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue