AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DataEncryptionMetadata.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CleanRooms {
17namespace Model {
18
26 public:
27 AWS_CLEANROOMS_API DataEncryptionMetadata() = default;
30 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline bool GetAllowCleartext() const { return m_allowCleartext; }
39 inline bool AllowCleartextHasBeenSet() const { return m_allowCleartextHasBeenSet; }
40 inline void SetAllowCleartext(bool value) {
41 m_allowCleartextHasBeenSet = true;
42 m_allowCleartext = value;
43 }
45 SetAllowCleartext(value);
46 return *this;
47 }
49
51
56 inline bool GetAllowDuplicates() const { return m_allowDuplicates; }
57 inline bool AllowDuplicatesHasBeenSet() const { return m_allowDuplicatesHasBeenSet; }
58 inline void SetAllowDuplicates(bool value) {
59 m_allowDuplicatesHasBeenSet = true;
60 m_allowDuplicates = value;
61 }
63 SetAllowDuplicates(value);
64 return *this;
65 }
67
69
74 inline bool GetAllowJoinsOnColumnsWithDifferentNames() const { return m_allowJoinsOnColumnsWithDifferentNames; }
75 inline bool AllowJoinsOnColumnsWithDifferentNamesHasBeenSet() const { return m_allowJoinsOnColumnsWithDifferentNamesHasBeenSet; }
77 m_allowJoinsOnColumnsWithDifferentNamesHasBeenSet = true;
78 m_allowJoinsOnColumnsWithDifferentNames = value;
79 }
82 return *this;
83 }
85
87
91 inline bool GetPreserveNulls() const { return m_preserveNulls; }
92 inline bool PreserveNullsHasBeenSet() const { return m_preserveNullsHasBeenSet; }
93 inline void SetPreserveNulls(bool value) {
94 m_preserveNullsHasBeenSet = true;
95 m_preserveNulls = value;
96 }
98 SetPreserveNulls(value);
99 return *this;
100 }
102 private:
103 bool m_allowCleartext{false};
104
105 bool m_allowDuplicates{false};
106
107 bool m_allowJoinsOnColumnsWithDifferentNames{false};
108
109 bool m_preserveNulls{false};
110 bool m_allowCleartextHasBeenSet = false;
111 bool m_allowDuplicatesHasBeenSet = false;
112 bool m_allowJoinsOnColumnsWithDifferentNamesHasBeenSet = false;
113 bool m_preserveNullsHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace CleanRooms
118} // namespace Aws
AWS_CLEANROOMS_API DataEncryptionMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
DataEncryptionMetadata & WithAllowJoinsOnColumnsWithDifferentNames(bool value)
DataEncryptionMetadata & WithAllowCleartext(bool value)
AWS_CLEANROOMS_API DataEncryptionMetadata(Aws::Utils::Json::JsonView jsonValue)
DataEncryptionMetadata & WithAllowDuplicates(bool value)
DataEncryptionMetadata & WithPreserveNulls(bool value)
AWS_CLEANROOMS_API DataEncryptionMetadata()=default
Aws::Utils::Json::JsonValue JsonValue