AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FieldLevelEncryptionConfig.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/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 FieldLevelEncryptionConfig() = default;
32 AWS_CLOUDFRONT_API FieldLevelEncryptionConfig(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& GetCallerReference() const { return m_callerReference; }
42 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
43 template <typename CallerReferenceT = Aws::String>
44 void SetCallerReference(CallerReferenceT&& value) {
45 m_callerReferenceHasBeenSet = true;
46 m_callerReference = std::forward<CallerReferenceT>(value);
47 }
48 template <typename CallerReferenceT = Aws::String>
50 SetCallerReference(std::forward<CallerReferenceT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetComment() const { return m_comment; }
61 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
62 template <typename CommentT = Aws::String>
63 void SetComment(CommentT&& value) {
64 m_commentHasBeenSet = true;
65 m_comment = std::forward<CommentT>(value);
66 }
67 template <typename CommentT = Aws::String>
69 SetComment(std::forward<CommentT>(value));
70 return *this;
71 }
73
75
79 inline const QueryArgProfileConfig& GetQueryArgProfileConfig() const { return m_queryArgProfileConfig; }
80 inline bool QueryArgProfileConfigHasBeenSet() const { return m_queryArgProfileConfigHasBeenSet; }
81 template <typename QueryArgProfileConfigT = QueryArgProfileConfig>
82 void SetQueryArgProfileConfig(QueryArgProfileConfigT&& value) {
83 m_queryArgProfileConfigHasBeenSet = true;
84 m_queryArgProfileConfig = std::forward<QueryArgProfileConfigT>(value);
85 }
86 template <typename QueryArgProfileConfigT = QueryArgProfileConfig>
87 FieldLevelEncryptionConfig& WithQueryArgProfileConfig(QueryArgProfileConfigT&& value) {
88 SetQueryArgProfileConfig(std::forward<QueryArgProfileConfigT>(value));
89 return *this;
90 }
92
94
99 inline const ContentTypeProfileConfig& GetContentTypeProfileConfig() const { return m_contentTypeProfileConfig; }
100 inline bool ContentTypeProfileConfigHasBeenSet() const { return m_contentTypeProfileConfigHasBeenSet; }
101 template <typename ContentTypeProfileConfigT = ContentTypeProfileConfig>
102 void SetContentTypeProfileConfig(ContentTypeProfileConfigT&& value) {
103 m_contentTypeProfileConfigHasBeenSet = true;
104 m_contentTypeProfileConfig = std::forward<ContentTypeProfileConfigT>(value);
105 }
106 template <typename ContentTypeProfileConfigT = ContentTypeProfileConfig>
107 FieldLevelEncryptionConfig& WithContentTypeProfileConfig(ContentTypeProfileConfigT&& value) {
108 SetContentTypeProfileConfig(std::forward<ContentTypeProfileConfigT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_callerReference;
114
115 Aws::String m_comment;
116
117 QueryArgProfileConfig m_queryArgProfileConfig;
118
119 ContentTypeProfileConfig m_contentTypeProfileConfig;
120 bool m_callerReferenceHasBeenSet = false;
121 bool m_commentHasBeenSet = false;
122 bool m_queryArgProfileConfigHasBeenSet = false;
123 bool m_contentTypeProfileConfigHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace CloudFront
128} // namespace Aws
const ContentTypeProfileConfig & GetContentTypeProfileConfig() const
FieldLevelEncryptionConfig & WithCallerReference(CallerReferenceT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionConfig & WithComment(CommentT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API FieldLevelEncryptionConfig()=default
FieldLevelEncryptionConfig & WithQueryArgProfileConfig(QueryArgProfileConfigT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionConfig & WithContentTypeProfileConfig(ContentTypeProfileConfigT &&value)
void SetQueryArgProfileConfig(QueryArgProfileConfigT &&value)
void SetContentTypeProfileConfig(ContentTypeProfileConfigT &&value)
const QueryArgProfileConfig & GetQueryArgProfileConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String