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/BedrockDataAutomation_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 BedrockDataAutomation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKDATAAUTOMATION_API EncryptionConfiguration() = default;
36 AWS_BEDROCKDATAAUTOMATION_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKDATAAUTOMATION_API EncryptionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
44 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
45 template<typename KmsKeyIdT = Aws::String>
46 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
47 template<typename KmsKeyIdT = Aws::String>
48 EncryptionConfiguration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
50
52
53 inline const Aws::Map<Aws::String, Aws::String>& GetKmsEncryptionContext() const { return m_kmsEncryptionContext; }
54 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
55 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
56 void SetKmsEncryptionContext(KmsEncryptionContextT&& value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext = std::forward<KmsEncryptionContextT>(value); }
57 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
58 EncryptionConfiguration& WithKmsEncryptionContext(KmsEncryptionContextT&& value) { SetKmsEncryptionContext(std::forward<KmsEncryptionContextT>(value)); return *this;}
59 template<typename KmsEncryptionContextKeyT = Aws::String, typename KmsEncryptionContextValueT = Aws::String>
60 EncryptionConfiguration& AddKmsEncryptionContext(KmsEncryptionContextKeyT&& key, KmsEncryptionContextValueT&& value) {
61 m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext.emplace(std::forward<KmsEncryptionContextKeyT>(key), std::forward<KmsEncryptionContextValueT>(value)); return *this;
62 }
64 private:
65
66 Aws::String m_kmsKeyId;
67 bool m_kmsKeyIdHasBeenSet = false;
68
69 Aws::Map<Aws::String, Aws::String> m_kmsEncryptionContext;
70 bool m_kmsEncryptionContextHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace BedrockDataAutomation
75} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfiguration & WithKmsEncryptionContext(KmsEncryptionContextT &&value)
EncryptionConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
AWS_BEDROCKDATAAUTOMATION_API EncryptionConfiguration()=default
const Aws::Map< Aws::String, Aws::String > & GetKmsEncryptionContext() const
EncryptionConfiguration & AddKmsEncryptionContext(KmsEncryptionContextKeyT &&key, KmsEncryptionContextValueT &&value)
AWS_BEDROCKDATAAUTOMATION_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
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