AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
MedicalScribeEncryptionSettings.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.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 TranscribeStreamingService
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeEncryptionSettings() = default;
46 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeEncryptionSettings(Aws::Utils::Json::JsonView jsonValue);
47 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeEncryptionSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
61 inline const Aws::Map<Aws::String, Aws::String>& GetKmsEncryptionContext() const { return m_kmsEncryptionContext; }
62 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
63 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
64 void SetKmsEncryptionContext(KmsEncryptionContextT&& value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext = std::forward<KmsEncryptionContextT>(value); }
65 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
66 MedicalScribeEncryptionSettings& WithKmsEncryptionContext(KmsEncryptionContextT&& value) { SetKmsEncryptionContext(std::forward<KmsEncryptionContextT>(value)); return *this;}
67 template<typename KmsEncryptionContextKeyT = Aws::String, typename KmsEncryptionContextValueT = Aws::String>
68 MedicalScribeEncryptionSettings& AddKmsEncryptionContext(KmsEncryptionContextKeyT&& key, KmsEncryptionContextValueT&& value) {
69 m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext.emplace(std::forward<KmsEncryptionContextKeyT>(key), std::forward<KmsEncryptionContextValueT>(value)); return *this;
70 }
72
74
92 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
93 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
94 template<typename KmsKeyIdT = Aws::String>
95 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
96 template<typename KmsKeyIdT = Aws::String>
97 MedicalScribeEncryptionSettings& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
99 private:
100
101 Aws::Map<Aws::String, Aws::String> m_kmsEncryptionContext;
102 bool m_kmsEncryptionContextHasBeenSet = false;
103
104 Aws::String m_kmsKeyId;
105 bool m_kmsKeyIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace TranscribeStreamingService
110} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeEncryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MedicalScribeEncryptionSettings & AddKmsEncryptionContext(KmsEncryptionContextKeyT &&key, KmsEncryptionContextValueT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeEncryptionSettings()=default
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalScribeEncryptionSettings & WithKmsEncryptionContext(KmsEncryptionContextT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeEncryptionSettings(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