AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SSESpecification.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/SSEType.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 DynamoDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DYNAMODB_API SSESpecification() = default;
37 AWS_DYNAMODB_API SSESpecification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline bool GetEnabled() const { return m_enabled; }
51 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
52 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
53 inline SSESpecification& WithEnabled(bool value) { SetEnabled(value); return *this;}
55
57
63 inline SSEType GetSSEType() const { return m_sSEType; }
64 inline bool SSETypeHasBeenSet() const { return m_sSETypeHasBeenSet; }
65 inline void SetSSEType(SSEType value) { m_sSETypeHasBeenSet = true; m_sSEType = value; }
66 inline SSESpecification& WithSSEType(SSEType value) { SetSSEType(value); return *this;}
68
70
76 inline const Aws::String& GetKMSMasterKeyId() const { return m_kMSMasterKeyId; }
77 inline bool KMSMasterKeyIdHasBeenSet() const { return m_kMSMasterKeyIdHasBeenSet; }
78 template<typename KMSMasterKeyIdT = Aws::String>
79 void SetKMSMasterKeyId(KMSMasterKeyIdT&& value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = std::forward<KMSMasterKeyIdT>(value); }
80 template<typename KMSMasterKeyIdT = Aws::String>
81 SSESpecification& WithKMSMasterKeyId(KMSMasterKeyIdT&& value) { SetKMSMasterKeyId(std::forward<KMSMasterKeyIdT>(value)); return *this;}
83 private:
84
85 bool m_enabled{false};
86 bool m_enabledHasBeenSet = false;
87
88 SSEType m_sSEType{SSEType::NOT_SET};
89 bool m_sSETypeHasBeenSet = false;
90
91 Aws::String m_kMSMasterKeyId;
92 bool m_kMSMasterKeyIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DynamoDB
97} // namespace Aws
SSESpecification & WithSSEType(SSEType value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API SSESpecification(Aws::Utils::Json::JsonView jsonValue)
SSESpecification & WithKMSMasterKeyId(KMSMasterKeyIdT &&value)
AWS_DYNAMODB_API SSESpecification()=default
AWS_DYNAMODB_API SSESpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
SSESpecification & WithEnabled(bool value)
void SetKMSMasterKeyId(KMSMasterKeyIdT &&value)
const Aws::String & GetKMSMasterKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue