AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
FieldLevelEncryptionProfileConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/EncryptionEntities.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudFront {
20namespace Model {
21
29 public:
30 AWS_CLOUDFRONT_API FieldLevelEncryptionProfileConfig() = default;
33
34 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCallerReference() const { return m_callerReference; }
59 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
60 template <typename CallerReferenceT = Aws::String>
61 void SetCallerReference(CallerReferenceT&& value) {
62 m_callerReferenceHasBeenSet = true;
63 m_callerReference = std::forward<CallerReferenceT>(value);
64 }
65 template <typename CallerReferenceT = Aws::String>
67 SetCallerReference(std::forward<CallerReferenceT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetComment() const { return m_comment; }
78 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
79 template <typename CommentT = Aws::String>
80 void SetComment(CommentT&& value) {
81 m_commentHasBeenSet = true;
82 m_comment = std::forward<CommentT>(value);
83 }
84 template <typename CommentT = Aws::String>
86 SetComment(std::forward<CommentT>(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 private:
111 Aws::String m_name;
112
113 Aws::String m_callerReference;
114
115 Aws::String m_comment;
116
117 EncryptionEntities m_encryptionEntities;
118 bool m_nameHasBeenSet = false;
119 bool m_callerReferenceHasBeenSet = false;
120 bool m_commentHasBeenSet = false;
121 bool m_encryptionEntitiesHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace CloudFront
126} // namespace Aws
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileConfig & WithComment(CommentT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
FieldLevelEncryptionProfileConfig & WithName(NameT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileConfig & WithEncryptionEntities(EncryptionEntitiesT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileConfig()=default
FieldLevelEncryptionProfileConfig & WithCallerReference(CallerReferenceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String