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/s3-crt/S3Crt_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 S3Crt
21{
22namespace Model
23{
24
31 class SSEKMS
32 {
33 public:
34 AWS_S3CRT_API SSEKMS();
35 AWS_S3CRT_API SSEKMS(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_S3CRT_API SSEKMS& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const Aws::String& GetKeyId() const{ return m_keyId; }
47 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
48 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
49 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
50 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
51 inline SSEKMS& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
52 inline SSEKMS& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
53 inline SSEKMS& WithKeyId(const char* value) { SetKeyId(value); return *this;}
55 private:
56
57 Aws::String m_keyId;
58 bool m_keyIdHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace S3Crt
63} // namespace Aws
void SetKeyId(Aws::String &&value)
Definition SSEKMS.h:49
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetKeyId() const
Definition SSEKMS.h:46
AWS_S3CRT_API SSEKMS(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API SSEKMS()
SSEKMS & WithKeyId(Aws::String &&value)
Definition SSEKMS.h:52
SSEKMS & WithKeyId(const Aws::String &value)
Definition SSEKMS.h:51
bool KeyIdHasBeenSet() const
Definition SSEKMS.h:47
SSEKMS & WithKeyId(const char *value)
Definition SSEKMS.h:53
AWS_S3CRT_API SSEKMS & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKeyId(const Aws::String &value)
Definition SSEKMS.h:48
void SetKeyId(const char *value)
Definition SSEKMS.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String