AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldLevelEncryptionProfileSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cloudfront/model/EncryptionEntities.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
33 {
34 public:
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline FieldLevelEncryptionProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline FieldLevelEncryptionProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline FieldLevelEncryptionProfileSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
62 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
63 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
64 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline FieldLevelEncryptionProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline FieldLevelEncryptionProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline FieldLevelEncryptionProfileSummary& WithName(const char* value) { SetName(value); return *this;}
82
84
89 inline const EncryptionEntities& GetEncryptionEntities() const{ return m_encryptionEntities; }
90 inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; }
91 inline void SetEncryptionEntities(const EncryptionEntities& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = value; }
92 inline void SetEncryptionEntities(EncryptionEntities&& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = std::move(value); }
96
98
102 inline const Aws::String& GetComment() const{ return m_comment; }
103 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
104 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
105 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
106 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
107 inline FieldLevelEncryptionProfileSummary& WithComment(const Aws::String& value) { SetComment(value); return *this;}
108 inline FieldLevelEncryptionProfileSummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
109 inline FieldLevelEncryptionProfileSummary& WithComment(const char* value) { SetComment(value); return *this;}
111 private:
112
113 Aws::String m_id;
114 bool m_idHasBeenSet = false;
115
116 Aws::Utils::DateTime m_lastModifiedTime;
117 bool m_lastModifiedTimeHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 EncryptionEntities m_encryptionEntities;
123 bool m_encryptionEntitiesHasBeenSet = false;
124
125 Aws::String m_comment;
126 bool m_commentHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace CloudFront
131} // namespace Aws
FieldLevelEncryptionProfileSummary & WithName(const Aws::String &value)
FieldLevelEncryptionProfileSummary & WithComment(Aws::String &&value)
FieldLevelEncryptionProfileSummary & WithComment(const char *value)
FieldLevelEncryptionProfileSummary & WithEncryptionEntities(const EncryptionEntities &value)
FieldLevelEncryptionProfileSummary & WithComment(const Aws::String &value)
FieldLevelEncryptionProfileSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileSummary & WithId(Aws::String &&value)
FieldLevelEncryptionProfileSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
FieldLevelEncryptionProfileSummary & WithName(const char *value)
FieldLevelEncryptionProfileSummary & WithName(Aws::String &&value)
FieldLevelEncryptionProfileSummary & WithId(const char *value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileSummary & WithId(const Aws::String &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
FieldLevelEncryptionProfileSummary & WithEncryptionEntities(EncryptionEntities &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String