AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SseConfig.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Omics
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OMICS_API SseConfig() = default;
36 AWS_OMICS_API SseConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline EncryptionType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(EncryptionType value) { m_typeHasBeenSet = true; m_type = value; }
48 inline SseConfig& WithType(EncryptionType value) { SetType(value); return *this;}
50
52
55 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
56 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
57 template<typename KeyArnT = Aws::String>
58 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::forward<KeyArnT>(value); }
59 template<typename KeyArnT = Aws::String>
60 SseConfig& WithKeyArn(KeyArnT&& value) { SetKeyArn(std::forward<KeyArnT>(value)); return *this;}
62 private:
63
65 bool m_typeHasBeenSet = false;
66
67 Aws::String m_keyArn;
68 bool m_keyArnHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Omics
73} // namespace Aws
SseConfig & WithType(EncryptionType value)
Definition SseConfig.h:48
void SetType(EncryptionType value)
Definition SseConfig.h:47
const Aws::String & GetKeyArn() const
Definition SseConfig.h:55
AWS_OMICS_API SseConfig(Aws::Utils::Json::JsonView jsonValue)
SseConfig & WithKeyArn(KeyArnT &&value)
Definition SseConfig.h:60
AWS_OMICS_API SseConfig()=default
bool KeyArnHasBeenSet() const
Definition SseConfig.h:56
EncryptionType GetType() const
Definition SseConfig.h:45
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OMICS_API SseConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyArn(KeyArnT &&value)
Definition SseConfig.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue