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/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticTranscoder
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_ELASTICTRANSCODER_API Encryption();
39 AWS_ELASTICTRANSCODER_API Encryption(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Encryption& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
67 inline const Aws::String& GetMode() const{ return m_mode; }
68 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
69 inline void SetMode(const Aws::String& value) { m_modeHasBeenSet = true; m_mode = value; }
70 inline void SetMode(Aws::String&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
71 inline void SetMode(const char* value) { m_modeHasBeenSet = true; m_mode.assign(value); }
72 inline Encryption& WithMode(const Aws::String& value) { SetMode(value); return *this;}
73 inline Encryption& WithMode(Aws::String&& value) { SetMode(std::move(value)); return *this;}
74 inline Encryption& WithMode(const char* value) { SetMode(value); return *this;}
76
78
86 inline const Aws::String& GetKey() const{ return m_key; }
87 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
88 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
89 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
90 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
91 inline Encryption& WithKey(const Aws::String& value) { SetKey(value); return *this;}
92 inline Encryption& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
93 inline Encryption& WithKey(const char* value) { SetKey(value); return *this;}
95
97
104 inline const Aws::String& GetKeyMd5() const{ return m_keyMd5; }
105 inline bool KeyMd5HasBeenSet() const { return m_keyMd5HasBeenSet; }
106 inline void SetKeyMd5(const Aws::String& value) { m_keyMd5HasBeenSet = true; m_keyMd5 = value; }
107 inline void SetKeyMd5(Aws::String&& value) { m_keyMd5HasBeenSet = true; m_keyMd5 = std::move(value); }
108 inline void SetKeyMd5(const char* value) { m_keyMd5HasBeenSet = true; m_keyMd5.assign(value); }
109 inline Encryption& WithKeyMd5(const Aws::String& value) { SetKeyMd5(value); return *this;}
110 inline Encryption& WithKeyMd5(Aws::String&& value) { SetKeyMd5(std::move(value)); return *this;}
111 inline Encryption& WithKeyMd5(const char* value) { SetKeyMd5(value); return *this;}
113
115
122 inline const Aws::String& GetInitializationVector() const{ return m_initializationVector; }
123 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
124 inline void SetInitializationVector(const Aws::String& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = value; }
125 inline void SetInitializationVector(Aws::String&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::move(value); }
126 inline void SetInitializationVector(const char* value) { m_initializationVectorHasBeenSet = true; m_initializationVector.assign(value); }
127 inline Encryption& WithInitializationVector(const Aws::String& value) { SetInitializationVector(value); return *this;}
128 inline Encryption& WithInitializationVector(Aws::String&& value) { SetInitializationVector(std::move(value)); return *this;}
129 inline Encryption& WithInitializationVector(const char* value) { SetInitializationVector(value); return *this;}
131 private:
132
133 Aws::String m_mode;
134 bool m_modeHasBeenSet = false;
135
136 Aws::String m_key;
137 bool m_keyHasBeenSet = false;
138
139 Aws::String m_keyMd5;
140 bool m_keyMd5HasBeenSet = false;
141
142 Aws::String m_initializationVector;
143 bool m_initializationVectorHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace ElasticTranscoder
148} // namespace Aws
Encryption & WithInitializationVector(const Aws::String &value)
Definition Encryption.h:127
void SetKeyMd5(const Aws::String &value)
Definition Encryption.h:106
void SetKeyMd5(Aws::String &&value)
Definition Encryption.h:107
Encryption & WithMode(Aws::String &&value)
Definition Encryption.h:73
void SetMode(Aws::String &&value)
Definition Encryption.h:70
const Aws::String & GetKeyMd5() const
Definition Encryption.h:104
Encryption & WithKeyMd5(const Aws::String &value)
Definition Encryption.h:109
Encryption & WithKeyMd5(const char *value)
Definition Encryption.h:111
Encryption & WithInitializationVector(const char *value)
Definition Encryption.h:129
const Aws::String & GetMode() const
Definition Encryption.h:67
Encryption & WithKey(const Aws::String &value)
Definition Encryption.h:91
Encryption & WithMode(const char *value)
Definition Encryption.h:74
AWS_ELASTICTRANSCODER_API Encryption(Aws::Utils::Json::JsonView jsonValue)
void SetInitializationVector(Aws::String &&value)
Definition Encryption.h:125
Encryption & WithMode(const Aws::String &value)
Definition Encryption.h:72
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Encryption & WithKeyMd5(Aws::String &&value)
Definition Encryption.h:110
void SetMode(const Aws::String &value)
Definition Encryption.h:69
void SetInitializationVector(const char *value)
Definition Encryption.h:126
Encryption & WithInitializationVector(Aws::String &&value)
Definition Encryption.h:128
Encryption & WithKey(Aws::String &&value)
Definition Encryption.h:92
const Aws::String & GetInitializationVector() const
Definition Encryption.h:122
Encryption & WithKey(const char *value)
Definition Encryption.h:93
void SetKey(const Aws::String &value)
Definition Encryption.h:88
void SetInitializationVector(const Aws::String &value)
Definition Encryption.h:124
AWS_ELASTICTRANSCODER_API Encryption()
void SetKey(Aws::String &&value)
Definition Encryption.h:89
const Aws::String & GetKey() const
Definition Encryption.h:86
AWS_ELASTICTRANSCODER_API Encryption & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue