AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerSideEncryptionConfiguration.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3-crt/model/ServerSideEncryptionRule.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Crt
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const Aws::Vector<ServerSideEncryptionRule>& GetRules() const{ return m_rules; }
48 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
49 inline void SetRules(const Aws::Vector<ServerSideEncryptionRule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
50 inline void SetRules(Aws::Vector<ServerSideEncryptionRule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
53 inline ServerSideEncryptionConfiguration& AddRules(const ServerSideEncryptionRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
54 inline ServerSideEncryptionConfiguration& AddRules(ServerSideEncryptionRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_rulesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace S3Crt
64} // namespace Aws
AWS_S3CRT_API ServerSideEncryptionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API ServerSideEncryptionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRules(const Aws::Vector< ServerSideEncryptionRule > &value)
ServerSideEncryptionConfiguration & WithRules(const Aws::Vector< ServerSideEncryptionRule > &value)
ServerSideEncryptionConfiguration & AddRules(const ServerSideEncryptionRule &value)
ServerSideEncryptionConfiguration & AddRules(ServerSideEncryptionRule &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ServerSideEncryptionConfiguration & WithRules(Aws::Vector< ServerSideEncryptionRule > &&value)
void SetRules(Aws::Vector< ServerSideEncryptionRule > &&value)
const Aws::Vector< ServerSideEncryptionRule > & GetRules() const
std::vector< T, Aws::Allocator< T > > Vector