AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FieldLevelEncryptionProfileSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/EncryptionEntities.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
29 public:
30 AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary() = default;
33
34 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
60 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
61 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
62 void SetLastModifiedTime(LastModifiedTimeT&& value) {
63 m_lastModifiedTimeHasBeenSet = true;
64 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
65 }
66 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
68 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
97 inline const EncryptionEntities& GetEncryptionEntities() const { return m_encryptionEntities; }
98 inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; }
99 template <typename EncryptionEntitiesT = EncryptionEntities>
100 void SetEncryptionEntities(EncryptionEntitiesT&& value) {
101 m_encryptionEntitiesHasBeenSet = true;
102 m_encryptionEntities = std::forward<EncryptionEntitiesT>(value);
103 }
104 template <typename EncryptionEntitiesT = EncryptionEntities>
106 SetEncryptionEntities(std::forward<EncryptionEntitiesT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetComment() const { return m_comment; }
117 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
118 template <typename CommentT = Aws::String>
119 void SetComment(CommentT&& value) {
120 m_commentHasBeenSet = true;
121 m_comment = std::forward<CommentT>(value);
122 }
123 template <typename CommentT = Aws::String>
125 SetComment(std::forward<CommentT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_id;
131
132 Aws::Utils::DateTime m_lastModifiedTime{};
133
134 Aws::String m_name;
135
136 EncryptionEntities m_encryptionEntities;
137
138 Aws::String m_comment;
139 bool m_idHasBeenSet = false;
140 bool m_lastModifiedTimeHasBeenSet = false;
141 bool m_nameHasBeenSet = false;
142 bool m_encryptionEntitiesHasBeenSet = false;
143 bool m_commentHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace CloudFront
148} // namespace Aws
FieldLevelEncryptionProfileSummary & WithComment(CommentT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary()=default
FieldLevelEncryptionProfileSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileSummary & WithEncryptionEntities(EncryptionEntitiesT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String