AWS SDK for C++

AWS SDK for C++ Version 1.11.830

Loading...
Searching...
No Matches
AnnotationTableConfiguration.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 AnnotationTableConfiguration() = default;
36
37 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
40
44 inline AnnotationConfigurationState GetConfigurationState() const { return m_configurationState; }
45 inline bool ConfigurationStateHasBeenSet() const { return m_configurationStateHasBeenSet; }
47 m_configurationStateHasBeenSet = true;
48 m_configurationState = value;
49 }
52 return *this;
53 }
55
57
58 inline const MetadataTableEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
59 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
60 template <typename EncryptionConfigurationT = MetadataTableEncryptionConfiguration>
61 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
62 m_encryptionConfigurationHasBeenSet = true;
63 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
64 }
65 template <typename EncryptionConfigurationT = MetadataTableEncryptionConfiguration>
66 AnnotationTableConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
67 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetRole() const { return m_role; }
77 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
78 template <typename RoleT = Aws::String>
79 void SetRole(RoleT&& value) {
80 m_roleHasBeenSet = true;
81 m_role = std::forward<RoleT>(value);
82 }
83 template <typename RoleT = Aws::String>
85 SetRole(std::forward<RoleT>(value));
86 return *this;
87 }
89 private:
91
92 MetadataTableEncryptionConfiguration m_encryptionConfiguration;
93
94 Aws::String m_role;
95 bool m_configurationStateHasBeenSet = false;
96 bool m_encryptionConfigurationHasBeenSet = false;
97 bool m_roleHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace S3Crt
102} // namespace Aws
const MetadataTableEncryptionConfiguration & GetEncryptionConfiguration() const
AWS_S3CRT_API AnnotationTableConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API AnnotationTableConfiguration()=default
AnnotationTableConfiguration & WithRole(RoleT &&value)
void SetConfigurationState(AnnotationConfigurationState value)
AnnotationTableConfiguration & WithConfigurationState(AnnotationConfigurationState value)
AnnotationTableConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AnnotationConfigurationState GetConfigurationState() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CRT_API AnnotationTableConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String