AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FieldLevelEncryptionConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/QueryArgProfileConfig.h>
10#include <aws/cloudfront/model/ContentTypeProfileConfig.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 FieldLevelEncryptionConfig() = default;
37 AWS_CLOUDFRONT_API FieldLevelEncryptionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetCallerReference() const { return m_callerReference; }
48 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
49 template<typename CallerReferenceT = Aws::String>
50 void SetCallerReference(CallerReferenceT&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::forward<CallerReferenceT>(value); }
51 template<typename CallerReferenceT = Aws::String>
52 FieldLevelEncryptionConfig& WithCallerReference(CallerReferenceT&& value) { SetCallerReference(std::forward<CallerReferenceT>(value)); return *this;}
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) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
64 template<typename CommentT = Aws::String>
65 FieldLevelEncryptionConfig& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
67
69
73 inline const QueryArgProfileConfig& GetQueryArgProfileConfig() const { return m_queryArgProfileConfig; }
74 inline bool QueryArgProfileConfigHasBeenSet() const { return m_queryArgProfileConfigHasBeenSet; }
75 template<typename QueryArgProfileConfigT = QueryArgProfileConfig>
76 void SetQueryArgProfileConfig(QueryArgProfileConfigT&& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = std::forward<QueryArgProfileConfigT>(value); }
77 template<typename QueryArgProfileConfigT = QueryArgProfileConfig>
78 FieldLevelEncryptionConfig& WithQueryArgProfileConfig(QueryArgProfileConfigT&& value) { SetQueryArgProfileConfig(std::forward<QueryArgProfileConfigT>(value)); return *this;}
80
82
87 inline const ContentTypeProfileConfig& GetContentTypeProfileConfig() const { return m_contentTypeProfileConfig; }
88 inline bool ContentTypeProfileConfigHasBeenSet() const { return m_contentTypeProfileConfigHasBeenSet; }
89 template<typename ContentTypeProfileConfigT = ContentTypeProfileConfig>
90 void SetContentTypeProfileConfig(ContentTypeProfileConfigT&& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = std::forward<ContentTypeProfileConfigT>(value); }
91 template<typename ContentTypeProfileConfigT = ContentTypeProfileConfig>
92 FieldLevelEncryptionConfig& WithContentTypeProfileConfig(ContentTypeProfileConfigT&& value) { SetContentTypeProfileConfig(std::forward<ContentTypeProfileConfigT>(value)); return *this;}
94 private:
95
96 Aws::String m_callerReference;
97 bool m_callerReferenceHasBeenSet = false;
98
99 Aws::String m_comment;
100 bool m_commentHasBeenSet = false;
101
102 QueryArgProfileConfig m_queryArgProfileConfig;
103 bool m_queryArgProfileConfigHasBeenSet = false;
104
105 ContentTypeProfileConfig m_contentTypeProfileConfig;
106 bool m_contentTypeProfileConfigHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudFront
111} // 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