AWS SDK for C++  1.9.14
AWS SDK for C++
FieldLevelEncryptionProfileSummary.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 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
55  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 
60  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 
65  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 
70  inline FieldLevelEncryptionProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
71 
75  inline FieldLevelEncryptionProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
80  inline FieldLevelEncryptionProfileSummary& WithId(const char* value) { SetId(value); return *this;}
81 
82 
87  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
88 
93  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
94 
99  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
100 
105  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
106 
111  inline FieldLevelEncryptionProfileSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
112 
117  inline FieldLevelEncryptionProfileSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
118 
119 
123  inline const Aws::String& GetName() const{ return m_name; }
124 
128  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
129 
133  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
134 
138  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
139 
143  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
144 
148  inline FieldLevelEncryptionProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
149 
153  inline FieldLevelEncryptionProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
154 
158  inline FieldLevelEncryptionProfileSummary& WithName(const char* value) { SetName(value); return *this;}
159 
160 
166  inline const EncryptionEntities& GetEncryptionEntities() const{ return m_encryptionEntities; }
167 
173  inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; }
174 
180  inline void SetEncryptionEntities(const EncryptionEntities& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = value; }
181 
187  inline void SetEncryptionEntities(EncryptionEntities&& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = std::move(value); }
188 
194  inline FieldLevelEncryptionProfileSummary& WithEncryptionEntities(const EncryptionEntities& value) { SetEncryptionEntities(value); return *this;}
195 
201  inline FieldLevelEncryptionProfileSummary& WithEncryptionEntities(EncryptionEntities&& value) { SetEncryptionEntities(std::move(value)); return *this;}
202 
203 
208  inline const Aws::String& GetComment() const{ return m_comment; }
209 
214  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
215 
220  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
221 
226  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
227 
232  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
233 
238  inline FieldLevelEncryptionProfileSummary& WithComment(const Aws::String& value) { SetComment(value); return *this;}
239 
244  inline FieldLevelEncryptionProfileSummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
245 
250  inline FieldLevelEncryptionProfileSummary& WithComment(const char* value) { SetComment(value); return *this;}
251 
252  private:
253 
254  Aws::String m_id;
255  bool m_idHasBeenSet;
256 
257  Aws::Utils::DateTime m_lastModifiedTime;
258  bool m_lastModifiedTimeHasBeenSet;
259 
260  Aws::String m_name;
261  bool m_nameHasBeenSet;
262 
263  EncryptionEntities m_encryptionEntities;
264  bool m_encryptionEntitiesHasBeenSet;
265 
266  Aws::String m_comment;
267  bool m_commentHasBeenSet;
268  };
269 
270 } // namespace Model
271 } // namespace CloudFront
272 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CloudFront::Model::EncryptionEntities
Definition: EncryptionEntities.h:33
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::GetEncryptionEntities
const EncryptionEntities & GetEncryptionEntities() const
Definition: FieldLevelEncryptionProfileSummary.h:166
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: FieldLevelEncryptionProfileSummary.h:93
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithLastModifiedTime
FieldLevelEncryptionProfileSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: FieldLevelEncryptionProfileSummary.h:117
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: FieldLevelEncryptionProfileSummary.h:105
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithName
FieldLevelEncryptionProfileSummary & WithName(Aws::String &&value)
Definition: FieldLevelEncryptionProfileSummary.h:153
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithLastModifiedTime
FieldLevelEncryptionProfileSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: FieldLevelEncryptionProfileSummary.h:111
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetId
void SetId(const char *value)
Definition: FieldLevelEncryptionProfileSummary.h:65
DateTime.h
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::EncryptionEntitiesHasBeenSet
bool EncryptionEntitiesHasBeenSet() const
Definition: FieldLevelEncryptionProfileSummary.h:173
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithName
FieldLevelEncryptionProfileSummary & WithName(const Aws::String &value)
Definition: FieldLevelEncryptionProfileSummary.h:148
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetId
void SetId(const Aws::String &value)
Definition: FieldLevelEncryptionProfileSummary.h:55
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::GetComment
const Aws::String & GetComment() const
Definition: FieldLevelEncryptionProfileSummary.h:208
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: FieldLevelEncryptionProfileSummary.h:99
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: FieldLevelEncryptionProfileSummary.h:128
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetId
void SetId(Aws::String &&value)
Definition: FieldLevelEncryptionProfileSummary.h:60
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithEncryptionEntities
FieldLevelEncryptionProfileSummary & WithEncryptionEntities(const EncryptionEntities &value)
Definition: FieldLevelEncryptionProfileSummary.h:194
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithId
FieldLevelEncryptionProfileSummary & WithId(const char *value)
Definition: FieldLevelEncryptionProfileSummary.h:80
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetName
void SetName(Aws::String &&value)
Definition: FieldLevelEncryptionProfileSummary.h:138
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetEncryptionEntities
void SetEncryptionEntities(const EncryptionEntities &value)
Definition: FieldLevelEncryptionProfileSummary.h:180
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetComment
void SetComment(Aws::String &&value)
Definition: FieldLevelEncryptionProfileSummary.h:226
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithComment
FieldLevelEncryptionProfileSummary & WithComment(const Aws::String &value)
Definition: FieldLevelEncryptionProfileSummary.h:238
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithEncryptionEntities
FieldLevelEncryptionProfileSummary & WithEncryptionEntities(EncryptionEntities &&value)
Definition: FieldLevelEncryptionProfileSummary.h:201
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithId
FieldLevelEncryptionProfileSummary & WithId(Aws::String &&value)
Definition: FieldLevelEncryptionProfileSummary.h:75
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetEncryptionEntities
void SetEncryptionEntities(EncryptionEntities &&value)
Definition: FieldLevelEncryptionProfileSummary.h:187
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary
Definition: FieldLevelEncryptionProfileSummary.h:33
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithComment
FieldLevelEncryptionProfileSummary & WithComment(Aws::String &&value)
Definition: FieldLevelEncryptionProfileSummary.h:244
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::GetName
const Aws::String & GetName() const
Definition: FieldLevelEncryptionProfileSummary.h:123
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetName
void SetName(const Aws::String &value)
Definition: FieldLevelEncryptionProfileSummary.h:133
CloudFront_EXPORTS.h
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::FieldLevelEncryptionProfileSummary
FieldLevelEncryptionProfileSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::FieldLevelEncryptionProfileSummary
FieldLevelEncryptionProfileSummary()
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: FieldLevelEncryptionProfileSummary.h:87
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithName
FieldLevelEncryptionProfileSummary & WithName(const char *value)
Definition: FieldLevelEncryptionProfileSummary.h:158
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::CommentHasBeenSet
bool CommentHasBeenSet() const
Definition: FieldLevelEncryptionProfileSummary.h:214
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithComment
FieldLevelEncryptionProfileSummary & WithComment(const char *value)
Definition: FieldLevelEncryptionProfileSummary.h:250
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetComment
void SetComment(const Aws::String &value)
Definition: FieldLevelEncryptionProfileSummary.h:220
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::GetId
const Aws::String & GetId() const
Definition: FieldLevelEncryptionProfileSummary.h:45
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: FieldLevelEncryptionProfileSummary.h:50
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetComment
void SetComment(const char *value)
Definition: FieldLevelEncryptionProfileSummary.h:232
EncryptionEntities.h
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::SetName
void SetName(const char *value)
Definition: FieldLevelEncryptionProfileSummary.h:143
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::operator=
FieldLevelEncryptionProfileSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::FieldLevelEncryptionProfileSummary::WithId
FieldLevelEncryptionProfileSummary & WithId(const Aws::String &value)
Definition: FieldLevelEncryptionProfileSummary.h:70