AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const S3EncryptionMode& GetS3EncryptionMode() const{ return m_s3EncryptionMode; }
47 inline bool S3EncryptionModeHasBeenSet() const { return m_s3EncryptionModeHasBeenSet; }
48 inline void SetS3EncryptionMode(const S3EncryptionMode& value) { m_s3EncryptionModeHasBeenSet = true; m_s3EncryptionMode = value; }
49 inline void SetS3EncryptionMode(S3EncryptionMode&& value) { m_s3EncryptionModeHasBeenSet = true; m_s3EncryptionMode = std::move(value); }
50 inline S3Encryption& WithS3EncryptionMode(const S3EncryptionMode& value) { SetS3EncryptionMode(value); return *this;}
51 inline S3Encryption& WithS3EncryptionMode(S3EncryptionMode&& value) { SetS3EncryptionMode(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
60 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
61 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
62 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
63 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
64 inline S3Encryption& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
65 inline S3Encryption& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
66 inline S3Encryption& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
68 private:
69
70 S3EncryptionMode m_s3EncryptionMode;
71 bool m_s3EncryptionModeHasBeenSet = false;
72
73 Aws::String m_kmsKeyArn;
74 bool m_kmsKeyArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
S3Encryption & WithS3EncryptionMode(S3EncryptionMode &&value)
AWS_GLUE_API S3Encryption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3EncryptionMode(S3EncryptionMode &&value)
const Aws::String & GetKmsKeyArn() const
bool S3EncryptionModeHasBeenSet() const
AWS_GLUE_API S3Encryption(Aws::Utils::Json::JsonView jsonValue)
S3Encryption & WithS3EncryptionMode(const S3EncryptionMode &value)
S3Encryption & WithKmsKeyArn(const char *value)
void SetKmsKeyArn(const char *value)
void SetKmsKeyArn(Aws::String &&value)
const S3EncryptionMode & GetS3EncryptionMode() const
void SetKmsKeyArn(const Aws::String &value)
void SetS3EncryptionMode(const S3EncryptionMode &value)
S3Encryption & WithKmsKeyArn(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3Encryption & WithKmsKeyArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue