AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
EncryptionDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dsql/DSQL_EXPORTS.h>
9#include <aws/dsql/model/EncryptionStatus.h>
10#include <aws/dsql/model/EncryptionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DSQL {
22namespace Model {
23
31 public:
32 AWS_DSQL_API EncryptionDetails() = default;
36
38
41 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
42 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
43 inline void SetEncryptionType(EncryptionType value) {
44 m_encryptionTypeHasBeenSet = true;
45 m_encryptionType = value;
46 }
48 SetEncryptionType(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
58 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
59 template <typename KmsKeyArnT = Aws::String>
60 void SetKmsKeyArn(KmsKeyArnT&& value) {
61 m_kmsKeyArnHasBeenSet = true;
62 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
63 }
64 template <typename KmsKeyArnT = Aws::String>
65 EncryptionDetails& WithKmsKeyArn(KmsKeyArnT&& value) {
66 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
67 return *this;
68 }
70
72
75 inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; }
76 inline bool EncryptionStatusHasBeenSet() const { return m_encryptionStatusHasBeenSet; }
78 m_encryptionStatusHasBeenSet = true;
79 m_encryptionStatus = value;
80 }
83 return *this;
84 }
86 private:
88
89 Aws::String m_kmsKeyArn;
90
92 bool m_encryptionTypeHasBeenSet = false;
93 bool m_kmsKeyArnHasBeenSet = false;
94 bool m_encryptionStatusHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace DSQL
99} // namespace Aws
EncryptionDetails & WithEncryptionStatus(EncryptionStatus value)
EncryptionType GetEncryptionType() const
EncryptionDetails & WithEncryptionType(EncryptionType value)
AWS_DSQL_API EncryptionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DSQL_API EncryptionDetails()=default
AWS_DSQL_API EncryptionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionStatus GetEncryptionStatus() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const Aws::String & GetKmsKeyArn() const
void SetEncryptionStatus(EncryptionStatus value)
AWS_DSQL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionType(EncryptionType value)
EncryptionDetails & WithKmsKeyArn(KmsKeyArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue