AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EncryptionSpecification.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Keyspaces
23{
24namespace Model
25{
26
47 {
48 public:
49 AWS_KEYSPACES_API EncryptionSpecification() = default;
52 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
68 inline EncryptionType GetType() const { return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(EncryptionType value) { m_typeHasBeenSet = true; m_type = value; }
71 inline EncryptionSpecification& WithType(EncryptionType value) { SetType(value); return *this;}
73
75
79 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
80 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
81 template<typename KmsKeyIdentifierT = Aws::String>
82 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
83 template<typename KmsKeyIdentifierT = Aws::String>
84 EncryptionSpecification& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
86 private:
87
89 bool m_typeHasBeenSet = false;
90
91 Aws::String m_kmsKeyIdentifier;
92 bool m_kmsKeyIdentifierHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Keyspaces
97} // namespace Aws
AWS_KEYSPACES_API EncryptionSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API EncryptionSpecification()=default
AWS_KEYSPACES_API EncryptionSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionSpecification & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
EncryptionSpecification & WithType(EncryptionType value)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue