AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/s3vectors/S3Vectors_EXPORTS.h>
8#include <aws/s3vectors/model/SseType.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 S3Vectors
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_S3VECTORS_API EncryptionConfiguration() = default;
42 AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline SseType GetSseType() const { return m_sseType; }
53 inline bool SseTypeHasBeenSet() const { return m_sseTypeHasBeenSet; }
54 inline void SetSseType(SseType value) { m_sseTypeHasBeenSet = true; m_sseType = value; }
55 inline EncryptionConfiguration& WithSseType(SseType value) { SetSseType(value); return *this;}
57
59
68 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
69 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
70 template<typename KmsKeyArnT = Aws::String>
71 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
72 template<typename KmsKeyArnT = Aws::String>
73 EncryptionConfiguration& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
75 private:
76
77 SseType m_sseType{SseType::NOT_SET};
78 bool m_sseTypeHasBeenSet = false;
79
80 Aws::String m_kmsKeyArn;
81 bool m_kmsKeyArnHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace S3Vectors
86} // namespace Aws
EncryptionConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_S3VECTORS_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_S3VECTORS_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithSseType(SseType value)
AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3VECTORS_API EncryptionConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue