AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EncryptionDetails.h
1
6#pragma once
7#include <aws/dsql/DSQL_EXPORTS.h>
8#include <aws/dsql/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dsql/model/EncryptionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DSQL
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DSQL_API EncryptionDetails() = default;
41
42
44
47 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
48 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
49 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
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) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
61 template<typename KmsKeyArnT = Aws::String>
62 EncryptionDetails& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
64
66
69 inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; }
70 inline bool EncryptionStatusHasBeenSet() const { return m_encryptionStatusHasBeenSet; }
71 inline void SetEncryptionStatus(EncryptionStatus value) { m_encryptionStatusHasBeenSet = true; m_encryptionStatus = value; }
74 private:
75
77 bool m_encryptionTypeHasBeenSet = false;
78
79 Aws::String m_kmsKeyArn;
80 bool m_kmsKeyArnHasBeenSet = false;
81
83 bool m_encryptionStatusHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DSQL
88} // 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