AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
AnnotationTableConfigurationUpdates.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/AnnotationConfigurationState.h>
10#include <aws/s3-crt/model/MetadataTableEncryptionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt {
21namespace Model {
22
32 public:
33 AWS_S3CRT_API AnnotationTableConfigurationUpdates() = default;
36
37 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
40
43 inline AnnotationConfigurationState GetConfigurationState() const { return m_configurationState; }
44 inline bool ConfigurationStateHasBeenSet() const { return m_configurationStateHasBeenSet; }
46 m_configurationStateHasBeenSet = true;
47 m_configurationState = value;
48 }
51 return *this;
52 }
54
56
57 inline const MetadataTableEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
58 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
59 template <typename EncryptionConfigurationT = MetadataTableEncryptionConfiguration>
60 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
61 m_encryptionConfigurationHasBeenSet = true;
62 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
63 }
64 template <typename EncryptionConfigurationT = MetadataTableEncryptionConfiguration>
66 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRole() const { return m_role; }
76 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
77 template <typename RoleT = Aws::String>
78 void SetRole(RoleT&& value) {
79 m_roleHasBeenSet = true;
80 m_role = std::forward<RoleT>(value);
81 }
82 template <typename RoleT = Aws::String>
84 SetRole(std::forward<RoleT>(value));
85 return *this;
86 }
88 private:
90
91 MetadataTableEncryptionConfiguration m_encryptionConfiguration;
92
93 Aws::String m_role;
94 bool m_configurationStateHasBeenSet = false;
95 bool m_encryptionConfigurationHasBeenSet = false;
96 bool m_roleHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace S3Crt
101} // namespace Aws
AWS_S3CRT_API AnnotationTableConfigurationUpdates & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AnnotationTableConfigurationUpdates & WithConfigurationState(AnnotationConfigurationState value)
AnnotationTableConfigurationUpdates & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AnnotationTableConfigurationUpdates & WithRole(RoleT &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const MetadataTableEncryptionConfiguration & GetEncryptionConfiguration() const
AWS_S3CRT_API AnnotationTableConfigurationUpdates(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String