AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dlm/DLM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DLM {
20namespace Model {
21
30 public:
31 AWS_DLM_API EncryptionConfiguration() = default;
35
37
43 inline bool GetEncrypted() const { return m_encrypted; }
44 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
45 inline void SetEncrypted(bool value) {
46 m_encryptedHasBeenSet = true;
47 m_encrypted = value;
48 }
50 SetEncrypted(value);
51 return *this;
52 }
54
56
61 inline const Aws::String& GetCmkArn() const { return m_cmkArn; }
62 inline bool CmkArnHasBeenSet() const { return m_cmkArnHasBeenSet; }
63 template <typename CmkArnT = Aws::String>
64 void SetCmkArn(CmkArnT&& value) {
65 m_cmkArnHasBeenSet = true;
66 m_cmkArn = std::forward<CmkArnT>(value);
67 }
68 template <typename CmkArnT = Aws::String>
70 SetCmkArn(std::forward<CmkArnT>(value));
71 return *this;
72 }
74 private:
75 bool m_encrypted{false};
76
77 Aws::String m_cmkArn;
78 bool m_encryptedHasBeenSet = false;
79 bool m_cmkArnHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace DLM
84} // namespace Aws
AWS_DLM_API EncryptionConfiguration()=default
EncryptionConfiguration & WithEncrypted(bool value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DLM_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithCmkArn(CmkArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue