AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncryptionEntity.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/FieldPatterns.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:
35 AWS_CLOUDFRONT_API EncryptionEntity();
36 AWS_CLOUDFRONT_API EncryptionEntity(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API EncryptionEntity& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const Aws::String& GetPublicKeyId() const{ return m_publicKeyId; }
48 inline bool PublicKeyIdHasBeenSet() const { return m_publicKeyIdHasBeenSet; }
49 inline void SetPublicKeyId(const Aws::String& value) { m_publicKeyIdHasBeenSet = true; m_publicKeyId = value; }
50 inline void SetPublicKeyId(Aws::String&& value) { m_publicKeyIdHasBeenSet = true; m_publicKeyId = std::move(value); }
51 inline void SetPublicKeyId(const char* value) { m_publicKeyIdHasBeenSet = true; m_publicKeyId.assign(value); }
52 inline EncryptionEntity& WithPublicKeyId(const Aws::String& value) { SetPublicKeyId(value); return *this;}
53 inline EncryptionEntity& WithPublicKeyId(Aws::String&& value) { SetPublicKeyId(std::move(value)); return *this;}
54 inline EncryptionEntity& WithPublicKeyId(const char* value) { SetPublicKeyId(value); return *this;}
56
58
63 inline const Aws::String& GetProviderId() const{ return m_providerId; }
64 inline bool ProviderIdHasBeenSet() const { return m_providerIdHasBeenSet; }
65 inline void SetProviderId(const Aws::String& value) { m_providerIdHasBeenSet = true; m_providerId = value; }
66 inline void SetProviderId(Aws::String&& value) { m_providerIdHasBeenSet = true; m_providerId = std::move(value); }
67 inline void SetProviderId(const char* value) { m_providerIdHasBeenSet = true; m_providerId.assign(value); }
68 inline EncryptionEntity& WithProviderId(const Aws::String& value) { SetProviderId(value); return *this;}
69 inline EncryptionEntity& WithProviderId(Aws::String&& value) { SetProviderId(std::move(value)); return *this;}
70 inline EncryptionEntity& WithProviderId(const char* value) { SetProviderId(value); return *this;}
72
74
81 inline const FieldPatterns& GetFieldPatterns() const{ return m_fieldPatterns; }
82 inline bool FieldPatternsHasBeenSet() const { return m_fieldPatternsHasBeenSet; }
83 inline void SetFieldPatterns(const FieldPatterns& value) { m_fieldPatternsHasBeenSet = true; m_fieldPatterns = value; }
84 inline void SetFieldPatterns(FieldPatterns&& value) { m_fieldPatternsHasBeenSet = true; m_fieldPatterns = std::move(value); }
85 inline EncryptionEntity& WithFieldPatterns(const FieldPatterns& value) { SetFieldPatterns(value); return *this;}
86 inline EncryptionEntity& WithFieldPatterns(FieldPatterns&& value) { SetFieldPatterns(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_publicKeyId;
91 bool m_publicKeyIdHasBeenSet = false;
92
93 Aws::String m_providerId;
94 bool m_providerIdHasBeenSet = false;
95
96 FieldPatterns m_fieldPatterns;
97 bool m_fieldPatternsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CloudFront
102} // namespace Aws
EncryptionEntity & WithFieldPatterns(FieldPatterns &&value)
EncryptionEntity & WithProviderId(const Aws::String &value)
EncryptionEntity & WithPublicKeyId(const Aws::String &value)
const Aws::String & GetPublicKeyId() const
EncryptionEntity & WithFieldPatterns(const FieldPatterns &value)
void SetProviderId(const Aws::String &value)
EncryptionEntity & WithProviderId(Aws::String &&value)
void SetFieldPatterns(const FieldPatterns &value)
EncryptionEntity & WithPublicKeyId(Aws::String &&value)
void SetPublicKeyId(const Aws::String &value)
const Aws::String & GetProviderId() const
const FieldPatterns & GetFieldPatterns() const
void SetFieldPatterns(FieldPatterns &&value)
AWS_CLOUDFRONT_API EncryptionEntity(const Aws::Utils::Xml::XmlNode &xmlNode)
EncryptionEntity & WithPublicKeyId(const char *value)
EncryptionEntity & WithProviderId(const char *value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API EncryptionEntity & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String