AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EncryptionAtRest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/CatalogEncryptionMode.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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API EncryptionAtRest() = default;
40
41
43
46 inline CatalogEncryptionMode GetCatalogEncryptionMode() const { return m_catalogEncryptionMode; }
47 inline bool CatalogEncryptionModeHasBeenSet() const { return m_catalogEncryptionModeHasBeenSet; }
48 inline void SetCatalogEncryptionMode(CatalogEncryptionMode value) { m_catalogEncryptionModeHasBeenSet = true; m_catalogEncryptionMode = value; }
51
53
56 inline const Aws::String& GetSseAwsKmsKeyId() const { return m_sseAwsKmsKeyId; }
57 inline bool SseAwsKmsKeyIdHasBeenSet() const { return m_sseAwsKmsKeyIdHasBeenSet; }
58 template<typename SseAwsKmsKeyIdT = Aws::String>
59 void SetSseAwsKmsKeyId(SseAwsKmsKeyIdT&& value) { m_sseAwsKmsKeyIdHasBeenSet = true; m_sseAwsKmsKeyId = std::forward<SseAwsKmsKeyIdT>(value); }
60 template<typename SseAwsKmsKeyIdT = Aws::String>
61 EncryptionAtRest& WithSseAwsKmsKeyId(SseAwsKmsKeyIdT&& value) { SetSseAwsKmsKeyId(std::forward<SseAwsKmsKeyIdT>(value)); return *this;}
63
65
69 inline const Aws::String& GetCatalogEncryptionServiceRole() const { return m_catalogEncryptionServiceRole; }
70 inline bool CatalogEncryptionServiceRoleHasBeenSet() const { return m_catalogEncryptionServiceRoleHasBeenSet; }
71 template<typename CatalogEncryptionServiceRoleT = Aws::String>
72 void SetCatalogEncryptionServiceRole(CatalogEncryptionServiceRoleT&& value) { m_catalogEncryptionServiceRoleHasBeenSet = true; m_catalogEncryptionServiceRole = std::forward<CatalogEncryptionServiceRoleT>(value); }
73 template<typename CatalogEncryptionServiceRoleT = Aws::String>
74 EncryptionAtRest& WithCatalogEncryptionServiceRole(CatalogEncryptionServiceRoleT&& value) { SetCatalogEncryptionServiceRole(std::forward<CatalogEncryptionServiceRoleT>(value)); return *this;}
76 private:
77
79 bool m_catalogEncryptionModeHasBeenSet = false;
80
81 Aws::String m_sseAwsKmsKeyId;
82 bool m_sseAwsKmsKeyIdHasBeenSet = false;
83
84 Aws::String m_catalogEncryptionServiceRole;
85 bool m_catalogEncryptionServiceRoleHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // namespace Aws
EncryptionAtRest & WithSseAwsKmsKeyId(SseAwsKmsKeyIdT &&value)
void SetCatalogEncryptionServiceRole(CatalogEncryptionServiceRoleT &&value)
AWS_GLUE_API EncryptionAtRest()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSseAwsKmsKeyId(SseAwsKmsKeyIdT &&value)
CatalogEncryptionMode GetCatalogEncryptionMode() const
const Aws::String & GetCatalogEncryptionServiceRole() const
EncryptionAtRest & WithCatalogEncryptionMode(CatalogEncryptionMode value)
const Aws::String & GetSseAwsKmsKeyId() const
void SetCatalogEncryptionMode(CatalogEncryptionMode value)
AWS_GLUE_API EncryptionAtRest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API EncryptionAtRest(Aws::Utils::Json::JsonView jsonValue)
EncryptionAtRest & WithCatalogEncryptionServiceRole(CatalogEncryptionServiceRoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue