AWS SDK for C++  1.9.103
AWS SDK for C++
FieldLevelEncryptionProfile.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 FieldLevelEncryptionProfile& WithId(const Aws::String& value) { SetId(value); return *this;}
84 
90  inline FieldLevelEncryptionProfile& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
91 
97  inline FieldLevelEncryptionProfile& 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 FieldLevelEncryptionProfile& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
124 
128  inline FieldLevelEncryptionProfile& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
129 
130 
135  inline const FieldLevelEncryptionProfileConfig& GetFieldLevelEncryptionProfileConfig() const{ return m_fieldLevelEncryptionProfileConfig; }
136 
141  inline bool FieldLevelEncryptionProfileConfigHasBeenSet() const { return m_fieldLevelEncryptionProfileConfigHasBeenSet; }
142 
147  inline void SetFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig& value) { m_fieldLevelEncryptionProfileConfigHasBeenSet = true; m_fieldLevelEncryptionProfileConfig = value; }
148 
153  inline void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig&& value) { m_fieldLevelEncryptionProfileConfigHasBeenSet = true; m_fieldLevelEncryptionProfileConfig = std::move(value); }
154 
159  inline FieldLevelEncryptionProfile& WithFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig& value) { SetFieldLevelEncryptionProfileConfig(value); return *this;}
160 
165  inline FieldLevelEncryptionProfile& WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig&& value) { SetFieldLevelEncryptionProfileConfig(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  FieldLevelEncryptionProfileConfig m_fieldLevelEncryptionProfileConfig;
176  bool m_fieldLevelEncryptionProfileConfigHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace CloudFront
181 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CloudFront::Model::FieldLevelEncryptionProfile::WithId
FieldLevelEncryptionProfile & WithId(const Aws::String &value)
Definition: FieldLevelEncryptionProfile.h:83
Aws::CloudFront::Model::FieldLevelEncryptionProfile::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::FieldLevelEncryptionProfile::WithLastModifiedTime
FieldLevelEncryptionProfile & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: FieldLevelEncryptionProfile.h:128
Aws::CloudFront::Model::FieldLevelEncryptionProfile::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: FieldLevelEncryptionProfile.h:103
Aws::CloudFront::Model::FieldLevelEncryptionProfile::IdHasBeenSet
bool IdHasBeenSet() const
Definition: FieldLevelEncryptionProfile.h:55
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig
Definition: FieldLevelEncryptionProfileConfig.h:33
DateTime.h
Aws::CloudFront::Model::FieldLevelEncryptionProfile::SetFieldLevelEncryptionProfileConfig
void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig &&value)
Definition: FieldLevelEncryptionProfile.h:153
Aws::CloudFront::Model::FieldLevelEncryptionProfile::FieldLevelEncryptionProfileConfigHasBeenSet
bool FieldLevelEncryptionProfileConfigHasBeenSet() const
Definition: FieldLevelEncryptionProfile.h:141
Aws::CloudFront::Model::FieldLevelEncryptionProfile::SetId
void SetId(const Aws::String &value)
Definition: FieldLevelEncryptionProfile.h:62
Aws::CloudFront::Model::FieldLevelEncryptionProfile::GetId
const Aws::String & GetId() const
Definition: FieldLevelEncryptionProfile.h:48
Aws::CloudFront::Model::FieldLevelEncryptionProfile::WithId
FieldLevelEncryptionProfile & WithId(const char *value)
Definition: FieldLevelEncryptionProfile.h:97
Aws::CloudFront::Model::FieldLevelEncryptionProfile::WithFieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfile & WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig &&value)
Definition: FieldLevelEncryptionProfile.h:165
Aws::CloudFront::Model::FieldLevelEncryptionProfile::WithFieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfile & WithFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig &value)
Definition: FieldLevelEncryptionProfile.h:159
Aws::CloudFront::Model::FieldLevelEncryptionProfile::WithId
FieldLevelEncryptionProfile & WithId(Aws::String &&value)
Definition: FieldLevelEncryptionProfile.h:90
Aws::CloudFront::Model::FieldLevelEncryptionProfile::SetId
void SetId(const char *value)
Definition: FieldLevelEncryptionProfile.h:76
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldLevelEncryptionProfile::operator=
FieldLevelEncryptionProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfile::SetFieldLevelEncryptionProfileConfig
void SetFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig &value)
Definition: FieldLevelEncryptionProfile.h:147
Aws::CloudFront::Model::FieldLevelEncryptionProfile::FieldLevelEncryptionProfile
FieldLevelEncryptionProfile()
Aws::CloudFront::Model::FieldLevelEncryptionProfile::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: FieldLevelEncryptionProfile.h:118
AWSString.h
Aws::CloudFront::Model::FieldLevelEncryptionProfile::WithLastModifiedTime
FieldLevelEncryptionProfile & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: FieldLevelEncryptionProfile.h:123
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::FieldLevelEncryptionProfile::GetFieldLevelEncryptionProfileConfig
const FieldLevelEncryptionProfileConfig & GetFieldLevelEncryptionProfileConfig() const
Definition: FieldLevelEncryptionProfile.h:135
CloudFront_EXPORTS.h
Aws::CloudFront::Model::FieldLevelEncryptionProfile
Definition: FieldLevelEncryptionProfile.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryptionProfile::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: FieldLevelEncryptionProfile.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::FieldLevelEncryptionProfile::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: FieldLevelEncryptionProfile.h:113
FieldLevelEncryptionProfileConfig.h
Aws::CloudFront::Model::FieldLevelEncryptionProfile::FieldLevelEncryptionProfile
FieldLevelEncryptionProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfile::SetId
void SetId(Aws::String &&value)
Definition: FieldLevelEncryptionProfile.h:69