AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const S3ServerSideEncryptionType& GetEncryptionType() const{ return m_encryptionType; }
56 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
57 inline void SetEncryptionType(const S3ServerSideEncryptionType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
58 inline void SetEncryptionType(S3ServerSideEncryptionType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
60 inline S3EncryptionSettings& WithEncryptionType(S3ServerSideEncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
62
64
73 inline const Aws::String& GetKmsEncryptionContext() const{ return m_kmsEncryptionContext; }
74 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
75 inline void SetKmsEncryptionContext(const Aws::String& value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext = value; }
76 inline void SetKmsEncryptionContext(Aws::String&& value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext = std::move(value); }
77 inline void SetKmsEncryptionContext(const char* value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext.assign(value); }
79 inline S3EncryptionSettings& WithKmsEncryptionContext(Aws::String&& value) { SetKmsEncryptionContext(std::move(value)); return *this;}
80 inline S3EncryptionSettings& WithKmsEncryptionContext(const char* value) { SetKmsEncryptionContext(value); return *this;}
82
84
92 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
93 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
94 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
95 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
96 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
97 inline S3EncryptionSettings& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
98 inline S3EncryptionSettings& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
99 inline S3EncryptionSettings& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
101 private:
102
103 S3ServerSideEncryptionType m_encryptionType;
104 bool m_encryptionTypeHasBeenSet = false;
105
106 Aws::String m_kmsEncryptionContext;
107 bool m_kmsEncryptionContextHasBeenSet = false;
108
109 Aws::String m_kmsKeyArn;
110 bool m_kmsKeyArnHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace MediaConvert
115} // namespace Aws
S3EncryptionSettings & WithKmsKeyArn(Aws::String &&value)
const S3ServerSideEncryptionType & GetEncryptionType() const
S3EncryptionSettings & WithKmsKeyArn(const Aws::String &value)
S3EncryptionSettings & WithKmsEncryptionContext(const Aws::String &value)
S3EncryptionSettings & WithKmsEncryptionContext(Aws::String &&value)
void SetKmsEncryptionContext(const Aws::String &value)
AWS_MEDIACONVERT_API S3EncryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
S3EncryptionSettings & WithEncryptionType(const S3ServerSideEncryptionType &value)
void SetEncryptionType(S3ServerSideEncryptionType &&value)
void SetEncryptionType(const S3ServerSideEncryptionType &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
S3EncryptionSettings & WithKmsKeyArn(const char *value)
AWS_MEDIACONVERT_API S3EncryptionSettings(Aws::Utils::Json::JsonView jsonValue)
S3EncryptionSettings & WithKmsEncryptionContext(const char *value)
S3EncryptionSettings & WithEncryptionType(S3ServerSideEncryptionType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue