AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportServerSideEncryption.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/model/ServerSideEncryptionTypes.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 DataExchange
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_DATAEXCHANGE_API ExportServerSideEncryption();
40 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
50 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
51 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
52 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
53 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
54 inline ExportServerSideEncryption& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
55 inline ExportServerSideEncryption& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
56 inline ExportServerSideEncryption& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
58
60
64 inline const ServerSideEncryptionTypes& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const ServerSideEncryptionTypes& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(ServerSideEncryptionTypes&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline ExportServerSideEncryption& WithType(const ServerSideEncryptionTypes& value) { SetType(value); return *this;}
69 inline ExportServerSideEncryption& WithType(ServerSideEncryptionTypes&& value) { SetType(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_kmsKeyArn;
74 bool m_kmsKeyArnHasBeenSet = false;
75
77 bool m_typeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DataExchange
82} // namespace Aws
AWS_DATAEXCHANGE_API ExportServerSideEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportServerSideEncryption & WithKmsKeyArn(Aws::String &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
ExportServerSideEncryption & WithKmsKeyArn(const Aws::String &value)
void SetType(const ServerSideEncryptionTypes &value)
AWS_DATAEXCHANGE_API ExportServerSideEncryption(Aws::Utils::Json::JsonView jsonValue)
ExportServerSideEncryption & WithType(const ServerSideEncryptionTypes &value)
ExportServerSideEncryption & WithType(ServerSideEncryptionTypes &&value)
ExportServerSideEncryption & WithKmsKeyArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue