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/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DLM
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DLM_API EncryptionConfiguration() = default;
40
41
43
49 inline bool GetEncrypted() const { return m_encrypted; }
50 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
51 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
52 inline EncryptionConfiguration& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
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) { m_cmkArnHasBeenSet = true; m_cmkArn = std::forward<CmkArnT>(value); }
65 template<typename CmkArnT = Aws::String>
66 EncryptionConfiguration& WithCmkArn(CmkArnT&& value) { SetCmkArn(std::forward<CmkArnT>(value)); return *this;}
68 private:
69
70 bool m_encrypted{false};
71 bool m_encryptedHasBeenSet = false;
72
73 Aws::String m_cmkArn;
74 bool m_cmkArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace DLM
79} // 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