AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary() = default;
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 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 FieldLevelEncryptionProfileSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
60 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
61 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
62 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
63 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
64 FieldLevelEncryptionProfileSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 FieldLevelEncryptionProfileSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
85 inline const EncryptionEntities& GetEncryptionEntities() const { return m_encryptionEntities; }
86 inline bool EncryptionEntitiesHasBeenSet() const { return m_encryptionEntitiesHasBeenSet; }
87 template<typename EncryptionEntitiesT = EncryptionEntities>
88 void SetEncryptionEntities(EncryptionEntitiesT&& value) { m_encryptionEntitiesHasBeenSet = true; m_encryptionEntities = std::forward<EncryptionEntitiesT>(value); }
89 template<typename EncryptionEntitiesT = EncryptionEntities>
90 FieldLevelEncryptionProfileSummary& WithEncryptionEntities(EncryptionEntitiesT&& value) { SetEncryptionEntities(std::forward<EncryptionEntitiesT>(value)); return *this;}
92
94
98 inline const Aws::String& GetComment() const { return m_comment; }
99 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
100 template<typename CommentT = Aws::String>
101 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
102 template<typename CommentT = Aws::String>
103 FieldLevelEncryptionProfileSummary& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
105 private:
106
107 Aws::String m_id;
108 bool m_idHasBeenSet = false;
109
110 Aws::Utils::DateTime m_lastModifiedTime{};
111 bool m_lastModifiedTimeHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 EncryptionEntities m_encryptionEntities;
117 bool m_encryptionEntitiesHasBeenSet = false;
118
119 Aws::String m_comment;
120 bool m_commentHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace CloudFront
125} // namespace Aws
FieldLevelEncryptionProfileSummary & WithComment(CommentT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary()=default
FieldLevelEncryptionProfileSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FieldLevelEncryptionProfileSummary & WithEncryptionEntities(EncryptionEntitiesT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfileSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String