AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCmkArn(const Aws::String& value) { m_cmkArnHasBeenSet = true; m_cmkArn = value; }
64 inline void SetCmkArn(Aws::String&& value) { m_cmkArnHasBeenSet = true; m_cmkArn = std::move(value); }
65 inline void SetCmkArn(const char* value) { m_cmkArnHasBeenSet = true; m_cmkArn.assign(value); }
66 inline EncryptionConfiguration& WithCmkArn(const Aws::String& value) { SetCmkArn(value); return *this;}
67 inline EncryptionConfiguration& WithCmkArn(Aws::String&& value) { SetCmkArn(std::move(value)); return *this;}
68 inline EncryptionConfiguration& WithCmkArn(const char* value) { SetCmkArn(value); return *this;}
70 private:
71
72 bool m_encrypted;
73 bool m_encryptedHasBeenSet = false;
74
75 Aws::String m_cmkArn;
76 bool m_cmkArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DLM
81} // namespace Aws
EncryptionConfiguration & WithCmkArn(const char *value)
EncryptionConfiguration & WithEncrypted(bool value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfiguration & WithCmkArn(const Aws::String &value)
AWS_DLM_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithCmkArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue