AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
EncryptionSummary.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/odb/model/EncryptionKeyConfiguration.h>
9#include <aws/odb/model/EncryptionKeyProvider.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
30 public:
31 AWS_ODB_API EncryptionSummary() = default;
35
37
40 inline EncryptionKeyProvider GetEncryptionKeyProvider() const { return m_encryptionKeyProvider; }
41 inline bool EncryptionKeyProviderHasBeenSet() const { return m_encryptionKeyProviderHasBeenSet; }
43 m_encryptionKeyProviderHasBeenSet = true;
44 m_encryptionKeyProvider = value;
45 }
48 return *this;
49 }
51
53
56 inline const EncryptionKeyConfiguration& GetEncryptionKeyConfiguration() const { return m_encryptionKeyConfiguration; }
57 inline bool EncryptionKeyConfigurationHasBeenSet() const { return m_encryptionKeyConfigurationHasBeenSet; }
58 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfiguration>
59 void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
60 m_encryptionKeyConfigurationHasBeenSet = true;
61 m_encryptionKeyConfiguration = std::forward<EncryptionKeyConfigurationT>(value);
62 }
63 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfiguration>
64 EncryptionSummary& WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
65 SetEncryptionKeyConfiguration(std::forward<EncryptionKeyConfigurationT>(value));
66 return *this;
67 }
69 private:
71
72 EncryptionKeyConfiguration m_encryptionKeyConfiguration;
73 bool m_encryptionKeyProviderHasBeenSet = false;
74 bool m_encryptionKeyConfigurationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace odb
79} // namespace Aws
AWS_ODB_API EncryptionSummary(Aws::Utils::Json::JsonView jsonValue)
EncryptionSummary & WithEncryptionKeyProvider(EncryptionKeyProvider value)
EncryptionKeyProvider GetEncryptionKeyProvider() const
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ODB_API EncryptionSummary()=default
AWS_ODB_API EncryptionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionKeyProvider(EncryptionKeyProvider value)
void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
const EncryptionKeyConfiguration & GetEncryptionKeyConfiguration() const
EncryptionSummary & WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue