AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MetadataTableEncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/TableSseAlgorithm.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3 {
20namespace Model {
21
29 public:
33
34 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
43 inline TableSseAlgorithm GetSseAlgorithm() const { return m_sseAlgorithm; }
44 inline bool SseAlgorithmHasBeenSet() const { return m_sseAlgorithmHasBeenSet; }
46 m_sseAlgorithmHasBeenSet = true;
47 m_sseAlgorithm = value;
48 }
50 SetSseAlgorithm(value);
51 return *this;
52 }
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) {
67 m_kmsKeyArnHasBeenSet = true;
68 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
69 }
70 template <typename KmsKeyArnT = Aws::String>
72 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::String m_kmsKeyArn;
80 bool m_sseAlgorithmHasBeenSet = false;
81 bool m_kmsKeyArnHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace S3
86} // 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