AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const SSEType& GetSSEType() const{ return m_sSEType; }
64 inline bool SSETypeHasBeenSet() const { return m_sSETypeHasBeenSet; }
65 inline void SetSSEType(const SSEType& value) { m_sSETypeHasBeenSet = true; m_sSEType = value; }
66 inline void SetSSEType(SSEType&& value) { m_sSETypeHasBeenSet = true; m_sSEType = std::move(value); }
67 inline SSESpecification& WithSSEType(const SSEType& value) { SetSSEType(value); return *this;}
68 inline SSESpecification& WithSSEType(SSEType&& value) { SetSSEType(std::move(value)); return *this;}
70
72
78 inline const Aws::String& GetKMSMasterKeyId() const{ return m_kMSMasterKeyId; }
79 inline bool KMSMasterKeyIdHasBeenSet() const { return m_kMSMasterKeyIdHasBeenSet; }
80 inline void SetKMSMasterKeyId(const Aws::String& value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = value; }
81 inline void SetKMSMasterKeyId(Aws::String&& value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = std::move(value); }
82 inline void SetKMSMasterKeyId(const char* value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId.assign(value); }
83 inline SSESpecification& WithKMSMasterKeyId(const Aws::String& value) { SetKMSMasterKeyId(value); return *this;}
84 inline SSESpecification& WithKMSMasterKeyId(Aws::String&& value) { SetKMSMasterKeyId(std::move(value)); return *this;}
85 inline SSESpecification& WithKMSMasterKeyId(const char* value) { SetKMSMasterKeyId(value); return *this;}
87 private:
88
89 bool m_enabled;
90 bool m_enabledHasBeenSet = false;
91
92 SSEType m_sSEType;
93 bool m_sSETypeHasBeenSet = false;
94
95 Aws::String m_kMSMasterKeyId;
96 bool m_kMSMasterKeyIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DynamoDB
101} // namespace Aws
void SetSSEType(const SSEType &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKMSMasterKeyId(const char *value)
SSESpecification & WithSSEType(SSEType &&value)
void SetKMSMasterKeyId(const Aws::String &value)
AWS_DYNAMODB_API SSESpecification(Aws::Utils::Json::JsonView jsonValue)
SSESpecification & WithSSEType(const SSEType &value)
AWS_DYNAMODB_API SSESpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
SSESpecification & WithEnabled(bool value)
SSESpecification & WithKMSMasterKeyId(const Aws::String &value)
void SetKMSMasterKeyId(Aws::String &&value)
SSESpecification & WithKMSMasterKeyId(const char *value)
const Aws::String & GetKMSMasterKeyId() const
SSESpecification & WithKMSMasterKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue