AWS SDK for C++  1.9.16
AWS SDK for C++
FieldLevelEncryption.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 
48  inline const Aws::String& GetId() const{ return m_id; }
49 
55  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 
62  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 
69  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
70 
76  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
77 
83  inline FieldLevelEncryption& WithId(const Aws::String& value) { SetId(value); return *this;}
84 
90  inline FieldLevelEncryption& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
91 
97  inline FieldLevelEncryption& WithId(const char* value) { SetId(value); return *this;}
98 
99 
103  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
104 
108  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
109 
113  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
114 
118  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
119 
123  inline FieldLevelEncryption& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
124 
128  inline FieldLevelEncryption& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
129 
130 
135  inline const FieldLevelEncryptionConfig& GetFieldLevelEncryptionConfig() const{ return m_fieldLevelEncryptionConfig; }
136 
141  inline bool FieldLevelEncryptionConfigHasBeenSet() const { return m_fieldLevelEncryptionConfigHasBeenSet; }
142 
147  inline void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = value; }
148 
153  inline void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = std::move(value); }
154 
159  inline FieldLevelEncryption& WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { SetFieldLevelEncryptionConfig(value); return *this;}
160 
165  inline FieldLevelEncryption& WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { SetFieldLevelEncryptionConfig(std::move(value)); return *this;}
166 
167  private:
168 
169  Aws::String m_id;
170  bool m_idHasBeenSet;
171 
172  Aws::Utils::DateTime m_lastModifiedTime;
173  bool m_lastModifiedTimeHasBeenSet;
174 
175  FieldLevelEncryptionConfig m_fieldLevelEncryptionConfig;
176  bool m_fieldLevelEncryptionConfigHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace CloudFront
181 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CloudFront::Model::FieldLevelEncryption::SetId
void SetId(Aws::String &&value)
Definition: FieldLevelEncryption.h:69
Aws::CloudFront::Model::FieldLevelEncryption::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: FieldLevelEncryption.h:108
Aws::CloudFront::Model::FieldLevelEncryption::SetFieldLevelEncryptionConfig
void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
Definition: FieldLevelEncryption.h:153
Aws::CloudFront::Model::FieldLevelEncryption::GetFieldLevelEncryptionConfig
const FieldLevelEncryptionConfig & GetFieldLevelEncryptionConfig() const
Definition: FieldLevelEncryption.h:135
DateTime.h
Aws::CloudFront::Model::FieldLevelEncryption::operator=
FieldLevelEncryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryption::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: FieldLevelEncryption.h:103
Aws::CloudFront::Model::FieldLevelEncryption::WithLastModifiedTime
FieldLevelEncryption & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: FieldLevelEncryption.h:128
Aws::CloudFront::Model::FieldLevelEncryption::GetId
const Aws::String & GetId() const
Definition: FieldLevelEncryption.h:48
Aws::CloudFront::Model::FieldLevelEncryption::FieldLevelEncryptionConfigHasBeenSet
bool FieldLevelEncryptionConfigHasBeenSet() const
Definition: FieldLevelEncryption.h:141
Aws::CloudFront::Model::FieldLevelEncryption::SetId
void SetId(const Aws::String &value)
Definition: FieldLevelEncryption.h:62
Aws::CloudFront::Model::FieldLevelEncryption::WithFieldLevelEncryptionConfig
FieldLevelEncryption & WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
Definition: FieldLevelEncryption.h:165
Aws::CloudFront::Model::FieldLevelEncryption::WithId
FieldLevelEncryption & WithId(const Aws::String &value)
Definition: FieldLevelEncryption.h:83
Aws::CloudFront::Model::FieldLevelEncryption::WithFieldLevelEncryptionConfig
FieldLevelEncryption & WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
Definition: FieldLevelEncryption.h:159
Aws::CloudFront::Model::FieldLevelEncryption::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: FieldLevelEncryption.h:118
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldLevelEncryption
Definition: FieldLevelEncryption.h:34
Aws::CloudFront::Model::FieldLevelEncryption::FieldLevelEncryption
FieldLevelEncryption(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryption::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: FieldLevelEncryption.h:113
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::FieldLevelEncryption::WithId
FieldLevelEncryption & WithId(Aws::String &&value)
Definition: FieldLevelEncryption.h:90
Aws::CloudFront::Model::FieldLevelEncryption::WithLastModifiedTime
FieldLevelEncryption & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: FieldLevelEncryption.h:123
CloudFront_EXPORTS.h
FieldLevelEncryptionConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryption::FieldLevelEncryption
FieldLevelEncryption()
Aws::CloudFront::Model::FieldLevelEncryptionConfig
Definition: FieldLevelEncryptionConfig.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::FieldLevelEncryption::SetId
void SetId(const char *value)
Definition: FieldLevelEncryption.h:76
Aws::CloudFront::Model::FieldLevelEncryption::SetFieldLevelEncryptionConfig
void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
Definition: FieldLevelEncryption.h:147
Aws::CloudFront::Model::FieldLevelEncryption::WithId
FieldLevelEncryption & WithId(const char *value)
Definition: FieldLevelEncryption.h:97
Aws::CloudFront::Model::FieldLevelEncryption::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::FieldLevelEncryption::IdHasBeenSet
bool IdHasBeenSet() const
Definition: FieldLevelEncryption.h:55