AWS SDK for C++  1.9.20
AWS SDK for C++
EncryptionEntity.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 
46  inline const Aws::String& GetPublicKeyId() const{ return m_publicKeyId; }
47 
52  inline bool PublicKeyIdHasBeenSet() const { return m_publicKeyIdHasBeenSet; }
53 
58  inline void SetPublicKeyId(const Aws::String& value) { m_publicKeyIdHasBeenSet = true; m_publicKeyId = value; }
59 
64  inline void SetPublicKeyId(Aws::String&& value) { m_publicKeyIdHasBeenSet = true; m_publicKeyId = std::move(value); }
65 
70  inline void SetPublicKeyId(const char* value) { m_publicKeyIdHasBeenSet = true; m_publicKeyId.assign(value); }
71 
76  inline EncryptionEntity& WithPublicKeyId(const Aws::String& value) { SetPublicKeyId(value); return *this;}
77 
82  inline EncryptionEntity& WithPublicKeyId(Aws::String&& value) { SetPublicKeyId(std::move(value)); return *this;}
83 
88  inline EncryptionEntity& WithPublicKeyId(const char* value) { SetPublicKeyId(value); return *this;}
89 
90 
96  inline const Aws::String& GetProviderId() const{ return m_providerId; }
97 
103  inline bool ProviderIdHasBeenSet() const { return m_providerIdHasBeenSet; }
104 
110  inline void SetProviderId(const Aws::String& value) { m_providerIdHasBeenSet = true; m_providerId = value; }
111 
117  inline void SetProviderId(Aws::String&& value) { m_providerIdHasBeenSet = true; m_providerId = std::move(value); }
118 
124  inline void SetProviderId(const char* value) { m_providerIdHasBeenSet = true; m_providerId.assign(value); }
125 
131  inline EncryptionEntity& WithProviderId(const Aws::String& value) { SetProviderId(value); return *this;}
132 
138  inline EncryptionEntity& WithProviderId(Aws::String&& value) { SetProviderId(std::move(value)); return *this;}
139 
145  inline EncryptionEntity& WithProviderId(const char* value) { SetProviderId(value); return *this;}
146 
147 
155  inline const FieldPatterns& GetFieldPatterns() const{ return m_fieldPatterns; }
156 
164  inline bool FieldPatternsHasBeenSet() const { return m_fieldPatternsHasBeenSet; }
165 
173  inline void SetFieldPatterns(const FieldPatterns& value) { m_fieldPatternsHasBeenSet = true; m_fieldPatterns = value; }
174 
182  inline void SetFieldPatterns(FieldPatterns&& value) { m_fieldPatternsHasBeenSet = true; m_fieldPatterns = std::move(value); }
183 
191  inline EncryptionEntity& WithFieldPatterns(const FieldPatterns& value) { SetFieldPatterns(value); return *this;}
192 
200  inline EncryptionEntity& WithFieldPatterns(FieldPatterns&& value) { SetFieldPatterns(std::move(value)); return *this;}
201 
202  private:
203 
204  Aws::String m_publicKeyId;
205  bool m_publicKeyIdHasBeenSet;
206 
207  Aws::String m_providerId;
208  bool m_providerIdHasBeenSet;
209 
210  FieldPatterns m_fieldPatterns;
211  bool m_fieldPatternsHasBeenSet;
212  };
213 
214 } // namespace Model
215 } // namespace CloudFront
216 } // namespace Aws
Aws::CloudFront::Model::EncryptionEntity::SetFieldPatterns
void SetFieldPatterns(const FieldPatterns &value)
Definition: EncryptionEntity.h:173
Aws::CloudFront::Model::EncryptionEntity::ProviderIdHasBeenSet
bool ProviderIdHasBeenSet() const
Definition: EncryptionEntity.h:103
Aws::CloudFront::Model::EncryptionEntity::WithFieldPatterns
EncryptionEntity & WithFieldPatterns(const FieldPatterns &value)
Definition: EncryptionEntity.h:191
Aws::CloudFront::Model::EncryptionEntity::EncryptionEntity
EncryptionEntity()
Aws::CloudFront::Model::EncryptionEntity::PublicKeyIdHasBeenSet
bool PublicKeyIdHasBeenSet() const
Definition: EncryptionEntity.h:52
Aws::CloudFront::Model::EncryptionEntity::GetProviderId
const Aws::String & GetProviderId() const
Definition: EncryptionEntity.h:96
Aws::CloudFront::Model::EncryptionEntity::SetProviderId
void SetProviderId(const Aws::String &value)
Definition: EncryptionEntity.h:110
Aws::CloudFront::Model::EncryptionEntity
Definition: EncryptionEntity.h:33
Aws::CloudFront::Model::EncryptionEntity::EncryptionEntity
EncryptionEntity(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::EncryptionEntity::WithProviderId
EncryptionEntity & WithProviderId(const char *value)
Definition: EncryptionEntity.h:145
Aws::CloudFront::Model::EncryptionEntity::FieldPatternsHasBeenSet
bool FieldPatternsHasBeenSet() const
Definition: EncryptionEntity.h:164
Aws::CloudFront::Model::EncryptionEntity::WithFieldPatterns
EncryptionEntity & WithFieldPatterns(FieldPatterns &&value)
Definition: EncryptionEntity.h:200
Aws::CloudFront::Model::EncryptionEntity::SetPublicKeyId
void SetPublicKeyId(const char *value)
Definition: EncryptionEntity.h:70
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldPatterns
Definition: FieldPatterns.h:33
Aws::CloudFront::Model::EncryptionEntity::WithPublicKeyId
EncryptionEntity & WithPublicKeyId(const Aws::String &value)
Definition: EncryptionEntity.h:76
Aws::CloudFront::Model::EncryptionEntity::WithProviderId
EncryptionEntity & WithProviderId(const Aws::String &value)
Definition: EncryptionEntity.h:131
AWSString.h
FieldPatterns.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::EncryptionEntity::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::EncryptionEntity::operator=
EncryptionEntity & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudFront_EXPORTS.h
Aws::CloudFront::Model::EncryptionEntity::SetFieldPatterns
void SetFieldPatterns(FieldPatterns &&value)
Definition: EncryptionEntity.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::EncryptionEntity::WithPublicKeyId
EncryptionEntity & WithPublicKeyId(const char *value)
Definition: EncryptionEntity.h:88
Aws::CloudFront::Model::EncryptionEntity::GetFieldPatterns
const FieldPatterns & GetFieldPatterns() const
Definition: EncryptionEntity.h:155
Aws::CloudFront::Model::EncryptionEntity::SetProviderId
void SetProviderId(const char *value)
Definition: EncryptionEntity.h:124
Aws::CloudFront::Model::EncryptionEntity::WithProviderId
EncryptionEntity & WithProviderId(Aws::String &&value)
Definition: EncryptionEntity.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::EncryptionEntity::SetPublicKeyId
void SetPublicKeyId(Aws::String &&value)
Definition: EncryptionEntity.h:64
Aws::CloudFront::Model::EncryptionEntity::SetProviderId
void SetProviderId(Aws::String &&value)
Definition: EncryptionEntity.h:117
Aws::CloudFront::Model::EncryptionEntity::GetPublicKeyId
const Aws::String & GetPublicKeyId() const
Definition: EncryptionEntity.h:46
Aws::CloudFront::Model::EncryptionEntity::SetPublicKeyId
void SetPublicKeyId(const Aws::String &value)
Definition: EncryptionEntity.h:58
Aws::CloudFront::Model::EncryptionEntity::WithPublicKeyId
EncryptionEntity & WithPublicKeyId(Aws::String &&value)
Definition: EncryptionEntity.h:82