AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3EncryptionConfig.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/synthetics/model/EncryptionMode.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 Synthetics
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_SYNTHETICS_API S3EncryptionConfig() = default;
40 AWS_SYNTHETICS_API S3EncryptionConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
54 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
55 inline void SetEncryptionMode(EncryptionMode value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
58
60
64 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
65 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
66 template<typename KmsKeyArnT = Aws::String>
67 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
68 template<typename KmsKeyArnT = Aws::String>
69 S3EncryptionConfig& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
71 private:
72
74 bool m_encryptionModeHasBeenSet = false;
75
76 Aws::String m_kmsKeyArn;
77 bool m_kmsKeyArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Synthetics
82} // namespace Aws
S3EncryptionConfig & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_SYNTHETICS_API S3EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
S3EncryptionConfig & WithEncryptionMode(EncryptionMode value)
AWS_SYNTHETICS_API S3EncryptionConfig()=default
AWS_SYNTHETICS_API S3EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue