AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
KmsEncryptionConfig.h
1
6#pragma once
7#include <aws/healthlake/HealthLake_EXPORTS.h>
8#include <aws/healthlake/model/CmkType.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 HealthLake
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_HEALTHLAKE_API KmsEncryptionConfig() = default;
38 AWS_HEALTHLAKE_API KmsEncryptionConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline CmkType GetCmkType() const { return m_cmkType; }
49 inline bool CmkTypeHasBeenSet() const { return m_cmkTypeHasBeenSet; }
50 inline void SetCmkType(CmkType value) { m_cmkTypeHasBeenSet = true; m_cmkType = value; }
51 inline KmsEncryptionConfig& WithCmkType(CmkType value) { SetCmkType(value); return *this;}
53
55
59 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
60 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
61 template<typename KmsKeyIdT = Aws::String>
62 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
63 template<typename KmsKeyIdT = Aws::String>
64 KmsEncryptionConfig& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
66 private:
67
68 CmkType m_cmkType{CmkType::NOT_SET};
69 bool m_cmkTypeHasBeenSet = false;
70
71 Aws::String m_kmsKeyId;
72 bool m_kmsKeyIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace HealthLake
77} // namespace Aws
AWS_HEALTHLAKE_API KmsEncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_HEALTHLAKE_API KmsEncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTHLAKE_API KmsEncryptionConfig()=default
KmsEncryptionConfig & WithCmkType(CmkType value)
KmsEncryptionConfig & WithKmsKeyId(KmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue