AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SecurityConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/EncryptionConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GLUE_API SecurityConfiguration() = default;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 SecurityConfiguration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = std::forward<CreatedTimeStampT>(value); }
62 template<typename CreatedTimeStampT = Aws::Utils::DateTime>
63 SecurityConfiguration& WithCreatedTimeStamp(CreatedTimeStampT&& value) { SetCreatedTimeStamp(std::forward<CreatedTimeStampT>(value)); return *this;}
65
67
70 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
71 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
72 template<typename EncryptionConfigurationT = EncryptionConfiguration>
73 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
74 template<typename EncryptionConfigurationT = EncryptionConfiguration>
75 SecurityConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 Aws::Utils::DateTime m_createdTimeStamp{};
83 bool m_createdTimeStampHasBeenSet = false;
84
85 EncryptionConfiguration m_encryptionConfiguration;
86 bool m_encryptionConfigurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Glue
91} // 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