AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FieldLevelEncryptionProfile.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/FieldLevelEncryptionProfileConfig.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
34 {
35 public:
36 AWS_CLOUDFRONT_API FieldLevelEncryptionProfile() = default;
37 AWS_CLOUDFRONT_API FieldLevelEncryptionProfile(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 FieldLevelEncryptionProfile& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
62 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
63 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
64 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
65 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
66 FieldLevelEncryptionProfile& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
68
70
74 inline const FieldLevelEncryptionProfileConfig& GetFieldLevelEncryptionProfileConfig() const { return m_fieldLevelEncryptionProfileConfig; }
75 inline bool FieldLevelEncryptionProfileConfigHasBeenSet() const { return m_fieldLevelEncryptionProfileConfigHasBeenSet; }
76 template<typename FieldLevelEncryptionProfileConfigT = FieldLevelEncryptionProfileConfig>
77 void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT&& value) { m_fieldLevelEncryptionProfileConfigHasBeenSet = true; m_fieldLevelEncryptionProfileConfig = std::forward<FieldLevelEncryptionProfileConfigT>(value); }
78 template<typename FieldLevelEncryptionProfileConfigT = FieldLevelEncryptionProfileConfig>
79 FieldLevelEncryptionProfile& WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT&& value) { SetFieldLevelEncryptionProfileConfig(std::forward<FieldLevelEncryptionProfileConfigT>(value)); return *this;}
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::Utils::DateTime m_lastModifiedTime{};
87 bool m_lastModifiedTimeHasBeenSet = false;
88
89 FieldLevelEncryptionProfileConfig m_fieldLevelEncryptionProfileConfig;
90 bool m_fieldLevelEncryptionProfileConfigHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CloudFront
95} // namespace Aws
const FieldLevelEncryptionProfileConfig & GetFieldLevelEncryptionProfileConfig() const
FieldLevelEncryptionProfile & WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfile()=default
FieldLevelEncryptionProfile & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API FieldLevelEncryptionProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfigT &&value)
AWS_CLOUDFRONT_API FieldLevelEncryptionProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String