AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3EncryptionSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/S3ServerSideEncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConvert
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIACONVERT_API S3EncryptionSettings() = default;
37 AWS_MEDIACONVERT_API S3EncryptionSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
55 inline S3ServerSideEncryptionType GetEncryptionType() const { return m_encryptionType; }
56 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
57 inline void SetEncryptionType(S3ServerSideEncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
60
62
71 inline const Aws::String& GetKmsEncryptionContext() const { return m_kmsEncryptionContext; }
72 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
73 template<typename KmsEncryptionContextT = Aws::String>
74 void SetKmsEncryptionContext(KmsEncryptionContextT&& value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext = std::forward<KmsEncryptionContextT>(value); }
75 template<typename KmsEncryptionContextT = Aws::String>
76 S3EncryptionSettings& WithKmsEncryptionContext(KmsEncryptionContextT&& value) { SetKmsEncryptionContext(std::forward<KmsEncryptionContextT>(value)); return *this;}
78
80
88 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
89 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
90 template<typename KmsKeyArnT = Aws::String>
91 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
92 template<typename KmsKeyArnT = Aws::String>
93 S3EncryptionSettings& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
95 private:
96
98 bool m_encryptionTypeHasBeenSet = false;
99
100 Aws::String m_kmsEncryptionContext;
101 bool m_kmsEncryptionContextHasBeenSet = false;
102
103 Aws::String m_kmsKeyArn;
104 bool m_kmsKeyArnHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace MediaConvert
109} // namespace Aws
void SetEncryptionType(S3ServerSideEncryptionType value)
void SetKmsEncryptionContext(KmsEncryptionContextT &&value)
S3EncryptionSettings & WithEncryptionType(S3ServerSideEncryptionType value)
AWS_MEDIACONVERT_API S3EncryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ServerSideEncryptionType GetEncryptionType() const
AWS_MEDIACONVERT_API S3EncryptionSettings()=default
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
S3EncryptionSettings & WithKmsEncryptionContext(KmsEncryptionContextT &&value)
S3EncryptionSettings & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_MEDIACONVERT_API S3EncryptionSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue