AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExportServerSideEncryption.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dataexchange/DataExchange_EXPORTS.h>
9#include <aws/dataexchange/model/ServerSideEncryptionTypes.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataExchange {
21namespace Model {
22
31 public:
32 AWS_DATAEXCHANGE_API ExportServerSideEncryption() = default;
35 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
44 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
45 template <typename KmsKeyArnT = Aws::String>
46 void SetKmsKeyArn(KmsKeyArnT&& value) {
47 m_kmsKeyArnHasBeenSet = true;
48 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
49 }
50 template <typename KmsKeyArnT = Aws::String>
52 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
53 return *this;
54 }
56
58
62 inline ServerSideEncryptionTypes GetType() const { return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 m_typeHasBeenSet = true;
66 m_type = value;
67 }
69 SetType(value);
70 return *this;
71 }
73 private:
74 Aws::String m_kmsKeyArn;
75
77 bool m_kmsKeyArnHasBeenSet = false;
78 bool m_typeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DataExchange
83} // 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