AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldLevelEncryptionConfig.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/QueryArgProfileConfig.h>
10#include <aws/cloudfront/model/ContentTypeProfileConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDFRONT_API FieldLevelEncryptionConfig();
37 AWS_CLOUDFRONT_API FieldLevelEncryptionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
48 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
49 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
50 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
51 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
53 inline FieldLevelEncryptionConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
54 inline FieldLevelEncryptionConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
56
58
62 inline const Aws::String& GetComment() const{ return m_comment; }
63 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
64 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
65 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
66 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
67 inline FieldLevelEncryptionConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
68 inline FieldLevelEncryptionConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
69 inline FieldLevelEncryptionConfig& WithComment(const char* value) { SetComment(value); return *this;}
71
73
77 inline const QueryArgProfileConfig& GetQueryArgProfileConfig() const{ return m_queryArgProfileConfig; }
78 inline bool QueryArgProfileConfigHasBeenSet() const { return m_queryArgProfileConfigHasBeenSet; }
79 inline void SetQueryArgProfileConfig(const QueryArgProfileConfig& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = value; }
80 inline void SetQueryArgProfileConfig(QueryArgProfileConfig&& value) { m_queryArgProfileConfigHasBeenSet = true; m_queryArgProfileConfig = std::move(value); }
84
86
91 inline const ContentTypeProfileConfig& GetContentTypeProfileConfig() const{ return m_contentTypeProfileConfig; }
92 inline bool ContentTypeProfileConfigHasBeenSet() const { return m_contentTypeProfileConfigHasBeenSet; }
93 inline void SetContentTypeProfileConfig(const ContentTypeProfileConfig& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = value; }
94 inline void SetContentTypeProfileConfig(ContentTypeProfileConfig&& value) { m_contentTypeProfileConfigHasBeenSet = true; m_contentTypeProfileConfig = std::move(value); }
98 private:
99
100 Aws::String m_callerReference;
101 bool m_callerReferenceHasBeenSet = false;
102
103 Aws::String m_comment;
104 bool m_commentHasBeenSet = false;
105
106 QueryArgProfileConfig m_queryArgProfileConfig;
107 bool m_queryArgProfileConfigHasBeenSet = false;
108
109 ContentTypeProfileConfig m_contentTypeProfileConfig;
110 bool m_contentTypeProfileConfigHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudFront
115} // namespace Aws
const ContentTypeProfileConfig & GetContentTypeProfileConfig() const
void SetQueryArgProfileConfig(const QueryArgProfileConfig &value)
FieldLevelEncryptionConfig & WithCallerReference(const Aws::String &value)
FieldLevelEncryptionConfig & WithComment(const char *value)
AWS_CLOUDFRONT_API FieldLevelEncryptionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
FieldLevelEncryptionConfig & WithComment(Aws::String &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionConfig & WithQueryArgProfileConfig(const QueryArgProfileConfig &value)
FieldLevelEncryptionConfig & WithCallerReference(Aws::String &&value)
FieldLevelEncryptionConfig & WithContentTypeProfileConfig(ContentTypeProfileConfig &&value)
FieldLevelEncryptionConfig & WithComment(const Aws::String &value)
void SetContentTypeProfileConfig(const ContentTypeProfileConfig &value)
FieldLevelEncryptionConfig & WithCallerReference(const char *value)
FieldLevelEncryptionConfig & WithContentTypeProfileConfig(const ContentTypeProfileConfig &value)
void SetContentTypeProfileConfig(ContentTypeProfileConfig &&value)
FieldLevelEncryptionConfig & WithQueryArgProfileConfig(QueryArgProfileConfig &&value)
const QueryArgProfileConfig & GetQueryArgProfileConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String