AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Encryption.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/S3EncryptionMode.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 S3Encryption() = default;
40
41
43
46 inline S3EncryptionMode GetS3EncryptionMode() const { return m_s3EncryptionMode; }
47 inline bool S3EncryptionModeHasBeenSet() const { return m_s3EncryptionModeHasBeenSet; }
48 inline void SetS3EncryptionMode(S3EncryptionMode value) { m_s3EncryptionModeHasBeenSet = true; m_s3EncryptionMode = value; }
51
53
57 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
58 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
59 template<typename KmsKeyArnT = Aws::String>
60 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
61 template<typename KmsKeyArnT = Aws::String>
62 S3Encryption& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
64 private:
65
67 bool m_s3EncryptionModeHasBeenSet = false;
68
69 Aws::String m_kmsKeyArn;
70 bool m_kmsKeyArnHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
S3Encryption & WithS3EncryptionMode(S3EncryptionMode value)
void SetKmsKeyArn(KmsKeyArnT &&value)
S3Encryption & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_GLUE_API S3Encryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API S3Encryption()=default
const Aws::String & GetKmsKeyArn() const
void SetS3EncryptionMode(S3EncryptionMode value)
bool S3EncryptionModeHasBeenSet() const
AWS_GLUE_API S3Encryption(Aws::Utils::Json::JsonView jsonValue)
S3EncryptionMode GetS3EncryptionMode() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue