AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 BedrockDataAutomationRuntime
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API EncryptionConfiguration() = default;
36 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API EncryptionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
46 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
47 template<typename KmsKeyIdT = Aws::String>
48 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
49 template<typename KmsKeyIdT = Aws::String>
50 EncryptionConfiguration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
52
54
57 inline const Aws::Map<Aws::String, Aws::String>& GetKmsEncryptionContext() const { return m_kmsEncryptionContext; }
58 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
59 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
60 void SetKmsEncryptionContext(KmsEncryptionContextT&& value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext = std::forward<KmsEncryptionContextT>(value); }
61 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
62 EncryptionConfiguration& WithKmsEncryptionContext(KmsEncryptionContextT&& value) { SetKmsEncryptionContext(std::forward<KmsEncryptionContextT>(value)); return *this;}
63 template<typename KmsEncryptionContextKeyT = Aws::String, typename KmsEncryptionContextValueT = Aws::String>
64 EncryptionConfiguration& AddKmsEncryptionContext(KmsEncryptionContextKeyT&& key, KmsEncryptionContextValueT&& value) {
65 m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext.emplace(std::forward<KmsEncryptionContextKeyT>(key), std::forward<KmsEncryptionContextValueT>(value)); return *this;
66 }
68 private:
69
70 Aws::String m_kmsKeyId;
71 bool m_kmsKeyIdHasBeenSet = false;
72
73 Aws::Map<Aws::String, Aws::String> m_kmsEncryptionContext;
74 bool m_kmsEncryptionContextHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace BedrockDataAutomationRuntime
79} // namespace Aws
EncryptionConfiguration & WithKmsEncryptionContext(KmsEncryptionContextT &&value)
EncryptionConfiguration & AddKmsEncryptionContext(KmsEncryptionContextKeyT &&key, KmsEncryptionContextValueT &&value)
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API EncryptionConfiguration()=default
const Aws::Map< Aws::String, Aws::String > & GetKmsEncryptionContext() const
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue