AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
EncryptionAtRest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/CatalogEncryptionMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API EncryptionAtRest() = default;
35
37
40 inline CatalogEncryptionMode GetCatalogEncryptionMode() const { return m_catalogEncryptionMode; }
41 inline bool CatalogEncryptionModeHasBeenSet() const { return m_catalogEncryptionModeHasBeenSet; }
43 m_catalogEncryptionModeHasBeenSet = true;
44 m_catalogEncryptionMode = value;
45 }
48 return *this;
49 }
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) {
60 m_sseAwsKmsKeyIdHasBeenSet = true;
61 m_sseAwsKmsKeyId = std::forward<SseAwsKmsKeyIdT>(value);
62 }
63 template <typename SseAwsKmsKeyIdT = Aws::String>
64 EncryptionAtRest& WithSseAwsKmsKeyId(SseAwsKmsKeyIdT&& value) {
65 SetSseAwsKmsKeyId(std::forward<SseAwsKmsKeyIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetCatalogEncryptionServiceRole() const { return m_catalogEncryptionServiceRole; }
76 inline bool CatalogEncryptionServiceRoleHasBeenSet() const { return m_catalogEncryptionServiceRoleHasBeenSet; }
77 template <typename CatalogEncryptionServiceRoleT = Aws::String>
78 void SetCatalogEncryptionServiceRole(CatalogEncryptionServiceRoleT&& value) {
79 m_catalogEncryptionServiceRoleHasBeenSet = true;
80 m_catalogEncryptionServiceRole = std::forward<CatalogEncryptionServiceRoleT>(value);
81 }
82 template <typename CatalogEncryptionServiceRoleT = Aws::String>
83 EncryptionAtRest& WithCatalogEncryptionServiceRole(CatalogEncryptionServiceRoleT&& value) {
84 SetCatalogEncryptionServiceRole(std::forward<CatalogEncryptionServiceRoleT>(value));
85 return *this;
86 }
88 private:
90
91 Aws::String m_sseAwsKmsKeyId;
92
93 Aws::String m_catalogEncryptionServiceRole;
94 bool m_catalogEncryptionModeHasBeenSet = false;
95 bool m_sseAwsKmsKeyIdHasBeenSet = false;
96 bool m_catalogEncryptionServiceRoleHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // 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