AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FieldLevelEncryptionProfile.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/FieldLevelEncryptionProfileConfig.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront {
21namespace Model {
22
30 public:
31 AWS_CLOUDFRONT_API FieldLevelEncryptionProfile() = default;
32 AWS_CLOUDFRONT_API FieldLevelEncryptionProfile(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
62 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
63 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
64 void SetLastModifiedTime(LastModifiedTimeT&& value) {
65 m_lastModifiedTimeHasBeenSet = true;
66 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
67 }
68 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
70 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
71 return *this;
72 }
74
76
81 return m_fieldLevelEncryptionProfileConfig;
82 }
83 inline bool FieldLevelEncryptionProfileConfigHasBeenSet() const { return m_fieldLevelEncryptionProfileConfigHasBeenSet; }
84 template <typename FieldLevelEncryptionProfileConfigT = FieldLevelEncryptionProfileConfig>
85 void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT&& value) {
86 m_fieldLevelEncryptionProfileConfigHasBeenSet = true;
87 m_fieldLevelEncryptionProfileConfig = std::forward<FieldLevelEncryptionProfileConfigT>(value);
88 }
89 template <typename FieldLevelEncryptionProfileConfigT = FieldLevelEncryptionProfileConfig>
90 FieldLevelEncryptionProfile& WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT&& value) {
91 SetFieldLevelEncryptionProfileConfig(std::forward<FieldLevelEncryptionProfileConfigT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_id;
97
98 Aws::Utils::DateTime m_lastModifiedTime{};
99
100 FieldLevelEncryptionProfileConfig m_fieldLevelEncryptionProfileConfig;
101 bool m_idHasBeenSet = false;
102 bool m_lastModifiedTimeHasBeenSet = false;
103 bool m_fieldLevelEncryptionProfileConfigHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace CloudFront
108} // namespace Aws
const FieldLevelEncryptionProfileConfig & GetFieldLevelEncryptionProfileConfig() const
FieldLevelEncryptionProfile & WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfile()=default
FieldLevelEncryptionProfile & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API FieldLevelEncryptionProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String