AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename KmsKeyArnT = Aws::String>
52 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
53 template<typename KmsKeyArnT = Aws::String>
54 ExportServerSideEncryption& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
56
58
62 inline ServerSideEncryptionTypes GetType() const { return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(ServerSideEncryptionTypes value) { m_typeHasBeenSet = true; m_type = value; }
67 private:
68
69 Aws::String m_kmsKeyArn;
70 bool m_kmsKeyArnHasBeenSet = false;
71
73 bool m_typeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataExchange
78} // namespace Aws
ExportServerSideEncryption & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_DATAEXCHANGE_API ExportServerSideEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
ExportServerSideEncryption & WithType(ServerSideEncryptionTypes value)
AWS_DATAEXCHANGE_API ExportServerSideEncryption()=default
AWS_DATAEXCHANGE_API ExportServerSideEncryption(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue