AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const CmkType& GetCmkType() const{ return m_cmkType; }
49 inline bool CmkTypeHasBeenSet() const { return m_cmkTypeHasBeenSet; }
50 inline void SetCmkType(const CmkType& value) { m_cmkTypeHasBeenSet = true; m_cmkType = value; }
51 inline void SetCmkType(CmkType&& value) { m_cmkTypeHasBeenSet = true; m_cmkType = std::move(value); }
52 inline KmsEncryptionConfig& WithCmkType(const CmkType& value) { SetCmkType(value); return *this;}
53 inline KmsEncryptionConfig& WithCmkType(CmkType&& value) { SetCmkType(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
62 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
63 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
64 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
65 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
66 inline KmsEncryptionConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
67 inline KmsEncryptionConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
68 inline KmsEncryptionConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
70 private:
71
72 CmkType m_cmkType;
73 bool m_cmkTypeHasBeenSet = false;
74
75 Aws::String m_kmsKeyId;
76 bool m_kmsKeyIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace HealthLake
81} // namespace Aws
KmsEncryptionConfig & WithKmsKeyId(const Aws::String &value)
AWS_HEALTHLAKE_API KmsEncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_HEALTHLAKE_API KmsEncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
KmsEncryptionConfig & WithKmsKeyId(const char *value)
KmsEncryptionConfig & WithCmkType(const CmkType &value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
KmsEncryptionConfig & WithKmsKeyId(Aws::String &&value)
KmsEncryptionConfig & WithCmkType(CmkType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue