AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
EncryptionSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
9#include <aws/keyspaces/model/EncryptionType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Keyspaces {
21namespace Model {
22
43 public:
44 AWS_KEYSPACES_API EncryptionSpecification() = default;
47 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
48
50
62 inline EncryptionType GetType() const { return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(EncryptionType value) {
65 m_typeHasBeenSet = true;
66 m_type = value;
67 }
69 SetType(value);
70 return *this;
71 }
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) {
83 m_kmsKeyIdentifierHasBeenSet = true;
84 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
85 }
86 template <typename KmsKeyIdentifierT = Aws::String>
87 EncryptionSpecification& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
88 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
89 return *this;
90 }
92 private:
94
95 Aws::String m_kmsKeyIdentifier;
96 bool m_typeHasBeenSet = false;
97 bool m_kmsKeyIdentifierHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Keyspaces
102} // 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