AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline FieldLevelEncryptionProfileConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline FieldLevelEncryptionProfileConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline FieldLevelEncryptionProfileConfig& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
61 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
62 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
63 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
64 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
66 inline FieldLevelEncryptionProfileConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
67 inline FieldLevelEncryptionProfileConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
69
71
75 inline const Aws::String& GetComment() const{ return m_comment; }
76 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
77 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
78 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
79 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
80 inline FieldLevelEncryptionProfileConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
81 inline FieldLevelEncryptionProfileConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
82 inline FieldLevelEncryptionProfileConfig& WithComment(const char* value) { SetComment(value); return *this;}
84
86
91 inline const EncryptionEntities& GetEncryptionEntities() const{ return m_encryptionEntities; }
92 inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; }
93 inline void SetEncryptionEntities(const EncryptionEntities& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = value; }
94 inline void SetEncryptionEntities(EncryptionEntities&& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = std::move(value); }
98 private:
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 Aws::String m_callerReference;
104 bool m_callerReferenceHasBeenSet = false;
105
106 Aws::String m_comment;
107 bool m_commentHasBeenSet = false;
108
109 EncryptionEntities m_encryptionEntities;
110 bool m_encryptionEntitiesHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudFront
115} // namespace Aws
FieldLevelEncryptionProfileConfig & WithEncryptionEntities(const EncryptionEntities &value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileConfig & WithCallerReference(const char *value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
FieldLevelEncryptionProfileConfig & WithName(const Aws::String &value)
FieldLevelEncryptionProfileConfig & WithComment(const Aws::String &value)
FieldLevelEncryptionProfileConfig & WithName(Aws::String &&value)
FieldLevelEncryptionProfileConfig & WithName(const char *value)
FieldLevelEncryptionProfileConfig & WithCallerReference(Aws::String &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileConfig & WithComment(Aws::String &&value)
FieldLevelEncryptionProfileConfig & WithCallerReference(const Aws::String &value)
FieldLevelEncryptionProfileConfig & WithComment(const char *value)
FieldLevelEncryptionProfileConfig & WithEncryptionEntities(EncryptionEntities &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String