AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SSEDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/SSEStatus.h>
9#include <aws/dynamodb/model/SSEType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DYNAMODB_API SSEDescription();
39 AWS_DYNAMODB_API SSEDescription(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const SSEStatus& GetStatus() const{ return m_status; }
52 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
53 inline void SetStatus(const SSEStatus& value) { m_statusHasBeenSet = true; m_status = value; }
54 inline void SetStatus(SSEStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
55 inline SSEDescription& WithStatus(const SSEStatus& value) { SetStatus(value); return *this;}
56 inline SSEDescription& WithStatus(SSEStatus&& value) { SetStatus(std::move(value)); return *this;}
58
60
66 inline const SSEType& GetSSEType() const{ return m_sSEType; }
67 inline bool SSETypeHasBeenSet() const { return m_sSETypeHasBeenSet; }
68 inline void SetSSEType(const SSEType& value) { m_sSETypeHasBeenSet = true; m_sSEType = value; }
69 inline void SetSSEType(SSEType&& value) { m_sSETypeHasBeenSet = true; m_sSEType = std::move(value); }
70 inline SSEDescription& WithSSEType(const SSEType& value) { SetSSEType(value); return *this;}
71 inline SSEDescription& WithSSEType(SSEType&& value) { SetSSEType(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetKMSMasterKeyArn() const{ return m_kMSMasterKeyArn; }
79 inline bool KMSMasterKeyArnHasBeenSet() const { return m_kMSMasterKeyArnHasBeenSet; }
80 inline void SetKMSMasterKeyArn(const Aws::String& value) { m_kMSMasterKeyArnHasBeenSet = true; m_kMSMasterKeyArn = value; }
81 inline void SetKMSMasterKeyArn(Aws::String&& value) { m_kMSMasterKeyArnHasBeenSet = true; m_kMSMasterKeyArn = std::move(value); }
82 inline void SetKMSMasterKeyArn(const char* value) { m_kMSMasterKeyArnHasBeenSet = true; m_kMSMasterKeyArn.assign(value); }
83 inline SSEDescription& WithKMSMasterKeyArn(const Aws::String& value) { SetKMSMasterKeyArn(value); return *this;}
84 inline SSEDescription& WithKMSMasterKeyArn(Aws::String&& value) { SetKMSMasterKeyArn(std::move(value)); return *this;}
85 inline SSEDescription& WithKMSMasterKeyArn(const char* value) { SetKMSMasterKeyArn(value); return *this;}
87
89
96 inline const Aws::Utils::DateTime& GetInaccessibleEncryptionDateTime() const{ return m_inaccessibleEncryptionDateTime; }
97 inline bool InaccessibleEncryptionDateTimeHasBeenSet() const { return m_inaccessibleEncryptionDateTimeHasBeenSet; }
98 inline void SetInaccessibleEncryptionDateTime(const Aws::Utils::DateTime& value) { m_inaccessibleEncryptionDateTimeHasBeenSet = true; m_inaccessibleEncryptionDateTime = value; }
99 inline void SetInaccessibleEncryptionDateTime(Aws::Utils::DateTime&& value) { m_inaccessibleEncryptionDateTimeHasBeenSet = true; m_inaccessibleEncryptionDateTime = std::move(value); }
103 private:
104
105 SSEStatus m_status;
106 bool m_statusHasBeenSet = false;
107
108 SSEType m_sSEType;
109 bool m_sSETypeHasBeenSet = false;
110
111 Aws::String m_kMSMasterKeyArn;
112 bool m_kMSMasterKeyArnHasBeenSet = false;
113
114 Aws::Utils::DateTime m_inaccessibleEncryptionDateTime;
115 bool m_inaccessibleEncryptionDateTimeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace DynamoDB
120} // namespace Aws
SSEDescription & WithKMSMasterKeyArn(const char *value)
const SSEType & GetSSEType() const
SSEDescription & WithInaccessibleEncryptionDateTime(const Aws::Utils::DateTime &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API SSEDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKMSMasterKeyArn(const char *value)
SSEDescription & WithInaccessibleEncryptionDateTime(Aws::Utils::DateTime &&value)
void SetSSEType(const SSEType &value)
SSEDescription & WithKMSMasterKeyArn(const Aws::String &value)
void SetKMSMasterKeyArn(const Aws::String &value)
SSEDescription & WithSSEType(SSEType &&value)
SSEDescription & WithSSEType(const SSEType &value)
void SetInaccessibleEncryptionDateTime(const Aws::Utils::DateTime &value)
SSEDescription & WithStatus(SSEStatus &&value)
SSEDescription & WithStatus(const SSEStatus &value)
AWS_DYNAMODB_API SSEDescription(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const SSEStatus &value)
void SetInaccessibleEncryptionDateTime(Aws::Utils::DateTime &&value)
const SSEStatus & GetStatus() const
SSEDescription & WithKMSMasterKeyArn(Aws::String &&value)
const Aws::String & GetKMSMasterKeyArn() const
void SetStatus(SSEStatus &&value)
void SetKMSMasterKeyArn(Aws::String &&value)
const Aws::Utils::DateTime & GetInaccessibleEncryptionDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue