AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
52 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
68 inline const EncryptionType& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const EncryptionType& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(EncryptionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline EncryptionSpecification& WithType(const EncryptionType& value) { SetType(value); return *this;}
73 inline EncryptionSpecification& WithType(EncryptionType&& value) { SetType(std::move(value)); return *this;}
75
77
81 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
82 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
83 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
84 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
85 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
86 inline EncryptionSpecification& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
87 inline EncryptionSpecification& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
88 inline EncryptionSpecification& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
90 private:
91
92 EncryptionType m_type;
93 bool m_typeHasBeenSet = false;
94
95 Aws::String m_kmsKeyIdentifier;
96 bool m_kmsKeyIdentifierHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Keyspaces
101} // namespace Aws
EncryptionSpecification & WithKmsKeyIdentifier(const char *value)
EncryptionSpecification & WithType(const EncryptionType &value)
AWS_KEYSPACES_API EncryptionSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API EncryptionSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionSpecification & WithType(EncryptionType &&value)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionSpecification & WithKmsKeyIdentifier(const Aws::String &value)
EncryptionSpecification & WithKmsKeyIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue