AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
S3Encryption.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/S3EncryptionMode.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 S3Encryption() = default;
35
37
40 inline S3EncryptionMode GetS3EncryptionMode() const { return m_s3EncryptionMode; }
41 inline bool S3EncryptionModeHasBeenSet() const { return m_s3EncryptionModeHasBeenSet; }
43 m_s3EncryptionModeHasBeenSet = true;
44 m_s3EncryptionMode = value;
45 }
48 return *this;
49 }
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) {
61 m_kmsKeyArnHasBeenSet = true;
62 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
63 }
64 template <typename KmsKeyArnT = Aws::String>
65 S3Encryption& WithKmsKeyArn(KmsKeyArnT&& value) {
66 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
67 return *this;
68 }
70 private:
72
73 Aws::String m_kmsKeyArn;
74 bool m_s3EncryptionModeHasBeenSet = false;
75 bool m_kmsKeyArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Glue
80} // 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