AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
37 {
38 public:
42
43 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
57 inline const Aws::String& GetReplicaKmsKeyID() const{ return m_replicaKmsKeyID; }
58 inline bool ReplicaKmsKeyIDHasBeenSet() const { return m_replicaKmsKeyIDHasBeenSet; }
59 inline void SetReplicaKmsKeyID(const Aws::String& value) { m_replicaKmsKeyIDHasBeenSet = true; m_replicaKmsKeyID = value; }
60 inline void SetReplicaKmsKeyID(Aws::String&& value) { m_replicaKmsKeyIDHasBeenSet = true; m_replicaKmsKeyID = std::move(value); }
61 inline void SetReplicaKmsKeyID(const char* value) { m_replicaKmsKeyIDHasBeenSet = true; m_replicaKmsKeyID.assign(value); }
62 inline EncryptionConfiguration& WithReplicaKmsKeyID(const Aws::String& value) { SetReplicaKmsKeyID(value); return *this;}
63 inline EncryptionConfiguration& WithReplicaKmsKeyID(Aws::String&& value) { SetReplicaKmsKeyID(std::move(value)); return *this;}
64 inline EncryptionConfiguration& WithReplicaKmsKeyID(const char* value) { SetReplicaKmsKeyID(value); return *this;}
66 private:
67
68 Aws::String m_replicaKmsKeyID;
69 bool m_replicaKmsKeyIDHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace S3
74} // namespace Aws
AWS_S3_API EncryptionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
EncryptionConfiguration & WithReplicaKmsKeyID(const Aws::String &value)
void SetReplicaKmsKeyID(const Aws::String &value)
EncryptionConfiguration & WithReplicaKmsKeyID(Aws::String &&value)
AWS_S3_API EncryptionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EncryptionConfiguration & WithReplicaKmsKeyID(const char *value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String