AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API EncryptionConfiguration() = default;
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
41 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
42 template <typename KmsKeyArnT = Aws::String>
43 void SetKmsKeyArn(KmsKeyArnT&& value) {
44 m_kmsKeyArnHasBeenSet = true;
45 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
46 }
47 template <typename KmsKeyArnT = Aws::String>
49 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
50 return *this;
51 }
53
55
63 inline const Aws::String& GetSseAlgorithm() const { return m_sseAlgorithm; }
64 inline bool SseAlgorithmHasBeenSet() const { return m_sseAlgorithmHasBeenSet; }
65 template <typename SseAlgorithmT = Aws::String>
66 void SetSseAlgorithm(SseAlgorithmT&& value) {
67 m_sseAlgorithmHasBeenSet = true;
68 m_sseAlgorithm = std::forward<SseAlgorithmT>(value);
69 }
70 template <typename SseAlgorithmT = Aws::String>
71 EncryptionConfiguration& WithSseAlgorithm(SseAlgorithmT&& value) {
72 SetSseAlgorithm(std::forward<SseAlgorithmT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_kmsKeyArn;
78
79 Aws::String m_sseAlgorithm;
80 bool m_kmsKeyArnHasBeenSet = false;
81 bool m_sseAlgorithmHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace DataZone
86} // namespace Aws
AWS_DATAZONE_API EncryptionConfiguration()=default
EncryptionConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfiguration & WithSseAlgorithm(SseAlgorithmT &&value)
AWS_DATAZONE_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue