AWS SDK for C++  1.9.108
AWS SDK for C++
FieldLevelEncryptionProfileConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline FieldLevelEncryptionProfileConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline FieldLevelEncryptionProfileConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline FieldLevelEncryptionProfileConfig& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
87 
91  inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
92 
96  inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
97 
101  inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
102 
106  inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
107 
111  inline FieldLevelEncryptionProfileConfig& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
112 
116  inline FieldLevelEncryptionProfileConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
117 
121  inline FieldLevelEncryptionProfileConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
122 
123 
128  inline const Aws::String& GetComment() const{ return m_comment; }
129 
134  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
135 
140  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
141 
146  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
147 
152  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
153 
158  inline FieldLevelEncryptionProfileConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
159 
164  inline FieldLevelEncryptionProfileConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
165 
170  inline FieldLevelEncryptionProfileConfig& WithComment(const char* value) { SetComment(value); return *this;}
171 
172 
178  inline const EncryptionEntities& GetEncryptionEntities() const{ return m_encryptionEntities; }
179 
185  inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; }
186 
192  inline void SetEncryptionEntities(const EncryptionEntities& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = value; }
193 
199  inline void SetEncryptionEntities(EncryptionEntities&& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = std::move(value); }
200 
206  inline FieldLevelEncryptionProfileConfig& WithEncryptionEntities(const EncryptionEntities& value) { SetEncryptionEntities(value); return *this;}
207 
213  inline FieldLevelEncryptionProfileConfig& WithEncryptionEntities(EncryptionEntities&& value) { SetEncryptionEntities(std::move(value)); return *this;}
214 
215  private:
216 
217  Aws::String m_name;
218  bool m_nameHasBeenSet;
219 
220  Aws::String m_callerReference;
221  bool m_callerReferenceHasBeenSet;
222 
223  Aws::String m_comment;
224  bool m_commentHasBeenSet;
225 
226  EncryptionEntities m_encryptionEntities;
227  bool m_encryptionEntitiesHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace CloudFront
232 } // namespace Aws
Aws::CloudFront::Model::EncryptionEntities
Definition: EncryptionEntities.h:33
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::GetEncryptionEntities
const EncryptionEntities & GetEncryptionEntities() const
Definition: FieldLevelEncryptionProfileConfig.h:178
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::GetCallerReference
const Aws::String & GetCallerReference() const
Definition: FieldLevelEncryptionProfileConfig.h:86
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetComment
void SetComment(const Aws::String &value)
Definition: FieldLevelEncryptionProfileConfig.h:140
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::operator=
FieldLevelEncryptionProfileConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetComment
void SetComment(const char *value)
Definition: FieldLevelEncryptionProfileConfig.h:152
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::FieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfileConfig()
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetName
void SetName(Aws::String &&value)
Definition: FieldLevelEncryptionProfileConfig.h:60
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig
Definition: FieldLevelEncryptionProfileConfig.h:33
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithComment
FieldLevelEncryptionProfileConfig & WithComment(Aws::String &&value)
Definition: FieldLevelEncryptionProfileConfig.h:164
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithEncryptionEntities
FieldLevelEncryptionProfileConfig & WithEncryptionEntities(EncryptionEntities &&value)
Definition: FieldLevelEncryptionProfileConfig.h:213
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetCallerReference
void SetCallerReference(Aws::String &&value)
Definition: FieldLevelEncryptionProfileConfig.h:101
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetName
void SetName(const char *value)
Definition: FieldLevelEncryptionProfileConfig.h:65
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithEncryptionEntities
FieldLevelEncryptionProfileConfig & WithEncryptionEntities(const EncryptionEntities &value)
Definition: FieldLevelEncryptionProfileConfig.h:206
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::CallerReferenceHasBeenSet
bool CallerReferenceHasBeenSet() const
Definition: FieldLevelEncryptionProfileConfig.h:91
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetEncryptionEntities
void SetEncryptionEntities(const EncryptionEntities &value)
Definition: FieldLevelEncryptionProfileConfig.h:192
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::GetName
const Aws::String & GetName() const
Definition: FieldLevelEncryptionProfileConfig.h:45
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetCallerReference
void SetCallerReference(const Aws::String &value)
Definition: FieldLevelEncryptionProfileConfig.h:96
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetCallerReference
void SetCallerReference(const char *value)
Definition: FieldLevelEncryptionProfileConfig.h:106
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithCallerReference
FieldLevelEncryptionProfileConfig & WithCallerReference(const char *value)
Definition: FieldLevelEncryptionProfileConfig.h:121
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithName
FieldLevelEncryptionProfileConfig & WithName(const Aws::String &value)
Definition: FieldLevelEncryptionProfileConfig.h:70
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetComment
void SetComment(Aws::String &&value)
Definition: FieldLevelEncryptionProfileConfig.h:146
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::CommentHasBeenSet
bool CommentHasBeenSet() const
Definition: FieldLevelEncryptionProfileConfig.h:134
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithName
FieldLevelEncryptionProfileConfig & WithName(Aws::String &&value)
Definition: FieldLevelEncryptionProfileConfig.h:75
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::EncryptionEntitiesHasBeenSet
bool EncryptionEntitiesHasBeenSet() const
Definition: FieldLevelEncryptionProfileConfig.h:185
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithCallerReference
FieldLevelEncryptionProfileConfig & WithCallerReference(const Aws::String &value)
Definition: FieldLevelEncryptionProfileConfig.h:111
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithComment
FieldLevelEncryptionProfileConfig & WithComment(const Aws::String &value)
Definition: FieldLevelEncryptionProfileConfig.h:158
CloudFront_EXPORTS.h
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::GetComment
const Aws::String & GetComment() const
Definition: FieldLevelEncryptionProfileConfig.h:128
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithName
FieldLevelEncryptionProfileConfig & WithName(const char *value)
Definition: FieldLevelEncryptionProfileConfig.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::NameHasBeenSet
bool NameHasBeenSet() const
Definition: FieldLevelEncryptionProfileConfig.h:50
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithComment
FieldLevelEncryptionProfileConfig & WithComment(const char *value)
Definition: FieldLevelEncryptionProfileConfig.h:170
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::FieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfileConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetName
void SetName(const Aws::String &value)
Definition: FieldLevelEncryptionProfileConfig.h:55
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::SetEncryptionEntities
void SetEncryptionEntities(EncryptionEntities &&value)
Definition: FieldLevelEncryptionProfileConfig.h:199
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig::WithCallerReference
FieldLevelEncryptionProfileConfig & WithCallerReference(Aws::String &&value)
Definition: FieldLevelEncryptionProfileConfig.h:116
EncryptionEntities.h