AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FieldLevelEncryptionProfileConfig.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/EncryptionEntities.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDFRONT_API FieldLevelEncryptionProfileConfig() = default;
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 FieldLevelEncryptionProfileConfig& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_callerReferenceHasBeenSet = true; m_callerReference = std::forward<CallerReferenceT>(value); }
62 template<typename CallerReferenceT = Aws::String>
63 FieldLevelEncryptionProfileConfig& WithCallerReference(CallerReferenceT&& value) { SetCallerReference(std::forward<CallerReferenceT>(value)); return *this;}
65
67
71 inline const Aws::String& GetComment() const { return m_comment; }
72 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
73 template<typename CommentT = Aws::String>
74 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
75 template<typename CommentT = Aws::String>
76 FieldLevelEncryptionProfileConfig& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
78
80
85 inline const EncryptionEntities& GetEncryptionEntities() const { return m_encryptionEntities; }
86 inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; }
87 template<typename EncryptionEntitiesT = EncryptionEntities>
88 void SetEncryptionEntities(EncryptionEntitiesT&& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = std::forward<EncryptionEntitiesT>(value); }
89 template<typename EncryptionEntitiesT = EncryptionEntities>
90 FieldLevelEncryptionProfileConfig& WithEncryptionEntities(EncryptionEntitiesT&& value) { SetEncryptionEntities(std::forward<EncryptionEntitiesT>(value)); return *this;}
92 private:
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_callerReference;
98 bool m_callerReferenceHasBeenSet = false;
99
100 Aws::String m_comment;
101 bool m_commentHasBeenSet = false;
102
103 EncryptionEntities m_encryptionEntities;
104 bool m_encryptionEntitiesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CloudFront
109} // 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