AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
EncryptionKeyConfiguration.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/odb/model/AwsEncryptionKeyConfiguration.h>
9#include <aws/odb/model/OciEncryptionKeyConfiguration.h>
10#include <aws/odb/model/OkvEncryptionKeyConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace odb {
22namespace Model {
23
32 public:
33 AWS_ODB_API EncryptionKeyConfiguration() = default;
37
39
43 inline const AwsEncryptionKeyConfiguration& GetAwsEncryptionKey() const { return m_awsEncryptionKey; }
44 inline bool AwsEncryptionKeyHasBeenSet() const { return m_awsEncryptionKeyHasBeenSet; }
45 template <typename AwsEncryptionKeyT = AwsEncryptionKeyConfiguration>
46 void SetAwsEncryptionKey(AwsEncryptionKeyT&& value) {
47 m_awsEncryptionKeyHasBeenSet = true;
48 m_awsEncryptionKey = std::forward<AwsEncryptionKeyT>(value);
49 }
50 template <typename AwsEncryptionKeyT = AwsEncryptionKeyConfiguration>
52 SetAwsEncryptionKey(std::forward<AwsEncryptionKeyT>(value));
53 return *this;
54 }
56
58
62 inline const OciEncryptionKeyConfiguration& GetOciEncryptionKey() const { return m_ociEncryptionKey; }
63 inline bool OciEncryptionKeyHasBeenSet() const { return m_ociEncryptionKeyHasBeenSet; }
64 template <typename OciEncryptionKeyT = OciEncryptionKeyConfiguration>
65 void SetOciEncryptionKey(OciEncryptionKeyT&& value) {
66 m_ociEncryptionKeyHasBeenSet = true;
67 m_ociEncryptionKey = std::forward<OciEncryptionKeyT>(value);
68 }
69 template <typename OciEncryptionKeyT = OciEncryptionKeyConfiguration>
71 SetOciEncryptionKey(std::forward<OciEncryptionKeyT>(value));
72 return *this;
73 }
75
77
80 inline const OkvEncryptionKeyConfiguration& GetOkvEncryptionKey() const { return m_okvEncryptionKey; }
81 inline bool OkvEncryptionKeyHasBeenSet() const { return m_okvEncryptionKeyHasBeenSet; }
82 template <typename OkvEncryptionKeyT = OkvEncryptionKeyConfiguration>
83 void SetOkvEncryptionKey(OkvEncryptionKeyT&& value) {
84 m_okvEncryptionKeyHasBeenSet = true;
85 m_okvEncryptionKey = std::forward<OkvEncryptionKeyT>(value);
86 }
87 template <typename OkvEncryptionKeyT = OkvEncryptionKeyConfiguration>
89 SetOkvEncryptionKey(std::forward<OkvEncryptionKeyT>(value));
90 return *this;
91 }
93 private:
94 AwsEncryptionKeyConfiguration m_awsEncryptionKey;
95
96 OciEncryptionKeyConfiguration m_ociEncryptionKey;
97
98 OkvEncryptionKeyConfiguration m_okvEncryptionKey;
99 bool m_awsEncryptionKeyHasBeenSet = false;
100 bool m_ociEncryptionKeyHasBeenSet = false;
101 bool m_okvEncryptionKeyHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace odb
106} // namespace Aws
EncryptionKeyConfiguration & WithAwsEncryptionKey(AwsEncryptionKeyT &&value)
AWS_ODB_API EncryptionKeyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const OciEncryptionKeyConfiguration & GetOciEncryptionKey() const
AWS_ODB_API EncryptionKeyConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ODB_API EncryptionKeyConfiguration()=default
EncryptionKeyConfiguration & WithOciEncryptionKey(OciEncryptionKeyT &&value)
const AwsEncryptionKeyConfiguration & GetAwsEncryptionKey() const
const OkvEncryptionKeyConfiguration & GetOkvEncryptionKey() const
EncryptionKeyConfiguration & WithOkvEncryptionKey(OkvEncryptionKeyT &&value)
Aws::Utils::Json::JsonValue JsonValue