AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
SecurityConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/EncryptionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
30 public:
31 AWS_GLUE_API SecurityConfiguration() = default;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedTimeStamp() const { return m_createdTimeStamp; }
59 inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; }
60 template <typename CreatedTimeStampT = Aws::Utils::DateTime>
61 void SetCreatedTimeStamp(CreatedTimeStampT&& value) {
62 m_createdTimeStampHasBeenSet = true;
63 m_createdTimeStamp = std::forward<CreatedTimeStampT>(value);
64 }
65 template <typename CreatedTimeStampT = Aws::Utils::DateTime>
66 SecurityConfiguration& WithCreatedTimeStamp(CreatedTimeStampT&& value) {
67 SetCreatedTimeStamp(std::forward<CreatedTimeStampT>(value));
68 return *this;
69 }
71
73
76 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
77 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
78 template <typename EncryptionConfigurationT = EncryptionConfiguration>
79 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
80 m_encryptionConfigurationHasBeenSet = true;
81 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
82 }
83 template <typename EncryptionConfigurationT = EncryptionConfiguration>
84 SecurityConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
85 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_name;
91
92 Aws::Utils::DateTime m_createdTimeStamp{};
93
94 EncryptionConfiguration m_encryptionConfiguration;
95 bool m_nameHasBeenSet = false;
96 bool m_createdTimeStampHasBeenSet = false;
97 bool m_encryptionConfigurationHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Glue
102} // namespace Aws
SecurityConfiguration & WithCreatedTimeStamp(CreatedTimeStampT &&value)
AWS_GLUE_API SecurityConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API SecurityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
SecurityConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetCreatedTimeStamp(CreatedTimeStampT &&value)
AWS_GLUE_API SecurityConfiguration()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityConfiguration & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue