AWS SDK for C++  1.9.16
AWS SDK for C++
FieldLevelEncryptionConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace CloudFront
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41 
42 
46  inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
47 
51  inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
52 
56  inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
57 
61  inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
62 
66  inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
67 
71  inline FieldLevelEncryptionConfig& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
72 
76  inline FieldLevelEncryptionConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
77 
81  inline FieldLevelEncryptionConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
82 
83 
88  inline const Aws::String& GetComment() const{ return m_comment; }
89 
94  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
95 
100  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
101 
106  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
107 
112  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
113 
118  inline FieldLevelEncryptionConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
119 
124  inline FieldLevelEncryptionConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
125 
130  inline FieldLevelEncryptionConfig& WithComment(const char* value) { SetComment(value); return *this;}
131 
132 
137  inline const QueryArgProfileConfig& GetQueryArgProfileConfig() const{ return m_queryArgProfileConfig; }
138 
143  inline bool QueryArgProfileConfigHasBeenSet() const { return m_queryArgProfileConfigHasBeenSet; }
144 
149  inline void SetQueryArgProfileConfig(const QueryArgProfileConfig& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = value; }
150 
155  inline void SetQueryArgProfileConfig(QueryArgProfileConfig&& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = std::move(value); }
156 
161  inline FieldLevelEncryptionConfig& WithQueryArgProfileConfig(const QueryArgProfileConfig& value) { SetQueryArgProfileConfig(value); return *this;}
162 
167  inline FieldLevelEncryptionConfig& WithQueryArgProfileConfig(QueryArgProfileConfig&& value) { SetQueryArgProfileConfig(std::move(value)); return *this;}
168 
169 
175  inline const ContentTypeProfileConfig& GetContentTypeProfileConfig() const{ return m_contentTypeProfileConfig; }
176 
182  inline bool ContentTypeProfileConfigHasBeenSet() const { return m_contentTypeProfileConfigHasBeenSet; }
183 
189  inline void SetContentTypeProfileConfig(const ContentTypeProfileConfig& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = value; }
190 
196  inline void SetContentTypeProfileConfig(ContentTypeProfileConfig&& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = std::move(value); }
197 
203  inline FieldLevelEncryptionConfig& WithContentTypeProfileConfig(const ContentTypeProfileConfig& value) { SetContentTypeProfileConfig(value); return *this;}
204 
210  inline FieldLevelEncryptionConfig& WithContentTypeProfileConfig(ContentTypeProfileConfig&& value) { SetContentTypeProfileConfig(std::move(value)); return *this;}
211 
212  private:
213 
214  Aws::String m_callerReference;
215  bool m_callerReferenceHasBeenSet;
216 
217  Aws::String m_comment;
218  bool m_commentHasBeenSet;
219 
220  QueryArgProfileConfig m_queryArgProfileConfig;
221  bool m_queryArgProfileConfigHasBeenSet;
222 
223  ContentTypeProfileConfig m_contentTypeProfileConfig;
224  bool m_contentTypeProfileConfigHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace CloudFront
229 } // namespace Aws
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithCallerReference
FieldLevelEncryptionConfig & WithCallerReference(const Aws::String &value)
Definition: FieldLevelEncryptionConfig.h:71
Aws::CloudFront::Model::FieldLevelEncryptionConfig::FieldLevelEncryptionConfig
FieldLevelEncryptionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetCallerReference
void SetCallerReference(const char *value)
Definition: FieldLevelEncryptionConfig.h:66
Aws::CloudFront::Model::FieldLevelEncryptionConfig::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::FieldLevelEncryptionConfig::operator=
FieldLevelEncryptionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionConfig::FieldLevelEncryptionConfig
FieldLevelEncryptionConfig()
Aws::CloudFront::Model::QueryArgProfileConfig
Definition: QueryArgProfileConfig.h:32
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithContentTypeProfileConfig
FieldLevelEncryptionConfig & WithContentTypeProfileConfig(ContentTypeProfileConfig &&value)
Definition: FieldLevelEncryptionConfig.h:210
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithComment
FieldLevelEncryptionConfig & WithComment(Aws::String &&value)
Definition: FieldLevelEncryptionConfig.h:124
Aws::CloudFront::Model::FieldLevelEncryptionConfig::CommentHasBeenSet
bool CommentHasBeenSet() const
Definition: FieldLevelEncryptionConfig.h:94
ContentTypeProfileConfig.h
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetComment
void SetComment(Aws::String &&value)
Definition: FieldLevelEncryptionConfig.h:106
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetContentTypeProfileConfig
void SetContentTypeProfileConfig(ContentTypeProfileConfig &&value)
Definition: FieldLevelEncryptionConfig.h:196
Aws::CloudFront::Model::FieldLevelEncryptionConfig::GetCallerReference
const Aws::String & GetCallerReference() const
Definition: FieldLevelEncryptionConfig.h:46
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithComment
FieldLevelEncryptionConfig & WithComment(const char *value)
Definition: FieldLevelEncryptionConfig.h:130
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetComment
void SetComment(const Aws::String &value)
Definition: FieldLevelEncryptionConfig.h:100
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithQueryArgProfileConfig
FieldLevelEncryptionConfig & WithQueryArgProfileConfig(QueryArgProfileConfig &&value)
Definition: FieldLevelEncryptionConfig.h:167
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetContentTypeProfileConfig
void SetContentTypeProfileConfig(const ContentTypeProfileConfig &value)
Definition: FieldLevelEncryptionConfig.h:189
Aws::CloudFront::Model::ContentTypeProfileConfig
Definition: ContentTypeProfileConfig.h:32
Aws::CloudFront::Model::FieldLevelEncryptionConfig::GetQueryArgProfileConfig
const QueryArgProfileConfig & GetQueryArgProfileConfig() const
Definition: FieldLevelEncryptionConfig.h:137
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithContentTypeProfileConfig
FieldLevelEncryptionConfig & WithContentTypeProfileConfig(const ContentTypeProfileConfig &value)
Definition: FieldLevelEncryptionConfig.h:203
Aws::CloudFront::Model::FieldLevelEncryptionConfig::GetContentTypeProfileConfig
const ContentTypeProfileConfig & GetContentTypeProfileConfig() const
Definition: FieldLevelEncryptionConfig.h:175
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetCallerReference
void SetCallerReference(const Aws::String &value)
Definition: FieldLevelEncryptionConfig.h:56
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithComment
FieldLevelEncryptionConfig & WithComment(const Aws::String &value)
Definition: FieldLevelEncryptionConfig.h:118
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetComment
void SetComment(const char *value)
Definition: FieldLevelEncryptionConfig.h:112
AWSString.h
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithQueryArgProfileConfig
FieldLevelEncryptionConfig & WithQueryArgProfileConfig(const QueryArgProfileConfig &value)
Definition: FieldLevelEncryptionConfig.h:161
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::FieldLevelEncryptionConfig::QueryArgProfileConfigHasBeenSet
bool QueryArgProfileConfigHasBeenSet() const
Definition: FieldLevelEncryptionConfig.h:143
CloudFront_EXPORTS.h
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithCallerReference
FieldLevelEncryptionConfig & WithCallerReference(Aws::String &&value)
Definition: FieldLevelEncryptionConfig.h:76
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetCallerReference
void SetCallerReference(Aws::String &&value)
Definition: FieldLevelEncryptionConfig.h:61
Aws::CloudFront::Model::FieldLevelEncryptionConfig::GetComment
const Aws::String & GetComment() const
Definition: FieldLevelEncryptionConfig.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryptionConfig::CallerReferenceHasBeenSet
bool CallerReferenceHasBeenSet() const
Definition: FieldLevelEncryptionConfig.h:51
Aws::CloudFront::Model::FieldLevelEncryptionConfig
Definition: FieldLevelEncryptionConfig.h:34
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetQueryArgProfileConfig
void SetQueryArgProfileConfig(const QueryArgProfileConfig &value)
Definition: FieldLevelEncryptionConfig.h:149
Aws::CloudFront::Model::FieldLevelEncryptionConfig::SetQueryArgProfileConfig
void SetQueryArgProfileConfig(QueryArgProfileConfig &&value)
Definition: FieldLevelEncryptionConfig.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::FieldLevelEncryptionConfig::ContentTypeProfileConfigHasBeenSet
bool ContentTypeProfileConfigHasBeenSet() const
Definition: FieldLevelEncryptionConfig.h:182
Aws::CloudFront::Model::FieldLevelEncryptionConfig::WithCallerReference
FieldLevelEncryptionConfig & WithCallerReference(const char *value)
Definition: FieldLevelEncryptionConfig.h:81
QueryArgProfileConfig.h