AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldLevelEncryption.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cloudfront/model/FieldLevelEncryptionConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDFRONT_API FieldLevelEncryption();
37 AWS_CLOUDFRONT_API FieldLevelEncryption(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API FieldLevelEncryption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline FieldLevelEncryption& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline FieldLevelEncryption& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline FieldLevelEncryption& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
64 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
65 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
66 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
68 inline FieldLevelEncryption& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
70
72
76 inline const FieldLevelEncryptionConfig& GetFieldLevelEncryptionConfig() const{ return m_fieldLevelEncryptionConfig; }
77 inline bool FieldLevelEncryptionConfigHasBeenSet() const { return m_fieldLevelEncryptionConfigHasBeenSet; }
78 inline void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = value; }
79 inline void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = std::move(value); }
83 private:
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 Aws::Utils::DateTime m_lastModifiedTime;
89 bool m_lastModifiedTimeHasBeenSet = false;
90
91 FieldLevelEncryptionConfig m_fieldLevelEncryptionConfig;
92 bool m_fieldLevelEncryptionConfigHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CloudFront
97} // namespace Aws
FieldLevelEncryption & WithLastModifiedTime(const Aws::Utils::DateTime &value)
FieldLevelEncryption & WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
FieldLevelEncryption & WithId(const Aws::String &value)
AWS_CLOUDFRONT_API FieldLevelEncryption(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryption & WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const FieldLevelEncryptionConfig & GetFieldLevelEncryptionConfig() const
FieldLevelEncryption & WithId(Aws::String &&value)
FieldLevelEncryption & WithId(const char *value)
void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
AWS_CLOUDFRONT_API FieldLevelEncryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryption & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String