AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
FieldLevelEncryptionSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/ContentTypeProfileConfig.h>
9#include <aws/cloudfront/model/QueryArgProfileConfig.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront {
22namespace Model {
23
30 public:
31 AWS_CLOUDFRONT_API FieldLevelEncryptionSummary() = default;
32 AWS_CLOUDFRONT_API FieldLevelEncryptionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
61 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
62 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
63 void SetLastModifiedTime(LastModifiedTimeT&& value) {
64 m_lastModifiedTimeHasBeenSet = true;
65 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
66 }
67 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
69 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetComment() const { return m_comment; }
80 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
81 template <typename CommentT = Aws::String>
82 void SetComment(CommentT&& value) {
83 m_commentHasBeenSet = true;
84 m_comment = std::forward<CommentT>(value);
85 }
86 template <typename CommentT = Aws::String>
88 SetComment(std::forward<CommentT>(value));
89 return *this;
90 }
92
94
97 inline const QueryArgProfileConfig& GetQueryArgProfileConfig() const { return m_queryArgProfileConfig; }
98 inline bool QueryArgProfileConfigHasBeenSet() const { return m_queryArgProfileConfigHasBeenSet; }
99 template <typename QueryArgProfileConfigT = QueryArgProfileConfig>
100 void SetQueryArgProfileConfig(QueryArgProfileConfigT&& value) {
101 m_queryArgProfileConfigHasBeenSet = true;
102 m_queryArgProfileConfig = std::forward<QueryArgProfileConfigT>(value);
103 }
104 template <typename QueryArgProfileConfigT = QueryArgProfileConfig>
106 SetQueryArgProfileConfig(std::forward<QueryArgProfileConfigT>(value));
107 return *this;
108 }
110
112
115 inline const ContentTypeProfileConfig& GetContentTypeProfileConfig() const { return m_contentTypeProfileConfig; }
116 inline bool ContentTypeProfileConfigHasBeenSet() const { return m_contentTypeProfileConfigHasBeenSet; }
117 template <typename ContentTypeProfileConfigT = ContentTypeProfileConfig>
118 void SetContentTypeProfileConfig(ContentTypeProfileConfigT&& value) {
119 m_contentTypeProfileConfigHasBeenSet = true;
120 m_contentTypeProfileConfig = std::forward<ContentTypeProfileConfigT>(value);
121 }
122 template <typename ContentTypeProfileConfigT = ContentTypeProfileConfig>
123 FieldLevelEncryptionSummary& WithContentTypeProfileConfig(ContentTypeProfileConfigT&& value) {
124 SetContentTypeProfileConfig(std::forward<ContentTypeProfileConfigT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_id;
130
131 Aws::Utils::DateTime m_lastModifiedTime{};
132
133 Aws::String m_comment;
134
135 QueryArgProfileConfig m_queryArgProfileConfig;
136
137 ContentTypeProfileConfig m_contentTypeProfileConfig;
138 bool m_idHasBeenSet = false;
139 bool m_lastModifiedTimeHasBeenSet = false;
140 bool m_commentHasBeenSet = false;
141 bool m_queryArgProfileConfigHasBeenSet = false;
142 bool m_contentTypeProfileConfigHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace CloudFront
147} // namespace Aws
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API FieldLevelEncryptionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionSummary & WithComment(CommentT &&value)
FieldLevelEncryptionSummary & WithContentTypeProfileConfig(ContentTypeProfileConfigT &&value)
const QueryArgProfileConfig & GetQueryArgProfileConfig() const
FieldLevelEncryptionSummary & WithQueryArgProfileConfig(QueryArgProfileConfigT &&value)
FieldLevelEncryptionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionSummary()=default
AWS_CLOUDFRONT_API FieldLevelEncryptionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
const ContentTypeProfileConfig & GetContentTypeProfileConfig() const
void SetContentTypeProfileConfig(ContentTypeProfileConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String