AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const CatalogEncryptionMode& GetCatalogEncryptionMode() const{ return m_catalogEncryptionMode; }
47 inline bool CatalogEncryptionModeHasBeenSet() const { return m_catalogEncryptionModeHasBeenSet; }
48 inline void SetCatalogEncryptionMode(const CatalogEncryptionMode& value) { m_catalogEncryptionModeHasBeenSet = true; m_catalogEncryptionMode = value; }
49 inline void SetCatalogEncryptionMode(CatalogEncryptionMode&& value) { m_catalogEncryptionModeHasBeenSet = true; m_catalogEncryptionMode = std::move(value); }
53
55
58 inline const Aws::String& GetSseAwsKmsKeyId() const{ return m_sseAwsKmsKeyId; }
59 inline bool SseAwsKmsKeyIdHasBeenSet() const { return m_sseAwsKmsKeyIdHasBeenSet; }
60 inline void SetSseAwsKmsKeyId(const Aws::String& value) { m_sseAwsKmsKeyIdHasBeenSet = true; m_sseAwsKmsKeyId = value; }
61 inline void SetSseAwsKmsKeyId(Aws::String&& value) { m_sseAwsKmsKeyIdHasBeenSet = true; m_sseAwsKmsKeyId = std::move(value); }
62 inline void SetSseAwsKmsKeyId(const char* value) { m_sseAwsKmsKeyIdHasBeenSet = true; m_sseAwsKmsKeyId.assign(value); }
63 inline EncryptionAtRest& WithSseAwsKmsKeyId(const Aws::String& value) { SetSseAwsKmsKeyId(value); return *this;}
64 inline EncryptionAtRest& WithSseAwsKmsKeyId(Aws::String&& value) { SetSseAwsKmsKeyId(std::move(value)); return *this;}
65 inline EncryptionAtRest& WithSseAwsKmsKeyId(const char* value) { SetSseAwsKmsKeyId(value); return *this;}
67
69
73 inline const Aws::String& GetCatalogEncryptionServiceRole() const{ return m_catalogEncryptionServiceRole; }
74 inline bool CatalogEncryptionServiceRoleHasBeenSet() const { return m_catalogEncryptionServiceRoleHasBeenSet; }
75 inline void SetCatalogEncryptionServiceRole(const Aws::String& value) { m_catalogEncryptionServiceRoleHasBeenSet = true; m_catalogEncryptionServiceRole = value; }
76 inline void SetCatalogEncryptionServiceRole(Aws::String&& value) { m_catalogEncryptionServiceRoleHasBeenSet = true; m_catalogEncryptionServiceRole = std::move(value); }
77 inline void SetCatalogEncryptionServiceRole(const char* value) { m_catalogEncryptionServiceRoleHasBeenSet = true; m_catalogEncryptionServiceRole.assign(value); }
80 inline EncryptionAtRest& WithCatalogEncryptionServiceRole(const char* value) { SetCatalogEncryptionServiceRole(value); return *this;}
82 private:
83
84 CatalogEncryptionMode m_catalogEncryptionMode;
85 bool m_catalogEncryptionModeHasBeenSet = false;
86
87 Aws::String m_sseAwsKmsKeyId;
88 bool m_sseAwsKmsKeyIdHasBeenSet = false;
89
90 Aws::String m_catalogEncryptionServiceRole;
91 bool m_catalogEncryptionServiceRoleHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
EncryptionAtRest & WithCatalogEncryptionServiceRole(const Aws::String &value)
void SetSseAwsKmsKeyId(Aws::String &&value)
EncryptionAtRest & WithCatalogEncryptionServiceRole(const char *value)
void SetCatalogEncryptionMode(const CatalogEncryptionMode &value)
EncryptionAtRest & WithSseAwsKmsKeyId(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionAtRest & WithSseAwsKmsKeyId(const char *value)
void SetCatalogEncryptionServiceRole(const Aws::String &value)
void SetCatalogEncryptionMode(CatalogEncryptionMode &&value)
void SetCatalogEncryptionServiceRole(Aws::String &&value)
const Aws::String & GetCatalogEncryptionServiceRole() const
EncryptionAtRest & WithCatalogEncryptionMode(const CatalogEncryptionMode &value)
void SetSseAwsKmsKeyId(const char *value)
const Aws::String & GetSseAwsKmsKeyId() const
void SetSseAwsKmsKeyId(const Aws::String &value)
const CatalogEncryptionMode & GetCatalogEncryptionMode() const
AWS_GLUE_API EncryptionAtRest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API EncryptionAtRest(Aws::Utils::Json::JsonView jsonValue)
EncryptionAtRest & WithCatalogEncryptionMode(CatalogEncryptionMode &&value)
void SetCatalogEncryptionServiceRole(const char *value)
EncryptionAtRest & WithSseAwsKmsKeyId(Aws::String &&value)
EncryptionAtRest & WithCatalogEncryptionServiceRole(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue