AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SSEKMS.h
1
6#pragma once
7#include <aws/s3control/S3Control_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 S3Control
21{
22namespace Model
23{
24
30 class SSEKMS
31 {
32 public:
33 AWS_S3CONTROL_API SSEKMS();
34 AWS_S3CONTROL_API SSEKMS(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_S3CONTROL_API SSEKMS& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
47 inline const Aws::String& GetKeyId() const{ return m_keyId; }
48 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
49 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
50 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
51 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
52 inline SSEKMS& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
53 inline SSEKMS& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
54 inline SSEKMS& WithKeyId(const char* value) { SetKeyId(value); return *this;}
56 private:
57
58 Aws::String m_keyId;
59 bool m_keyIdHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace S3Control
64} // namespace Aws
SSEKMS & WithKeyId(const Aws::String &value)
Definition SSEKMS.h:52
AWS_S3CONTROL_API SSEKMS & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SSEKMS & WithKeyId(const char *value)
Definition SSEKMS.h:54
AWS_S3CONTROL_API SSEKMS(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetKeyId() const
Definition SSEKMS.h:47
bool KeyIdHasBeenSet() const
Definition SSEKMS.h:48
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetKeyId(const Aws::String &value)
Definition SSEKMS.h:49
SSEKMS & WithKeyId(Aws::String &&value)
Definition SSEKMS.h:53
void SetKeyId(Aws::String &&value)
Definition SSEKMS.h:50
void SetKeyId(const char *value)
Definition SSEKMS.h:51
AWS_S3CONTROL_API SSEKMS()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String