AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MetadataTableEncryptionConfiguration.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/TableSseAlgorithm.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
49 inline TableSseAlgorithm GetSseAlgorithm() const { return m_sseAlgorithm; }
50 inline bool SseAlgorithmHasBeenSet() const { return m_sseAlgorithmHasBeenSet; }
51 inline void SetSseAlgorithm(TableSseAlgorithm value) { m_sseAlgorithmHasBeenSet = true; m_sseAlgorithm = value; }
54
56
63 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
64 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
65 template<typename KmsKeyArnT = Aws::String>
66 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
67 template<typename KmsKeyArnT = Aws::String>
68 MetadataTableEncryptionConfiguration& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
70 private:
71
73 bool m_sseAlgorithmHasBeenSet = false;
74
75 Aws::String m_kmsKeyArn;
76 bool m_kmsKeyArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace S3
81} // namespace Aws
AWS_S3_API MetadataTableEncryptionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
MetadataTableEncryptionConfiguration & WithSseAlgorithm(TableSseAlgorithm value)
AWS_S3_API MetadataTableEncryptionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MetadataTableEncryptionConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String